Commit 124a9674 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent e045f12e
Pipeline #29683 passed with stages
in 37 minutes and 12 seconds
......@@ -51,7 +51,7 @@ function cm.matfilter1(c)
return c:IsFusionType(TYPE_FUSION) and c:IsFusionAttribute(ATTRIBUTE_EARTH) and c:IsRace(RACE_PLANT)
end
function cm.matfilter2(c,fc,sub,mg,sg)
return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:FilterCount(aux.TRUE,aux.AND(c,cm.matfilter1)==0 or sg:IsExists(Card.IsFusionCode,1,aux.AND(c,cm.matfilter1),c:GetFusionCode()))
return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:IsExists(Card.IsFusionCode,1,aux.AND(c,cm.matfilter1),c:GetFusionCode()))
end
function cm.actlim(e,re,tp)
if not re:IsActivated() or re:GetCode()~=EVENT_SUMMON_SUCCESS
......
......@@ -40,7 +40,7 @@ function cm.matfilter1(c)
return c:IsFusionCode(18586000,18587000)
end
function cm.matfilter2(c,fc,sub,mg,sg)
return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:FilterCount(aux.TRUE,c)==0 or sg:IsExists(Card.IsFusionCode,1,c,c:GetFusionCode()))
return (not c:IsType(TYPE_TOKEN)) and (not sg or sg:IsExists(Card.IsFusionCode,1,aux.AND(c,cm.matfilter1),c:GetFusionCode()))
end
function cm.chaincon(e)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
......
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