[战斗]=======================效果162 提交

dev_one_discount
wangzhenxing 2023-09-14 16:20:43 +08:00
parent dca95dff13
commit 56736a3aca
1 changed files with 14 additions and 0 deletions

View File

@ -3187,6 +3187,20 @@ local effectList = {
end)
end,
--如果目标生命百分比小于等于[a]%,直接斩杀剩余所有血量(御甲无效)
--a[float]
[162] = function(caster, target, args, interval, skill)
local prop = args[1]
local isBoss=BattleUtil.CheckIsBoss(target)
if isBoss then
return
end
local curProp=BattleUtil.GetHPPencent(target)
if curProp>prop then
return
end
BattleUtil.Seckill(skill,caster,target)
end,
}
return effectList