Commit 378a585e authored by salix5's avatar salix5

confirm

parent 523f4917
......@@ -83,9 +83,11 @@ function c31516413.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_DEFENCE)
tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
else
local cg=Duel.GetFieldGroup(tp,0x13,0)
Duel.ConfirmCards(1-tp,cg)
elseif Duel.IsPlayerCanSpecialSummon(tp) then
local cg1=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cg2=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
Duel.ConfirmCards(1-tp,cg1)
Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
Duel.ShuffleDeck(tp)
end
......
......@@ -86,9 +86,11 @@ function c3300267.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_DEFENCE)
tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
else
local cg=Duel.GetFieldGroup(tp,0x13,0)
Duel.ConfirmCards(1-tp,cg)
elseif Duel.IsPlayerCanSpecialSummon(tp) then
local cg1=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cg2=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
Duel.ConfirmCards(1-tp,cg1)
Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
Duel.ShuffleDeck(tp)
end
......
......@@ -96,9 +96,11 @@ function c4022819.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_DEFENCE)
tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
else
local cg=Duel.GetFieldGroup(tp,0x13,0)
Duel.ConfirmCards(1-tp,cg)
elseif Duel.IsPlayerCanSpecialSummon(tp) then
local cg1=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cg2=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
Duel.ConfirmCards(1-tp,cg1)
Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
Duel.ShuffleDeck(tp)
end
......
......@@ -44,9 +44,11 @@ function c41639001.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_DEFENCE)
tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
else
local cg=Duel.GetFieldGroup(tp,0x13,0)
Duel.ConfirmCards(1-tp,cg)
elseif Duel.IsPlayerCanSpecialSummon(tp) then
local cg1=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cg2=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
Duel.ConfirmCards(1-tp,cg1)
Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
Duel.ShuffleDeck(tp)
end
......
......@@ -57,9 +57,11 @@ function c77901552.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_DEFENCE)
tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
else
local cg=Duel.GetFieldGroup(tp,0x13,0)
Duel.ConfirmCards(1-tp,cg)
elseif Duel.IsPlayerCanSpecialSummon(tp) then
local cg1=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cg2=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
Duel.ConfirmCards(1-tp,cg1)
Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
Duel.ShuffleDeck(tp)
end
......
......@@ -60,9 +60,11 @@ function c78033100.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_DEFENCE)
tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
else
local cg=Duel.GetFieldGroup(tp,0x13,0)
Duel.ConfirmCards(1-tp,cg)
elseif Duel.IsPlayerCanSpecialSummon(tp) then
local cg1=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cg2=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
Duel.ConfirmCards(1-tp,cg1)
Duel.ConfirmCards(1-tp,cg2)
Duel.ShuffleHand(tp)
Duel.ShuffleDeck(tp)
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