【战斗】===========新增124效果 造成目标[a]*[b]%的直接伤害
parent
49a0424ba0
commit
503be01f18
|
|
@ -2328,6 +2328,17 @@ local effectList = {
|
||||||
end
|
end
|
||||||
BattleUtil.SeckillHP(skill,caster,target,pro)
|
BattleUtil.SeckillHP(skill,caster,target,pro)
|
||||||
end,
|
end,
|
||||||
|
-- 造成目标[a]*[b]%的直接伤害(不会被分摊机制分摊)
|
||||||
|
-- a[属性],b[float]
|
||||||
|
[124] = function(caster, target, args, interval, skill)
|
||||||
|
local pro = args[1]
|
||||||
|
local f1 = args[2]
|
||||||
|
|
||||||
|
BattleLogic.WaitForTrigger(interval, function ()
|
||||||
|
local damage = BattleUtil.ErrorCorrection(f1 * target:GetRoleData(BattlePropList[pro]))
|
||||||
|
BattleUtil.FinalDamage(skill, caster, target, damage, nil, 0, nil, true)
|
||||||
|
end)
|
||||||
|
end,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue