【战斗】======257被动修改
parent
16c16dda5f
commit
4c92d13393
|
|
@ -5684,6 +5684,7 @@ local passivityList = {
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if skill and skill.owner==role and (skill.type == BattleSkillType.Special or skill.type==BattleSkillType.Extra) and target:IsDead() and not BattleUtil.CheckIsNoDead(target) then
|
if skill and skill.owner==role and (skill.type == BattleSkillType.Special or skill.type==BattleSkillType.Extra) and target:IsDead() and not BattleUtil.CheckIsNoDead(target) then
|
||||||
|
BattleLogic.WaitForTrigger(BattleLogic.GameDeltaTime,function()
|
||||||
local dmg= floor(BattleUtil.ErrorCorrection((damage-finalDmg)*f1))
|
local dmg= floor(BattleUtil.ErrorCorrection((damage-finalDmg)*f1))
|
||||||
local list = RoleManager.Query(function(v) return v.camp ~= role.camp end)
|
local list = RoleManager.Query(function(v) return v.camp ~= role.camp end)
|
||||||
list = BattleUtil.SortByHpFactor(list,0)
|
list = BattleUtil.SortByHpFactor(list,0)
|
||||||
|
|
@ -5701,6 +5702,7 @@ local passivityList = {
|
||||||
curNum=curNum+num
|
curNum=curNum+num
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
role.Event:AddEvent(BattleEventName.RoleHit, onRoleHit,nil,nil,role)
|
role.Event:AddEvent(BattleEventName.RoleHit, onRoleHit,nil,nil,role)
|
||||||
|
|
@ -10163,6 +10165,7 @@ local passivityList = {
|
||||||
end
|
end
|
||||||
|
|
||||||
role.Event:AddEvent(BattleEventName.BuffCaster, OnBuffStart,nil,nil,role)
|
role.Event:AddEvent(BattleEventName.BuffCaster, OnBuffStart,nil,nil,role)
|
||||||
end
|
end,
|
||||||
|
|
||||||
}
|
}
|
||||||
return passivityList
|
return passivityList
|
||||||
Loading…
Reference in New Issue