From f12db16ab017d13f01b826318878993c17c81e0b Mon Sep 17 00:00:00 2001 From: Lenheart <947330670@qq.com> Date: Sun, 21 Dec 2025 00:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B4=AF=E8=AE=A1=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E5=A5=96=E5=8A=B1=20=E9=98=B6=E6=AE=B5=E6=80=A7BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Project/CumulativeReward/CumulativeReward.nut | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Project/CumulativeReward/CumulativeReward.nut b/Project/CumulativeReward/CumulativeReward.nut index 07255ba..d0b838f 100644 --- a/Project/CumulativeReward/CumulativeReward.nut +++ b/Project/CumulativeReward/CumulativeReward.nut @@ -113,8 +113,8 @@ class CumulativeRewardC extends LenheartNewUI_Windows { local Arr = Jso.info; NextRewardItem = Arr[0]; CurrentStage = Arr[1]; - if (CurrentStage >= 3) { - CurrentStage = 3; + if (CurrentStage >= 4) { + CurrentStage = 4; AllFinish = true; } CurrentStageTime = Arr[2]; @@ -160,13 +160,14 @@ class CumulativeRewardC extends LenheartNewUI_Windows { DrawItemBase(X + 6, Y + 6, NextRewardItem, 1); //绘制盖子 Img1.DrawPng(19, X, Y); + //绘制阶段文字 - Img1.DrawExPng(25 + CurrentStage, X + 46, Y + 3, 0, sq_RGBA(255, 255, 255, 250), 0.85, 0.85); + Img1.DrawExPng(25 + (CurrentStage >= 4 ? 3 : CurrentStage), X + 46, Y + 3, 0, sq_RGBA(255, 255, 255, 250), 0.85, 0.85); if (IsOpen) { if (CurrentStage != null) { - local StageText = "累计在线得好礼 (" + (CurrentStage + 1) + "/4 阶段)"; + local StageText = "累计在线得好礼 (" + ((CurrentStage >= 4 ? 3 : CurrentStage) + 1) + "/4 阶段)"; L_sq_DrawCode(StageText, X + 6, Y + 42, sq_RGBA(255, 177, 0, 255), 1, 1); if (AllFinish) { local Str = "今天的累计在线活动已完成!";