Commit 9c012cbd authored by 未闻皂名's avatar 未闻皂名

2025/10/27 bug修复

parent 634866c1
Pipeline #41297 passed with stages
in 8 minutes and 13 seconds
......@@ -100,13 +100,16 @@ function RushDuel.CreatePlayerTargetGlobalEffect(code, value)
return e1
end
-- 创建效果: 影响全场的全局效果
function RushDuel.CreateFieldGlobalEffect(is_continuous, code, operation)
function RushDuel.CreateFieldGlobalEffect(is_continuous, code, operation, limit)
local e1 = Effect.GlobalEffect()
if is_continuous then
e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
else
e1:SetType(EFFECT_TYPE_FIELD)
end
if limit then
e1:SetCountLimit(limit)
end
e1:SetCode(code)
e1:SetOperation(operation)
Duel.RegisterEffect(e1, 0)
......
......@@ -90,7 +90,7 @@ function RushDuel.InitRule()
-- 结束阶段重置计数
RushDuel.CreateFieldGlobalEffect(true, EVENT_PHASE + PHASE_END, function(e, tp, eg, ep, ev, re, r, rp)
RushDuel.ActivateCodes = {{}, {}}
end)
end, 1)
-- 极大怪兽
RushDuel.InitMaximum()
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment