【战斗】=========技能147修改

dev_chengFeng
wangzhenxing 2023-04-19 15:20:19 +08:00
parent a1c038b5c0
commit 2b06b98c0b
1 changed files with 11 additions and 2 deletions

View File

@ -2898,8 +2898,17 @@ local effectList = {
local round=args[3]
target.isRealDead=true
target:SetRelive(pro, caster)
BattleUtil.CalRage(caster,target,num,CountTypeName.Add)
target:AddBuff(Buff.Create(caster, BuffName.Shield,round, ShieldTypeName.AllReduce, 0, 0))
if num then
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,
--造成[a]%的[b]伤害,造成伤害的[c]%用于医疗生命值最低的队友。(攻击目标为多人治疗不重复)
--a[float],b[伤害类型],c[float]