[战斗]=======================效果162 提交
parent
dca95dff13
commit
56736a3aca
|
@ -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
|
Loading…
Reference in New Issue