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