【战斗】========被动183修改

dev_chengFeng
wangzhenxing 2022-08-03 16:20:45 +08:00
parent aceb295e0d
commit 614239f7ce
1 changed files with 11 additions and 1 deletions

View File

@ -3843,7 +3843,17 @@ local passivityList = {
BattleUtil.RandomControl(1, ControlType.NoHeal, role, buff.target, buff.duration)
end
end
role.Event:AddEvent(BattleEventName.BuffCaster, onBuffCaster,nil,nil,role)
local onSkillCast = function()
role.Event:AddEvent(BattleEventName.BuffCaster, onBuffCaster,nil,nil,role)
end
role.Event:AddEvent(BattleEventName.SkillCast,onSkillCast,nil,nil,role)
local onSkillCastEnd = function()
role.Event:RemoveEvent(BattleEventName.BuffCaster, onBuffCaster,nil,nil,role)
end
role.Event:AddEvent(BattleEventName.SkillCastEnd,onSkillCastEnd,nil,nil,role)
end,
-- [a]状态延长[b]回合