[战斗]===========合并local修改的观音追击导致报错
parent
ab355be37a
commit
7e80c71111
|
@ -6676,7 +6676,7 @@ local passivityList = {
|
|||
local f2=args[2]
|
||||
local onRoleHit = function(deadRole)
|
||||
BattleLogic.WaitForTrigger(BattleLogic.GameDeltaTime, function ()
|
||||
if deadRole.camp~=role.camp then
|
||||
if deadRole.camp~=role.camp and not role:IsDead() then
|
||||
role:InsertExtraSkill(f1,f2)
|
||||
end
|
||||
end)
|
||||
|
|
|
@ -131,9 +131,11 @@ function this.CheckTurnRound()
|
|||
if this.TurnRoundFunc then
|
||||
BattleLogic.WaitForTrigger(0.3, function()
|
||||
-- 清除数量限制
|
||||
this.CurSkillCount = 0
|
||||
this.TurnRoundFunc()
|
||||
this.TurnRoundFunc = nil
|
||||
if this.TurnRoundFunc then
|
||||
this.CurSkillCount = 0
|
||||
this.TurnRoundFunc()
|
||||
this.TurnRoundFunc = nil
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue