Commit f79b8f58 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12008030.lua

parent a660587f
......@@ -50,7 +50,7 @@ function c12008030.spfilter1(c,e,tp)
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
end
function c12008030.spfilter2(c,e,tp,mc,level)
return c:IsType(TYPE_XYZ) and c:GetRank==level and mc:IsCanBeXyzMaterial(c)
return c:IsType(TYPE_XYZ) and c:GetRank()==level and mc:IsCanBeXyzMaterial(c)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0
end
function c12008030.sptg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......@@ -99,4 +99,4 @@ function c12008030.operation(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()~=0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
end
\ No newline at end of file
end
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