Commit c0977e51 authored by Tachibana's avatar Tachibana

ndyd

parent e36f415d
...@@ -37,6 +37,7 @@ function c10700227.initial_effect(c) ...@@ -37,6 +37,7 @@ function c10700227.initial_effect(c)
e4:SetOperation(c10700227.spop) e4:SetOperation(c10700227.spop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c10700227.has_text_type=TYPE_DUAL
function c10700227.filter(c) function c10700227.filter(c)
return c:IsFaceup() and c:IsType(TYPE_DUAL) and not c:IsDualState() return c:IsFaceup() and c:IsType(TYPE_DUAL) and not c:IsDualState()
end end
......
...@@ -30,6 +30,7 @@ function c10700237.initial_effect(c) ...@@ -30,6 +30,7 @@ function c10700237.initial_effect(c)
e4:SetOperation(c10700237.operation) e4:SetOperation(c10700237.operation)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c10700237.has_text_type=TYPE_DUAL
function c10700237.thfilter(c) function c10700237.thfilter(c)
return c:IsSetCard(0x17c1) and c:IsAbleToHand() and not c:IsCode(10700237) return c:IsSetCard(0x17c1) and c:IsAbleToHand() and not c:IsCode(10700237)
end end
......
...@@ -9,6 +9,7 @@ function c65001005.initial_effect(c) ...@@ -9,6 +9,7 @@ function c65001005.initial_effect(c)
e2:SetOperation(c65001005.spop) e2:SetOperation(c65001005.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c65001005.has_text_type=TYPE_DUAL
function c65001005.spfilter(c,e,tp) function c65001005.spfilter(c,e,tp)
return c:IsType(TYPE_DUAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsType(TYPE_DUAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
......
...@@ -10,6 +10,7 @@ function c65001023.initial_effect(c) ...@@ -10,6 +10,7 @@ function c65001023.initial_effect(c)
e1:SetOperation(c65001023.activate) e1:SetOperation(c65001023.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c65001023.has_text_type=TYPE_DUAL
function c65001023.filter(c,e,tp) function c65001023.filter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (c:IsType(TYPE_DUAL) or c:IsType(TYPE_NORMAL)) and c:IsLevelBelow(5) return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (c:IsType(TYPE_DUAL) or c:IsType(TYPE_NORMAL)) and c:IsLevelBelow(5)
end end
......
...@@ -18,6 +18,7 @@ function c65030027.initial_effect(c) ...@@ -18,6 +18,7 @@ function c65030027.initial_effect(c)
e5:SetOperation(c65030027.exop) e5:SetOperation(c65030027.exop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c65030027.has_text_type=TYPE_DUAL
function c65030027.costfil(c) function c65030027.costfil(c)
return c:IsType(TYPE_NORMAL) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeckAsCost() return c:IsType(TYPE_NORMAL) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeckAsCost()
end end
......
...@@ -26,6 +26,7 @@ function c65060028.initial_effect(c) ...@@ -26,6 +26,7 @@ function c65060028.initial_effect(c)
e5:SetOperation(c65060028.exop) e5:SetOperation(c65060028.exop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c65060028.has_text_type=TYPE_DUAL
function c65060028.excost(e,tp,eg,ep,ev,re,r,rp,chk) function c65060028.excost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,65060028)==0 and e:GetHandler():IsAbleToRemoveAsCost() end if chk==0 then return Duel.GetFlagEffect(tp,65060028)==0 and e:GetHandler():IsAbleToRemoveAsCost() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST) Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
......
...@@ -22,6 +22,7 @@ function c65060039.initial_effect(c) ...@@ -22,6 +22,7 @@ function c65060039.initial_effect(c)
e2:SetOperation(c65060039.activate) e2:SetOperation(c65060039.activate)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c65060039.has_text_type=TYPE_DUAL
function c65060039.actop(e,tp,eg,ep,ev,re,r,rp) function c65060039.actop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
if re:IsActiveType(TYPE_MONSTER) and rc:IsType(TYPE_DUAL) and ep==tp then if re:IsActiveType(TYPE_MONSTER) and rc:IsType(TYPE_DUAL) and ep==tp then
......
...@@ -22,6 +22,7 @@ function c65060040.initial_effect(c) ...@@ -22,6 +22,7 @@ function c65060040.initial_effect(c)
e3:SetOperation(c65060040.thop) e3:SetOperation(c65060040.thop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c65060040.has_text_type=TYPE_DUAL
function c65060040.thfilter(c) function c65060040.thfilter(c)
return (c:IsCode(65060039) or c:IsType(TYPE_DUAL)) and c:IsAbleToHand() return (c:IsCode(65060039) or c:IsType(TYPE_DUAL)) and c:IsAbleToHand()
end end
......
...@@ -22,6 +22,7 @@ function c65060041.initial_effect(c) ...@@ -22,6 +22,7 @@ function c65060041.initial_effect(c)
e3:SetOperation(c65060041.thop) e3:SetOperation(c65060041.thop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c65060041.has_text_type=TYPE_DUAL
function c65060041.thfilter(c) function c65060041.thfilter(c)
return (c:IsCode(65060039) or c:IsType(TYPE_DUAL)) and c:IsAbleToHand() return (c:IsCode(65060039) or c:IsType(TYPE_DUAL)) and c:IsAbleToHand()
end 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