Parcourir la source

处理恶魔之塔层数满足条件后,秘宝等系统没法立即开启问题

gitxsm il y a 2 mois
Parent
commit
928f703cc7

+ 6 - 4
script/module/chengjiu/ChengjiuLogic.lua

@@ -344,10 +344,12 @@ function onCallback(human,taskType,cnt)
 
             human.db.chengjiu.task = human.db.chengjiu.task or {}
             human.db.chengjiu.task[k] = CJ_TASK_STATE_1
-            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2001)
-            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2002)
-            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2004)
-            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2031)
+            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2001, true)
+            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2002, true)
+
+            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2006, true)
+            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2021, true)
+            RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_2031, true)
             
             local msgRet = Msg.gc.GC_CHENGJIU_SET
             msgRet.taskID = k

+ 1 - 1
script/module/roleSystem/RoleSystemDefine.lua

@@ -82,7 +82,7 @@ ROLE_SYS_ID_1401 = 1401 -- 天梯
 ROLE_SYS_ID_2001 = 2001 -- 宝具-封印之章
 ROLE_SYS_ID_2002 = 2002 -- 宝具-守护之龙
 ROLE_SYS_ID_2003 = 2003 -- 宝具-守护之龙洗练
-ROLE_SYS_ID_2004 = 2004 --秘宝
+
 
 ROLE_SYS_ID_3001 = 3001 -- 福利
 ROLE_SYS_ID_3101 = 3101 -- 首充