Commit 5f60ff72 authored by Tachibana's avatar Tachibana

tnndx

parent ad6d988b
...@@ -102,7 +102,7 @@ end ...@@ -102,7 +102,7 @@ end
function c12300009.spcd(e,tp,eg,ep,ev,re,r,rp) function c12300009.spcd(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not Duel.IsExistingMatchingCard(c12300009.filsp,tp,LOCATION_FZONE,LOCATION_FZONE,1,nil) then return false if not Duel.IsExistingMatchingCard(c12300009.filsp,tp,LOCATION_FZONE,LOCATION_FZONE,1,nil) then return false
elseif Duel.GetTurnPlayer()==tp then return true elseif Duel.GetCurrentChain()==0 and Duel.GetTurnPlayer()==tp then return true
elseif Card.GetTurnID(c)~=Duel.GetTurnCount() then return false elseif Card.GetTurnID(c)~=Duel.GetTurnCount() then return false
elseif c:IsPreviousLocation(LOCATION_FZONE) then return true elseif c:IsPreviousLocation(LOCATION_FZONE) then return true
else else
...@@ -187,15 +187,15 @@ function c12300009.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -187,15 +187,15 @@ function c12300009.spop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetMatchingGroup(c12300009.filntr,tp,0,LOCATION_GRAVE,nil) local g=Duel.GetMatchingGroup(c12300009.filntr,tp,0,LOCATION_GRAVE,nil)
if #g<=0 or not c:IsRelateToEffect(e) then return end if #g<=0 or not c:IsRelateToEffect(e) then return end
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_SETCODE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetRange(LOCATION_GRAVE+LOCATION_MZONE)
e1:SetValue(0x2d3)
e1:SetReset(RESET_PHASE+PHASE_END)
local scc=g:GetFirst() local scc=g:GetFirst()
while scc do while scc do
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_SETCODE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetRange(LOCATION_GRAVE+LOCATION_MZONE)
e1:SetValue(0x2d3)
e1:SetReset(RESET_PHASE+PHASE_END)
scc:RegisterEffect(e1) scc:RegisterEffect(e1)
scc=g:GetNext() scc=g:GetNext()
end end
......
...@@ -38,7 +38,7 @@ end ...@@ -38,7 +38,7 @@ end
function c65001032.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c65001032.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65001032.spcostfil,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65001032.spcostfil,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.SelectMatchingCard(tp,c65001032.spcostfil,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65001032.spcostfil,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SendtoGrave(g,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function c65001032.spfilter(c,e,tp) function c65001032.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x6da3) return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x6da3)
...@@ -73,5 +73,6 @@ function c65001032.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,5 +73,6 @@ function c65001032.op(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c65001032.thfil,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65001032.thfil,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SendtoHand(g,tp,REASON_EFFECT) Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -37,7 +37,7 @@ end ...@@ -37,7 +37,7 @@ end
function c65001033.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function c65001033.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65001033.spcostfil,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65001033.spcostfil,tp,LOCATION_MZONE,0,1,nil) end
local g=Duel.SelectMatchingCard(tp,c65001033.spcostfil,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65001033.spcostfil,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SendtoGrave(g,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function c65001033.spfilter(c,e,tp) function c65001033.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x6da3) return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x6da3)
......
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