Эх сурвалжийг харах

提交对应的周任务开宝箱问题

SCFC 11 сар өмнө
parent
commit
7799c30e7b

+ 1 - 1
script/module/treasurechest/TreasureChestLogic.lua

@@ -413,7 +413,7 @@ function TreasureChestLogic_Open(human, nBoxType, nBoxNum)
     TriggerLogic.PublishEvent(TriggerDefine.EVENT_TYPE_OPENBOX, human.db._id, nBoxNum,nBoxType)
     print("TreasureChestLogic..当前已经进入商业活动注册事件",nBoxType)
     --周任务开启宝箱
-    WeekTaskLogic.recordWeekTaskFinishCnt(human, WeekTaskLogic.WEEK_TASK_ID_5, 1)
+    WeekTaskLogic.recordWeekTaskFinishCnt(human, WeekTaskLogic.WEEK_TASK_ID_5, nBoxNum)
     TreasureChestLogic_Query(human)
     TreasureChestLogic_GetAllBoxNum(human)
 end