Commit 453cc977 authored by 未闻皂名's avatar 未闻皂名

2023/2/1 双重解放调整

parent 88801c57
Pipeline #19876 passed with stages
in 5 minutes and 8 seconds
......@@ -282,11 +282,13 @@ function RushDuel.CreateAdvanceCheck(card, filter, count, flag)
e1:SetValue(function(e, c)
local mg = c:GetMaterial()
local ct = math.min(count, mg:GetCount())
if ct > 0 and mg:IsExists(filter, ct, nil, e) then
e:SetLabel(flag)
else
e:SetLabel(0)
local label = 0
if c:IsLevelBelow(6) and count == 2 then
-- 当前等级小于解放要求
elseif ct > 0 and mg:IsExists(filter, ct, nil, e) then
label = flag
end
e:SetLabel(label)
end)
card:RegisterEffect(e1)
local e2 = Effect.CreateEffect(card)
......
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