From 83b1d46e2aa37350984d87dc5033832f22b73266 Mon Sep 17 00:00:00 2001 From: JieLing Date: Mon, 28 Sep 2020 18:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8B=87=E5=86=A0=E4=B8=89=E5=86=9B=E7=B4=AF?= =?UTF-8?q?=E8=AE=A1=E5=85=85=E5=80=BC=E9=A2=86=E5=8F=96=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/ActivityGift/ActivityGiftManager.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua b/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua index e1e673a92e..baa97bbdf8 100644 --- a/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua @@ -484,13 +484,14 @@ end -- 检测进度 function this.CheckMoneyProgress(v) - if v.activityId == ActivityTypeDef.FirstRecharge - or v.activityId == ActivityTypeDef.LuckyCat - or v.activityId == ActivityTypeDef.DailyRecharge + local type = ConfigManager.GetConfigData(ConfigName.GlobalActivity,v.activityId).Type + if type == ActivityTypeDef.FirstRecharge + or type == ActivityTypeDef.LuckyCat + or type == ActivityTypeDef.DailyRecharge -- or v.activityId == ActivityTypeDef.ContinuityRecharge - or v.activityId == ActivityTypeDef.AccumulativeRechargeExper - or v.activityId == ActivityTypeDef.pozhenzhuxian_recharge - or v.activityId == ActivityTypeDef.FindFairyCeremony then + or type == ActivityTypeDef.AccumulativeRechargeExper + or type == ActivityTypeDef.DynamicAct_recharge + or type == ActivityTypeDef.FindFairyCeremony then for n, m in ipairs(v.mission) do m.progress = m.progress / 1000 @@ -540,6 +541,7 @@ function this.RefreshActivityRedPoint() CheckRedPointStatus(RedPointType.Expert_Talisman) CheckRedPointStatus(RedPointType.Expert_SoulPrint) CheckRedPointStatus(RedPointType.Expert_AccumulativeRecharge) + CheckRedPointStatus(RedPointType.DynamicActRecharge) CheckRedPointStatus(RedPointType.CourtesyDress_SevenDay) CheckRedPointStatus(RedPointType.LuckyCat_GetReward) CheckRedPointStatus(RedPointType.Expert_LuckyTurn) @@ -553,7 +555,7 @@ function this.RefreshActivityRedPoint() CheckRedPointStatus(RedPointType.FindFairy_OneView) CheckRedPointStatus(RedPointType.FindFairy_ThreeView) CheckRedPointStatus(RedPointType.FindFairy_FourView) - CheckRedPointStatus(RedPointType.pozhenzhuxianTask) + CheckRedPointStatus(RedPointType.DynamicActTask) CheckRedPointStatus(RedPointType.QinglongSerectTreasure) end