Commit 5eb0df78 authored by gg123gg's avatar gg123gg Committed by GitHub

fix

parent 788ab18f
......@@ -111,7 +111,7 @@ function c12026001.drop2(e,tp,eg,ep,ev,re,r,rp)
e:Reset()
end
function c12026001.xyzfilter(c,e,tp,xyzc)
return c:IsSetCard(0xfba) and c:IsType(TYPE_XYZ) xyzc:IsCanBeXyzMaterial(c)
return c:IsSetCard(0xfba) and c:IsType(TYPE_XYZ) and xyzc:IsCanBeXyzMaterial(c)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false)
end
function c12026001.xyztg(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -197,4 +197,4 @@ end
function c12026001.valcheck(e,c)
if not c:GetMaterial():IsExists(c12026001.matfilter,1,nil) then return end
c:RegisterFlagEffect(12026001,RESET_EVENT+0x4fe0000+RESET_PHASE+PHASE_END,0,1)
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