gitxsm 6 месяцев назад
Родитель
Сommit
c1adc68d90

+ 1 - 1
script/module/lostTemple/lostTempleCombatLogic.lua

@@ -314,7 +314,7 @@ function onFightEnd(human, result, combatType, cbParam, combatInfo, param)
             --通关判断
             if LostTempleLogic.IsPass(human) then
                 YunYingLogic.onCallBack(human, "lostTempleCombat", 1)
-                isDot(human)
+                RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_1208)
             end
         end
     else

+ 2 - 2
script/module/lostTemple/lostTempleLogic.lua

@@ -724,7 +724,7 @@ end
 --通关
 function IsPass(human)
     -- initDB(human)
-    if not human.lostTemple then return end
+    if not human.lostTemple then return false end
 
     if human.lostTemple.oneClickSweep then
         return true
@@ -1407,5 +1407,5 @@ function LostTemple_OneClickSweep_Do(human)
 
     LostTemple_OneClickSweep_Query(human)
 
-    LostTempleCombatLogic.isDot(human)
+    RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_1208)
 end