【效果】添加119效果

dev_chengFeng
wangzhenxing 2020-11-02 16:21:06 +09:00
parent 65b5cff36d
commit 6c388f5d94
1 changed files with 10 additions and 0 deletions

View File

@ -2271,6 +2271,16 @@ local effectList = {
BattleUtil.FinalDamage(skill, caster, target, damage, nil, 0, nil, true)
end)
end,
--瞬间恢复目标[a]*[b]%生命
--a[属性],b[float]
[119] = function(caster, target, args, interval, skill)
local pro1 = args[1]
local f1 = args[2]
BattleLogic.WaitForTrigger(interval, function ()
local val = floor(BattleUtil.FP_Mul(target:GetRoleData(BattlePropList[pro1]), f1))
BattleUtil.CalTreat(caster, target, val)
end)
end,