【战斗】========被动183修改
parent
aceb295e0d
commit
614239f7ce
|
@ -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]回合
|
||||
|
|
Loading…
Reference in New Issue