Commit a50461fc authored by TanakaKotoha's avatar TanakaKotoha

wadashimo

parent 3a83e5cb
No preview for this file type
...@@ -12,7 +12,7 @@ function c26810001.initial_effect(c) ...@@ -12,7 +12,7 @@ function c26810001.initial_effect(c)
c:RegisterEffect(e0) c:RegisterEffect(e0)
--search --search
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,26810001) e1:SetCountLimit(1,26810001)
...@@ -53,15 +53,15 @@ function c26810001.thcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -53,15 +53,15 @@ function c26810001.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c26810001.filter(c) function c26810001.filter(c)
return c:IsSetCard(0x601) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x601) and c:IsAbleToHand()
end end
function c26810001.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c26810001.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c26810001.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c26810001.filter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end end
function c26810001.thop(e,tp,eg,ep,ev,re,r,rp) function c26810001.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c26810001.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c26810001.filter),tp,LOCATION_GRAVE,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
......
...@@ -12,7 +12,7 @@ function cm.initial_effect(c) ...@@ -12,7 +12,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.tgfilter(c) function cm.tgfilter(c)
return c:IsFaceup() and Duel.IsExistingMatchingCard(cm.cfilter,c:GetControler(),LOCATION_EXTRA,0,1,nil,c) and not c:IsSetCard(0x1374) return c:IsFaceup() and Duel.IsExistingMatchingCard(cm.cfilter,c:GetControler(),LOCATION_EXTRA,0,1,nil,c) and c:GetSequence()<5
end end
function cm.cfilter(c,tc) function cm.cfilter(c,tc)
return c:IsSetCard(0x1374) and not c:IsCode(tc:GetCode()) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c:IsSetCard(0x1374) and not c:IsCode(tc:GetCode()) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
......
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