【战斗】=======被动37修改
parent
01e446fed3
commit
d5ce7b7f84
|
@ -692,14 +692,17 @@ local passivityList = {
|
||||||
end)
|
end)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
--进入战斗[a]秒后,免疫控制效果,持续[b]秒
|
--进入战斗[a]秒后,免疫控制效果,持续[b]秒,免疫类型[c](c 不填默认为1 免疫控制)
|
||||||
--a[int],b[int]
|
--a[int],b[int],c[int]
|
||||||
[37] = function(role, args)
|
[37] = function(role, args)
|
||||||
local f1 = args[1]
|
local f1 = args[1]
|
||||||
local f2 = args[2]
|
local f2 = args[2]
|
||||||
|
local type=1
|
||||||
|
if args[3] then
|
||||||
|
type=args[3]
|
||||||
|
end
|
||||||
BattleLogic.WaitForTrigger(f1, function ()
|
BattleLogic.WaitForTrigger(f1, function ()
|
||||||
role:AddBuff(Buff.Create(role, BuffName.Immune, f2, 1))
|
role:AddBuff(Buff.Create(role, BuffName.Immune, f2,type))
|
||||||
end)
|
end)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue