Commit ca7441c8 authored by mercury233's avatar mercury233 Committed by nekrozar

update Duel.SSet (#1262)

* update

* Update c25629622.lua
parent d9777969
...@@ -49,7 +49,6 @@ function c11074235.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,6 @@ function c11074235.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
Duel.SSet(tp,sg) Duel.SSet(tp,sg)
Duel.ConfirmCards(1-tp,sg)
end end
end end
end end
...@@ -99,7 +99,6 @@ function c14756848.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -99,7 +99,6 @@ function c14756848.desop(e,tp,eg,ep,ev,re,r,rp)
and Duel.SelectYesNo(tp,aux.Stringid(14756848,3)) then and Duel.SelectYesNo(tp,aux.Stringid(14756848,3)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
else else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
...@@ -90,6 +90,5 @@ function c15939229.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -90,6 +90,5 @@ function c15939229.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -38,7 +38,6 @@ function c17475251.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,6 @@ function c17475251.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c17475251.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c17475251.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c17475251.cfilter(c) function c17475251.cfilter(c)
......
...@@ -53,7 +53,6 @@ function c18716735.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,6 @@ function c18716735.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c18716735.filter,tp,LOCATION_DECK,0,1,1,nil,false) local g=Duel.SelectMatchingCard(tp,c18716735.filter,tp,LOCATION_DECK,0,1,1,nil,false)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
......
...@@ -54,7 +54,6 @@ function c1948619.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,7 +54,6 @@ function c1948619.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc and tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
function c1948619.spcon(e,tp,eg,ep,ev,re,r,rp) function c1948619.spcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -36,7 +36,6 @@ function c20618081.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,6 @@ function c20618081.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
function c20618081.thfilter(c,tp) function c20618081.thfilter(c,tp)
......
...@@ -44,7 +44,6 @@ function c23002292.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,6 @@ function c23002292.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(1-tp,1,1,nil) local sg=g:Select(1-tp,1,1,nil)
Duel.SSet(1-tp,sg:GetFirst()) Duel.SSet(1-tp,sg:GetFirst())
Duel.ConfirmCards(tp,sg)
end end
end end
if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end
......
...@@ -51,6 +51,6 @@ function c23898021.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,6 +51,6 @@ function c23898021.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_SET)
local tg=sg:RandomSelect(1-tp,1) local tg=sg:RandomSelect(1-tp,1)
Duel.ShuffleDeck(tp) Duel.ShuffleDeck(tp)
Duel.SSet(tp,tg:GetFirst()) Duel.SSet(tp,tg,false)
end end
end end
...@@ -61,7 +61,6 @@ function c24413299.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,6 @@ function c24413299.operation(e,tp,eg,ep,ev,re,r,rp)
and Duel.SelectYesNo(tp,aux.Stringid(24413299,3)) then and Duel.SelectYesNo(tp,aux.Stringid(24413299,3)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
end end
......
...@@ -25,7 +25,6 @@ function c24425055.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,7 +25,6 @@ function c24425055.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN) e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
......
...@@ -112,6 +112,5 @@ function c24907044.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -112,6 +112,5 @@ function c24907044.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c24907044.cfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c24907044.cfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -57,6 +57,5 @@ function c2521011.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,6 +57,5 @@ function c2521011.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c2521011.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c2521011.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -100,7 +100,6 @@ function c25629622.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,7 +100,6 @@ function c25629622.setop(e,tp,eg,ep,ev,re,r,rp)
e1:SetOperation(c25629622.tgop) e1:SetOperation(c25629622.tgop)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
Duel.ConfirmCards(1-tp,g)
end end
end end
function c25629622.tgcon(e,tp,eg,ep,ev,re,r,rp) function c25629622.tgcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -53,7 +53,6 @@ function c26692769.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,6 @@ function c26692769.operation(e,tp,eg,ep,ev,re,r,rp)
if tc then if tc then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
end end
......
...@@ -77,6 +77,5 @@ function c26949946.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,6 +77,5 @@ function c26949946.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c26949946.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c26949946.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -60,7 +60,6 @@ function c29223325.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,6 @@ function c29223325.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c29223325.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c29223325.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
......
...@@ -64,7 +64,6 @@ function c30741503.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,7 +64,6 @@ function c30741503.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
Duel.SSet(tp,sg) Duel.SSet(tp,sg)
Duel.ConfirmCards(1-tp,sg)
end end
end end
end end
...@@ -70,6 +70,5 @@ function c30929786.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,6 +70,5 @@ function c30929786.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c30929786.filter,tp,LOCATION_DECK,0,1,1,nil,false) local g=Duel.SelectMatchingCard(tp,c30929786.filter,tp,LOCATION_DECK,0,1,1,nil,false)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -51,7 +51,6 @@ function c32588805.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,6 @@ function c32588805.setop(e,tp,eg,ep,ev,re,r,rp)
else g=Duel.SelectMatchingCard(tp,c32588805.setfilter2,tp,LOCATION_DECK,0,1,1,nil,TYPE_TRAP+TYPE_CONTINUOUS) end else g=Duel.SelectMatchingCard(tp,c32588805.setfilter2,tp,LOCATION_DECK,0,1,1,nil,TYPE_TRAP+TYPE_CONTINUOUS) end
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c32588805.atkfilter(c) function c32588805.atkfilter(c)
......
...@@ -40,7 +40,6 @@ function c32875265.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,6 @@ function c32875265.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local tg=Duel.SelectMatchingCard(tp,c32875265.setfilter,tp,LOCATION_DECK,0,1,1,nil) local tg=Duel.SelectMatchingCard(tp,c32875265.setfilter,tp,LOCATION_DECK,0,1,1,nil)
Duel.SSet(tp,tg) Duel.SSet(tp,tg)
Duel.ConfirmCards(1-tp,tg)
end end
end end
if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end
......
...@@ -40,7 +40,6 @@ function c33256280.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,6 @@ function c33256280.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c33256280.filter,tp,LOCATION_DECK,0,1,1,nil,false) local g=Duel.SelectMatchingCard(tp,c33256280.filter,tp,LOCATION_DECK,0,1,1,nil,false)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
...@@ -67,6 +67,5 @@ function c35498188.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,6 +67,5 @@ function c35498188.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
end end
end end
...@@ -76,11 +76,11 @@ function c36239585.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,11 +76,11 @@ function c36239585.setop(e,tp,eg,ep,ev,re,r,rp)
local res=false local res=false
if tc:IsType(TYPE_MONSTER) then if tc:IsType(TYPE_MONSTER) then
res=Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEDOWN_DEFENSE) res=Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEDOWN_DEFENSE)
if res~=0 then Duel.ConfirmCards(1-tp,tc) end
else else
res=Duel.SSet(tp,tc) res=Duel.SSet(tp,tc)
end end
if res~=0 then if res~=0 then
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -94,6 +94,5 @@ function c36429703.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -94,6 +94,5 @@ function c36429703.setop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
end end
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -132,7 +132,6 @@ function c36894320.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -132,7 +132,6 @@ function c36894320.tdop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(36894320,2)) then if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(36894320,2)) then
local sc=g:Select(tp,1,1,nil):GetFirst() local sc=g:Select(tp,1,1,nil):GetFirst()
Duel.SSet(tp,sc) Duel.SSet(tp,sc)
Duel.ConfirmCards(1-tp,sc)
end end
end end
end end
...@@ -36,7 +36,6 @@ function c37354507.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,6 @@ function c37354507.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c37354507.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c37354507.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if #g>0 then if #g>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.ConfirmCards(1-tp,g)
end end
end end
function c37354507.tgcon(e) function c37354507.tgcon(e)
......
...@@ -57,7 +57,6 @@ function c38363525.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,7 +57,6 @@ function c38363525.setop(e,tp,eg,ep,ev,re,r,rp)
if #g>0 and Duel.SendtoDeck(g,nil,2,REASON_EFFECT)>0 if #g>0 and Duel.SendtoDeck(g,nil,2,REASON_EFFECT)>0
and c:IsRelateToEffect(e) and c:IsSSetable() then and c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -39,7 +39,6 @@ function c3841833.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,6 @@ function c3841833.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c3841833.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c3841833.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c3841833.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c3841833.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -40,7 +40,6 @@ function c39699564.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,6 @@ function c39699564.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c39699564.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c39699564.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.ConfirmCards(1-tp,g:GetFirst())
end end
end end
function c39699564.sumop(e,tp,eg,ep,ev,re,r,rp) function c39699564.sumop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -47,7 +47,6 @@ function c39752820.stop(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,6 @@ function c39752820.stop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c39752820.stfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c39752820.stfilter,tp,LOCATION_DECK,0,1,1,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc and Duel.SSet(tp,tc)~=0 then if tc and Duel.SSet(tp,tc)~=0 then
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetCode(EFFECT_CANNOT_TRIGGER)
......
...@@ -23,6 +23,5 @@ function c41160595.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -23,6 +23,5 @@ function c41160595.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c41160595.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c41160595.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -67,5 +67,4 @@ function c41803903.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,5 +67,4 @@ function c41803903.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(tp,1,ct,nil) local sg=g:Select(tp,1,ct,nil)
Duel.SSet(tp,sg) Duel.SSet(tp,sg)
Duel.ConfirmCards(1-tp,sg)
end end
...@@ -74,7 +74,6 @@ function c42149850.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,7 +74,6 @@ function c42149850.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
if Duel.SSet(tp,c)~=0 then if Duel.SSet(tp,c)~=0 then
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -49,7 +49,6 @@ function c43748308.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,6 @@ function c43748308.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c43748308.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c43748308.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c43748308.cfilter(c) function c43748308.cfilter(c)
......
...@@ -61,6 +61,5 @@ function c43930492.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,6 +61,5 @@ function c43930492.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -117,6 +117,5 @@ function c44133040.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -117,6 +117,5 @@ function c44133040.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
end end
end end
...@@ -55,7 +55,6 @@ function c44640691.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -55,7 +55,6 @@ function c44640691.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,g)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......
...@@ -34,7 +34,6 @@ function c44860890.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,6 @@ function c44860890.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c44860890.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c44860890.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c44860890.indtg(e,c) function c44860890.indtg(e,c)
......
...@@ -65,7 +65,6 @@ function c45803070.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,6 @@ function c45803070.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then if tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local fid=e:GetHandler():GetFieldID() local fid=e:GetHandler():GetFieldID()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
...@@ -87,7 +87,6 @@ function c46290741.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,7 +87,6 @@ function c46290741.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
function c46290741.tfilter(c,tp) function c46290741.tfilter(c,tp)
......
...@@ -40,7 +40,7 @@ function c47766694.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c47766694.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(dp,1,1,nil) local sg=g:Select(dp,1,1,nil)
Duel.SSet(dp,sg:GetFirst()) Duel.SSet(dp,sg,false)
end end
end end
end end
......
...@@ -58,6 +58,5 @@ function c48086335.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,6 +58,5 @@ function c48086335.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -43,7 +43,6 @@ function c494922.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,6 @@ function c494922.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and (tc:IsType(TYPE_FIELD) or Duel.GetLocationCount(tp,LOCATION_SZONE)>0) then if tc:IsRelateToEffect(e) and (tc:IsType(TYPE_FIELD) or Duel.GetLocationCount(tp,LOCATION_SZONE)>0) then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -46,7 +46,7 @@ function c50237654.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c50237654.drop(e,tp,eg,ep,ev,re,r,rp)
if dc:IsType(TYPE_SPELL+TYPE_TRAP) and dc:IsSSetable() if dc:IsType(TYPE_SPELL+TYPE_TRAP) and dc:IsSSetable()
and Duel.SelectYesNo(tp,aux.Stringid(50237654,0)) then and Duel.SelectYesNo(tp,aux.Stringid(50237654,0)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SSet(tp,dc) Duel.SSet(tp,dc,false)
if dc:IsType(TYPE_QUICKPLAY) then if dc:IsType(TYPE_QUICKPLAY) then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -73,7 +73,6 @@ function c51339637.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,6 @@ function c51339637.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -97,6 +97,5 @@ function c52240819.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,6 +97,5 @@ function c52240819.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -31,7 +31,6 @@ function c53143898.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,7 +31,6 @@ function c53143898.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c53143898.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c53143898.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c53143898.thfilter1(c) function c53143898.thfilter1(c)
......
...@@ -96,6 +96,5 @@ function c56773577.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,6 +96,5 @@ function c56773577.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.SelectMatchingCard(tp,c56773577.setfilter,tp,LOCATION_DECK,0,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,c56773577.setfilter,tp,LOCATION_DECK,0,1,1,nil):GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -85,7 +85,6 @@ function c56920308.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,7 +85,6 @@ function c56920308.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -92,11 +92,9 @@ function c57314798.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,11 +92,9 @@ function c57314798.desop(e,tp,eg,ep,ev,re,r,rp)
local tc2=g2:GetFirst() local tc2=g2:GetFirst()
if tc1 then if tc1 then
Duel.SSet(tp,tc1) Duel.SSet(tp,tc1)
Duel.ConfirmCards(1-tp,tc1)
end end
if tc2 then if tc2 then
Duel.SSet(1-tp,tc2) Duel.SSet(1-tp,tc2)
Duel.ConfirmCards(tp,tc2)
end end
end end
end end
......
...@@ -88,6 +88,5 @@ function c59054773.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -88,6 +88,5 @@ function c59054773.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
end end
end end
...@@ -29,7 +29,7 @@ function c60082869.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -29,7 +29,7 @@ function c60082869.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
Duel.SSet(tp,sg:GetFirst()) Duel.SSet(tp,sg,false)
end end
end end
end end
...@@ -40,7 +40,6 @@ function c60473572.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,6 @@ function c60473572.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c60473572.filter,tp,LOCATION_DECK,0,1,1,nil,false) local g=Duel.SelectMatchingCard(tp,c60473572.filter,tp,LOCATION_DECK,0,1,1,nil,false)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
...@@ -42,7 +42,6 @@ function c60709218.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,6 @@ function c60709218.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local tc=g2:Select(tp,1,1,nil) local tc=g2:Select(tp,1,1,nil)
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
end end
...@@ -43,7 +43,6 @@ function c61472381.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,6 @@ function c61472381.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c61472381.setfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c61472381.setfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c61472381.discon(e,tp,eg,ep,ev,re,r,rp) function c61472381.discon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -47,7 +47,6 @@ function c62694833.setop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,6 @@ function c62694833.setop1(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c62694833.setfilter2,tp,LOCATION_DECK,0,1,1,nil,tc:GetCode()) local g=Duel.SelectMatchingCard(tp,c62694833.setfilter2,tp,LOCATION_DECK,0,1,1,nil,tc:GetCode())
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
...@@ -66,6 +65,5 @@ function c62694833.setop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,6 +65,5 @@ function c62694833.setop2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c62694833.setfilter3,tp,LOCATION_DECK,0,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,c62694833.setfilter3,tp,LOCATION_DECK,0,1,1,nil,tp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -36,7 +36,6 @@ function c6353603.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,6 @@ function c6353603.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c6353603.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c6353603.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c6353603.filter1(c) function c6353603.filter1(c)
......
...@@ -44,7 +44,6 @@ function c645794.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,6 @@ function c645794.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetCode(EFFECT_CANNOT_TRIGGER)
......
...@@ -59,10 +59,8 @@ function c64961254.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,10 +59,8 @@ function c64961254.operation(e,tp,eg,ep,ev,re,r,rp)
end end
elseif (opt==1 and tc:IsType(TYPE_SPELL)) then elseif (opt==1 and tc:IsType(TYPE_SPELL)) then
Duel.SSet(1-tp,tc) Duel.SSet(1-tp,tc)
Duel.ConfirmCards(tp,g)
elseif (opt==2 and tc:IsType(TYPE_TRAP))then elseif (opt==2 and tc:IsType(TYPE_TRAP))then
Duel.SSet(1-tp,tc) Duel.SSet(1-tp,tc)
Duel.ConfirmCards(tp,g)
else else
Duel.SendtoHand(g,1-tp,REASON_EFFECT) Duel.SendtoHand(g,1-tp,REASON_EFFECT)
Duel.ShuffleHand(1-tp) Duel.ShuffleHand(1-tp)
......
...@@ -51,6 +51,5 @@ function c65301952.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,6 +51,5 @@ function c65301952.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c65301952.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65301952.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -58,7 +58,6 @@ function c65330383.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,6 @@ function c65330383.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetCode(EFFECT_CANNOT_TRIGGER)
......
...@@ -63,7 +63,6 @@ function c65357623.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,7 +63,6 @@ function c65357623.setop(e,tp,eg,ep,ev,re,r,rp)
if #g>0 and Duel.SendtoDeck(g,nil,2,REASON_EFFECT)>0 if #g>0 and Duel.SendtoDeck(g,nil,2,REASON_EFFECT)>0
and c:IsRelateToEffect(e) and c:IsSSetable() then and c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -65,7 +65,6 @@ function c66762372.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,6 @@ function c66762372.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c66762372.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c66762372.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c66762372.synlimit(e,c) function c66762372.synlimit(e,c)
......
...@@ -32,7 +32,6 @@ function c67829249.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,7 +32,6 @@ function c67829249.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetCode(EFFECT_CANNOT_TRIGGER)
......
...@@ -40,7 +40,6 @@ function c69351984.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,6 @@ function c69351984.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c69351984.filter,tp,LOCATION_DECK,0,1,1,nil,false) local g=Duel.SelectMatchingCard(tp,c69351984.filter,tp,LOCATION_DECK,0,1,1,nil,false)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
...@@ -39,7 +39,6 @@ function c70355994.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,6 @@ function c70355994.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c70355994.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c70355994.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c70355994.filter1(c) function c70355994.filter1(c)
......
...@@ -48,7 +48,6 @@ function c70564929.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,7 +48,6 @@ function c70564929.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
function c70564929.filter2(c) function c70564929.filter2(c)
......
...@@ -64,6 +64,5 @@ function c70975131.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,6 +64,5 @@ function c70975131.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c70975131.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c70975131.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -66,6 +66,5 @@ function c72566043.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,6 +66,5 @@ function c72566043.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -27,8 +27,6 @@ function c73468603.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -27,8 +27,6 @@ function c73468603.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.SSet(tp,tg2,1-tp) Duel.SSet(tp,tg2,1-tp)
tg1:GetFirst():RegisterFlagEffect(73468603,RESET_EVENT+RESETS_STANDARD,0,1) tg1:GetFirst():RegisterFlagEffect(73468603,RESET_EVENT+RESETS_STANDARD,0,1)
tg2:GetFirst():RegisterFlagEffect(73468603,RESET_EVENT+RESETS_STANDARD,0,1) tg2:GetFirst():RegisterFlagEffect(73468603,RESET_EVENT+RESETS_STANDARD,0,1)
tg1:Merge(tg2)
Duel.ConfirmCards(1-tp,tg1)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ACTIVATE) e1:SetCode(EFFECT_CANNOT_ACTIVATE)
......
...@@ -95,6 +95,5 @@ function c73639099.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -95,6 +95,5 @@ function c73639099.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -71,7 +71,6 @@ function c74003290.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,6 @@ function c74003290.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -45,7 +45,6 @@ function c7480763.stop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,6 @@ function c7480763.stop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
local ct=Duel.SSet(tp,g) local ct=Duel.SSet(tp,g)
if ct~=0 then if ct~=0 then
Duel.ConfirmCards(1-tp,g)
local tc=g:GetFirst() local tc=g:GetFirst()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
...@@ -44,7 +44,6 @@ function c75132317.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,6 @@ function c75132317.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c75132317.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c75132317.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c75132317.drcon(e,tp,eg,ep,ev,re,r,rp) function c75132317.drcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -61,7 +61,6 @@ function c76589815.cfop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,6 @@ function c76589815.cfop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local setg=sg:Select(tp,1,1,nil) local setg=sg:Select(tp,1,1,nil)
Duel.SSet(tp,setg:GetFirst()) Duel.SSet(tp,setg:GetFirst())
Duel.ConfirmCards(1-tp,setg)
end end
end end
Duel.ShuffleHand(1-tp) Duel.ShuffleHand(1-tp)
......
...@@ -40,7 +40,6 @@ function c7868571.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,6 @@ function c7868571.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c7868571.filter,tp,LOCATION_DECK,0,1,1,nil,false) local g=Duel.SelectMatchingCard(tp,c7868571.filter,tp,LOCATION_DECK,0,1,1,nil,false)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
end end
...@@ -37,6 +37,5 @@ function c79324191.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,6 +37,5 @@ function c79324191.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c79324191.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c79324191.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -51,7 +51,6 @@ function c799183.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,6 @@ function c799183.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -59,6 +59,5 @@ function c80019195.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,6 +59,5 @@ function c80019195.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then if tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -69,7 +69,7 @@ function c82738277.retop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,7 +69,7 @@ function c82738277.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
Duel.SSet(tp,sg:GetFirst()) Duel.SSet(tp,sg,false)
end end
end end
end end
...@@ -57,7 +57,6 @@ function c85800949.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,7 +57,6 @@ function c85800949.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN) e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
......
...@@ -62,6 +62,5 @@ function c8608979.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,6 +62,5 @@ function c8608979.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c8608979.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c8608979.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -52,6 +52,5 @@ function c86889202.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,6 +52,5 @@ function c86889202.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c86889202.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c86889202.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -49,6 +49,5 @@ function c88032456.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,6 +49,5 @@ function c88032456.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
elseif (tc:IsType(TYPE_FIELD) or Duel.GetLocationCount(tp,LOCATION_SZONE)>0) then elseif (tc:IsType(TYPE_FIELD) or Duel.GetLocationCount(tp,LOCATION_SZONE)>0) then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
end end
end end
...@@ -66,7 +66,6 @@ function c88332693.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,6 @@ function c88332693.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.SelectMatchingCard(tp,c88332693.setfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,c88332693.setfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil):GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN) e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
......
...@@ -61,6 +61,5 @@ function c88667504.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,6 +61,5 @@ function c88667504.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c88667504.setfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c88667504.setfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -35,7 +35,6 @@ function c89856523.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -35,7 +35,6 @@ function c89856523.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c89856523.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c89856523.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c89856523.atkfilter(c) function c89856523.atkfilter(c)
......
...@@ -103,7 +103,6 @@ function c90809975.negop(e,tp,eg,ep,ev,re,r,rp) ...@@ -103,7 +103,6 @@ function c90809975.negop(e,tp,eg,ep,ev,re,r,rp)
and rc:IsSSetable() and Duel.SelectYesNo(tp,aux.Stringid(90809975,4)) then and rc:IsSSetable() and Duel.SelectYesNo(tp,aux.Stringid(90809975,4)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SSet(tp,rc) Duel.SSet(tp,rc)
Duel.ConfirmCards(1-tp,rc)
end end
end end
end end
......
...@@ -60,7 +60,6 @@ function c91742238.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,6 @@ function c91742238.setop(e,tp,eg,ep,ev,re,r,rp)
if #g>0 and Duel.SendtoDeck(g,nil,2,REASON_EFFECT)>0 if #g>0 and Duel.SendtoDeck(g,nil,2,REASON_EFFECT)>0
and c:IsRelateToEffect(e) and c:IsSSetable() then and c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT) e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
......
...@@ -36,14 +36,12 @@ function c93294869.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,14 +36,12 @@ function c93294869.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c93294869.filter1,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c93294869.filter1,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g) Duel.SSet(tp,g)
Duel.ConfirmCards(1-tp,g)
local sg=Duel.GetMatchingGroup(c93294869.filter2,tp,LOCATION_DECK,0,nil) local sg=Duel.GetMatchingGroup(c93294869.filter2,tp,LOCATION_DECK,0,nil)
if e:GetLabel()==1 and sg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(93294869,1)) then if e:GetLabel()==1 and sg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(93294869,1)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local tg=sg:Select(tp,1,1,nil) local tg=sg:Select(tp,1,1,nil)
Duel.SSet(tp,tg) Duel.SSet(tp,tg)
Duel.ConfirmCards(1-tp,tg)
end end
end end
end end
......
...@@ -65,6 +65,5 @@ function c93751476.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,6 +65,5 @@ function c93751476.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c93751476.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c93751476.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
...@@ -96,7 +96,6 @@ function c9409625.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,7 +96,6 @@ function c9409625.tdop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(9409625,2)) then if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(9409625,2)) then
local sc=g:Select(tp,1,1,nil):GetFirst() local sc=g:Select(tp,1,1,nil):GetFirst()
Duel.SSet(tp,sc) Duel.SSet(tp,sc)
Duel.ConfirmCards(1-tp,sc)
end end
end end
end end
...@@ -50,7 +50,6 @@ function c96381979.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,7 +50,6 @@ function c96381979.setop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c96381979.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c96381979.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
Duel.ConfirmCards(1-tp,g)
end end
end end
function c96381979.discost(e,tp,eg,ep,ev,re,r,rp,chk) function c96381979.discost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -31,7 +31,6 @@ function c96704974.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,7 +31,6 @@ function c96704974.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() then if tc:IsRelateToEffect(e) and tc:IsSSetable() then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN) e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
......
...@@ -29,7 +29,6 @@ function c97064649.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -29,7 +29,6 @@ function c97064649.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsSSetable() and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then if tc:IsRelateToEffect(e) and tc:IsSSetable() and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
Duel.ConfirmCards(1-tp,tc)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetCode(EFFECT_CANNOT_TRIGGER)
......
...@@ -56,6 +56,5 @@ function c99004583.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,6 +56,5 @@ function c99004583.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsSSetable() then if c:IsRelateToEffect(e) and c:IsSSetable() then
Duel.SSet(tp,c) Duel.SSet(tp,c)
Duel.ConfirmCards(1-tp,c)
end 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