【战斗】修复战斗报错

dev_chengFeng
gaoxin 2021-08-31 13:44:13 +08:00
parent ba96d80208
commit c67c9fb93b
1 changed files with 1 additions and 1 deletions

View File

@ -5749,7 +5749,7 @@ local passivityList = {
if BattleLogic.GetCurRound() ~= round then if BattleLogic.GetCurRound() ~= round then
return return
end end
if defRole and defRole.camp~=role.camp and skill.owner==role and (skill.type==BattleSkillType.Special or skill.type==BattleSkillType.Extra) then if defRole and defRole.camp~=role.camp and skill and skill.owner==role and (skill.type==BattleSkillType.Special or skill.type==BattleSkillType.Extra) then
BattleUtil.RandomAction(pro, function() BattleUtil.RandomAction(pro, function()
BattleLogic.BuffMgr:ClearBuff(defRole, function(buff) BattleLogic.BuffMgr:ClearBuff(defRole, function(buff)
--之前写的 buff.immuneType == 2 不知道为什么清除免疫燃烧 改成==1 了 by:王振兴 2021/06/09 --之前写的 buff.immuneType == 2 不知道为什么清除免疫燃烧 改成==1 了 by:王振兴 2021/06/09