【战斗】=======被动37修改

dev_chengFeng
wangzhenxing 2021-09-17 17:07:57 +08:00
parent 01e446fed3
commit d5ce7b7f84
1 changed files with 7 additions and 4 deletions

View File

@ -692,14 +692,17 @@ local passivityList = {
end)
end,
--进入战斗[a]秒后,免疫控制效果,持续[b]秒
--a[int],b[int]
--进入战斗[a]秒后,免疫控制效果,持续[b]秒,免疫类型[c](c 不填默认为1 免疫控制)
--a[int],b[int],c[int]
[37] = function(role, args)
local f1 = args[1]
local f2 = args[2]
local type=1
if args[3] then
type=args[3]
end
BattleLogic.WaitForTrigger(f1, function ()
role:AddBuff(Buff.Create(role, BuffName.Immune, f2, 1))
role:AddBuff(Buff.Create(role, BuffName.Immune, f2,type))
end)
end,