Commit 8b745273 authored by wyykak's avatar wyykak

revert needless modification

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 5af69d22
...@@ -28,7 +28,7 @@ function c21009.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -28,7 +28,7 @@ function c21009.spcon(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp return ep~=tp
end end
function c21009.spfilter(c,e,tp) function c21009.spfilter(c,e,tp)
return not c:IsCode(21009) and c:IsType(TYPE_MONSTER) and c:IsLevelBelow(4) and c:IsSetCard(0x256) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return not c:IsCode(21009) and c:IsLevelBelow(4) and c:IsSetCard(0x256) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c21009.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c21009.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -36,7 +36,7 @@ function c21028.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,7 @@ function c21028.spcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsRelateToBattle() and ((a==c and d:IsType(TYPE_MONSTER) and d:IsControler(1-p)) or (d==c and a:IsType(TYPE_MONSTER) and a:IsControler(1-p))) return c:IsRelateToBattle() and ((a==c and d:IsType(TYPE_MONSTER) and d:IsControler(1-p)) or (d==c and a:IsType(TYPE_MONSTER) and a:IsControler(1-p)))
end end
function c21028.spfilter(c,e,tp) function c21028.spfilter(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsLevelBelow(4) and (c:IsSetCard(0x256) or c:IsSetCard(0x258)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsLevelBelow(4) and (c:IsSetCard(0x256) or c:IsSetCard(0x258)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c21028.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c21028.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -52,7 +52,7 @@ end ...@@ -52,7 +52,7 @@ end
c21036.DescSetName=0x258 c21036.DescSetName=0x258
function c21036.spfilter(c) function c21036.spfilter(c)
return c:IsType(TYPE_MONSTER) and (c:IsSetCard(0x256) or c:IsSetCard(0x258)) and c:IsType(TYPE_MONSTER) return (c:IsSetCard(0x256) or c:IsSetCard(0x258)) and c:IsType(TYPE_MONSTER)
end end
function c21036.spcon(e,c) function c21036.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -40,7 +40,7 @@ end ...@@ -40,7 +40,7 @@ end
c21039.DescSetName=0x258 c21039.DescSetName=0x258
function c21039.spfilter(c) function c21039.spfilter(c)
return c:IsType(TYPE_MONSTER) and (c:IsSetCard(0x256) or c:IsSetCard(0x258)) and c:IsType(TYPE_MONSTER) return (c:IsSetCard(0x256) or c:IsSetCard(0x258)) and c:IsType(TYPE_MONSTER)
end end
function c21039.spcon(e,c) function c21039.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -46,7 +46,7 @@ function c21080.initial_effect(c) ...@@ -46,7 +46,7 @@ function c21080.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c21080.mtfilter(c) function c21080.mtfilter(c)
return c:IsType(TYPE_MONSTER) and c:GetLevel()>0 and c:IsReleasable() and c:IsSetCard(0x256) return c:GetLevel()>0 and c:IsReleasable() and c:IsSetCard(0x256)
end end
function c21080.hspcon(e,c) function c21080.hspcon(e,c)
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