Commit 6527a361 authored by Tachibana's avatar Tachibana

tnndx

parent 0b44a14a
...@@ -37,7 +37,7 @@ function cm.initial_effect(c) ...@@ -37,7 +37,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsFaceup() and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand() return c:IsFaceup() and c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand()
end end
function cm.thfilter1(c) function cm.thfilter1(c)
return c:IsSetCard(0x3fad) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x3fad) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
......
...@@ -57,7 +57,11 @@ function c21520098.initial_effect(c) ...@@ -57,7 +57,11 @@ function c21520098.initial_effect(c)
c:RegisterEffect(e3_3) c:RegisterEffect(e3_3)
end end
function c21520098.spfilter(c,xyzc) function c21520098.spfilter(c,xyzc)
return c:IsFaceup() and c:IsCanBeXyzMaterial(xyzc) if c:IsHasEffect(EFFECT_CANNOT_BE_XYZ_MATERIAL) then
return c:IsFaceup() and c:IsCanBeXyzMaterial(xyzc)
else
return c:IsFaceup() and c:IsCanOverlay()
end
end end
function c21520098.sprgoal(sg,tp,spc) function c21520098.sprgoal(sg,tp,spc)
return Duel.GetLocationCountFromEx(tp,tp,sg,spc)>0 and #sg>=2 and #sg<=Duel.GetTurnCount() return Duel.GetLocationCountFromEx(tp,tp,sg,spc)>0 and #sg>=2 and #sg<=Duel.GetTurnCount()
......
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