【战斗】=======被动37修改
parent
01e446fed3
commit
d5ce7b7f84
|
@ -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,
|
||||
|
||||
|
|
Loading…
Reference in New Issue