【效果】添加119效果
parent
65b5cff36d
commit
6c388f5d94
|
|
@ -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,
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue