Commit 5c96b827 authored by 2924713558's avatar 2924713558 Committed by GitHub

Update c12037020.lua

parent 133d13ca
......@@ -14,13 +14,13 @@ function c12037020.initial_effect(c)
end
--
function c12037020.tfilter1_1(c,e,tp)
local rk=c:GetRank()
return rk>0 and c:IsFaceup()
return c:IsType(TYPE_XYZ) and c:IsFaceup()
and Duel.IsExistingMatchingCard(c12037020.tfilter1_2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
end
function c12037020.tfilter1_2(c,e,tp,mc)
return (c:IsRace(RACE_WINDBEAST) or c:IsSetCard(0x2fb5))
and c:IsType(TYPE_XYZ)
and mc:IsCanBeXyzMaterial(c)
and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false)
......@@ -33,6 +33,7 @@ function c12037020.tfilter1_3(c,e,tp)
end
function c12037020.tfilter1_4(c,e,tp,mc)
return c:IsSetCard(0x2fb5)
and c:IsType(TYPE_XYZ)
and mc:IsCanBeXyzMaterial(c)
and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false)
......
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