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