Commit 14ba4955 authored by Tachibana's avatar Tachibana

tnndx

parent d869c05a
......@@ -101,13 +101,13 @@ function c9330005.tdop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local sg=g:Select(tp,1,3,nil)
if Duel.SendtoDeck(sg,nil,0,REASON_EFFECT)>0 then
if Duel.SendtoDeck(sg,nil,2,REASON_EFFECT)>0 then
local sg2=Duel.GetOperatedGroup()
if sg2:IsExists(c9330005.tdfilter,1,nil,tp) then Duel.ShuffleDeck(tp) end
if sg2:IsExists(c9330005.tdfilter,1,nil,1-tp) then Duel.ShuffleDeck(1-tp) end
if sg:GetCount()==3 then Duel.Draw(tp,1,REASON_EFFECT) end
if not sg2:IsExists(Card.IsLocation,1,nil,LOCATION_DECK+LOCATION_EXTRA) then return end
local tc=g:GetFirst()
local tc=sg:GetFirst()
while tc do
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
......@@ -133,7 +133,7 @@ function c9330005.tdop(e,tp,eg,ep,ev,re,r,rp)
e3:SetLabelObject(tc)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
tc=g:GetNext()
tc=sg:GetNext()
end
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