Commit ea3f3ec0 authored by REIKAI's avatar REIKAI 💬

bug fix

parent 1d50502f
Pipeline #20362 passed with stages
in 19 minutes and 55 seconds
......@@ -40,7 +40,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
function cm.linkcheck(c)
return true--not c:IsLinkType(TYPE_LINK) and c:IsSetCard(0xccb)
return not c:IsLinkType(TYPE_LINK) and c:IsSetCard(0xccb)
end
function cm.CheckGoal(sg,tp,lc,gf,lmat)
return sg:GetCount()<=8 and sg:GetCount()>2
......@@ -70,7 +70,7 @@ function cm.LCondition(f,minc,maxc,gf)
if not cm.ConditionFilter(lmat,f,c,e) then return false end
mg:AddCard(lmat)
end
local fg=aux.GetMustMaterialGroup(tp,EFFECT_MUST_BE_LMATERIAL)
local fg=Duel.GetMustMaterialGroup(tp,EFFECT_MUST_BE_LMATERIAL)
if fg:IsExists(aux.MustMaterialCounterFilter,1,nil,mg) then return false end
Duel.SetSelectedCard(fg)
return mg:CheckSubGroup(cm.CheckGoal,minc,maxc,tp,c,gf,lmat)
......@@ -95,7 +95,7 @@ function cm.LinkTarget(f,minc,maxc,gf)
if not cm.ConditionFilter(lmat,f,c,e) then return false end
mg:AddCard(lmat)
end
local fg=aux.GetMustMaterialGroup(tp,EFFECT_MUST_BE_LMATERIAL)
local fg=Duel.GetMustMaterialGroup(tp,EFFECT_MUST_BE_LMATERIAL)
Duel.SetSelectedCard(fg)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_LMATERIAL)
local cancel=Duel.IsSummonCancelable()
......
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