Commit 9b69b8b0 authored by Uytrewq's avatar Uytrewq Committed by GitHub

fix Metaltron XII, the True Dracombatant, Egyptian God Slime, Qlife's End (#2360)

parent 648befc2
...@@ -53,7 +53,7 @@ function c20447641.indtg(e,c) ...@@ -53,7 +53,7 @@ function c20447641.indtg(e,c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSetCard(0xaa) return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSetCard(0xaa)
end end
function c20447641.ttfilter(c) function c20447641.ttfilter(c)
return c:GetOriginalCode()==20447641 and c:IsReleasable() and c:GetFlagEffect(20447641)~=0 return c:GetOriginalCode()==20447641 and c:IsReleasable(REASON_SUMMON) and c:GetFlagEffect(20447641)~=0
end end
function c20447641.ttcon(e,c,minc) function c20447641.ttcon(e,c,minc)
if c==nil then return true end if c==nil then return true end
......
...@@ -102,7 +102,7 @@ function c42166000.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -102,7 +102,7 @@ function c42166000.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_SPSUMMON) Duel.Release(g,REASON_SPSUMMON)
end end
function c42166000.ttfilter(c,tp) function c42166000.ttfilter(c,tp)
return c:IsHasEffect(42166000) and c:IsReleasable() and Duel.GetMZoneCount(tp,c)>0 return c:IsHasEffect(42166000) and c:IsReleasable(REASON_SUMMON) and Duel.GetMZoneCount(tp,c)>0
end end
function c42166000.ttcon(e,c,minc) function c42166000.ttcon(e,c,minc)
if c==nil then return true end if c==nil then return true end
......
...@@ -42,7 +42,7 @@ function c57761191.initial_effect(c) ...@@ -42,7 +42,7 @@ function c57761191.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c57761191.otfilter(c) function c57761191.otfilter(c)
return c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() return c:IsType(TYPE_CONTINUOUS) and c:IsReleasable(REASON_SUMMON)
end end
function c57761191.ttcon(e,c,minc) function c57761191.ttcon(e,c,minc)
if c==nil then return true end if c==nil then return true 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