【战斗】=========技能147修改
parent
a1c038b5c0
commit
2b06b98c0b
|
|
@ -2898,8 +2898,17 @@ local effectList = {
|
||||||
local round=args[3]
|
local round=args[3]
|
||||||
target.isRealDead=true
|
target.isRealDead=true
|
||||||
target:SetRelive(pro, caster)
|
target:SetRelive(pro, caster)
|
||||||
BattleUtil.CalRage(caster,target,num,CountTypeName.Add)
|
if num then
|
||||||
target:AddBuff(Buff.Create(caster, BuffName.Shield,round, ShieldTypeName.AllReduce, 0, 0))
|
BattleUtil.CalRage(caster,target,num,CountTypeName.Add)
|
||||||
|
end
|
||||||
|
|
||||||
|
if round then
|
||||||
|
BattleLogic.WaitForTrigger(BattleLogic.GameDeltaTime, function () --延迟一帧移除事件,防止触发帧和结束帧为同一帧时,被动未移除
|
||||||
|
target:AddBuff(Buff.Create(caster, BuffName.Shield,round, ShieldTypeName.AllReduce, 0, 0))
|
||||||
|
end)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
end,
|
end,
|
||||||
--造成[a]%的[b]伤害,造成伤害的[c]%用于医疗生命值最低的队友。(攻击目标为多人治疗不重复)
|
--造成[a]%的[b]伤害,造成伤害的[c]%用于医疗生命值最低的队友。(攻击目标为多人治疗不重复)
|
||||||
--a[float],b[伤害类型],c[float]
|
--a[float],b[伤害类型],c[float]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue