From 4e8f5bd9a95611dae9577a36380beba574a4e696 Mon Sep 17 00:00:00 2001 From: TJH Date: Wed, 24 Dec 2025 14:51:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=89=E8=90=BD=E4=B8=8B=E7=9A=84=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=9D=97=20frame=E5=92=8C=E6=95=B0=E6=8D=AE=E4=B8=8D?= =?UTF-8?q?=E7=AC=A6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/scripts/game/Roller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/Game/scripts/game/Roller.ts b/assets/Game/scripts/game/Roller.ts index e69304a..c84eff1 100644 --- a/assets/Game/scripts/game/Roller.ts +++ b/assets/Game/scripts/game/Roller.ts @@ -786,7 +786,7 @@ export class Roller extends BaseRoller { let iconFramType = 0 if (CroSymbols) { for (let key in CroSymbols) { - if (CroSymbols[key].PosFirst / 5 == this._rollerId) { + if (Math.floor(CroSymbols[key].PosFirst / 5) == this._rollerId) { if (CroSymbols[key].PosFirst % 5 == i) { iconFramType = CroSymbols[key].Type } @@ -794,6 +794,7 @@ export class Roller extends BaseRoller { } } + icon.getComponent(Icon).initIcon(iconIndex, iconHeight, iconKey, iconFramType, this._rollerId); let y = topY.y + (((fallDownNum - nowDownNum) - 0.5 * (iconHeight - iconHeight > 1 ? 1 : 0)) * this.iconHeight);