Skip to content

Commit 67be2e6

Browse files
authored
update Duel.ConfirmCards (#2966)
1 parent f72c149 commit 67be2e6

12 files changed

Lines changed: 12 additions & 12 deletions

c10666000.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ end
7171
function s.tgop(e,tp,eg,ep,ev,re,r,rp)
7272
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
7373
if #g==0 then return end
74-
Duel.ConfirmCards(tp,g)
74+
Duel.ConfirmCards(tp,g,true)
7575
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
7676
local sg=g:FilterSelect(tp,Card.IsAbleToGrave,1,1,nil)
7777
Duel.SendtoGrave(sg,REASON_EFFECT)

c14220547.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function c14220547.tgop(e,tp,eg,ep,ev,re,r,rp)
5050
g=g1
5151
else
5252
g=g2
53-
Duel.ConfirmCards(tp,g)
53+
Duel.ConfirmCards(tp,g,true)
5454
end
5555
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
5656
local tg=g:FilterSelect(tp,Card.IsAbleToGrave,1,1,nil)

c17016131.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function c17016131.tgtg2(e,tp,eg,ep,ev,re,r,rp,chk)
105105
end
106106
function c17016131.tgop2(e,tp,eg,ep,ev,re,r,rp)
107107
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
108-
Duel.ConfirmCards(tp,g)
108+
Duel.ConfirmCards(tp,g,true)
109109
local tg=g:Filter(Card.IsAbleToGrave,nil)
110110
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
111111
local tc=tg:Select(tp,1,1,nil):GetFirst()

c35569555.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
8686
g=g1
8787
elseif sel==1 then
8888
g=g2
89-
Duel.ConfirmCards(tp,g)
89+
Duel.ConfirmCards(tp,g,true)
9090
end
9191
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
9292
local sg=g:FilterSelect(tp,s.tgfilter,1,1,nil)

c40352445.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function c40352445.tgop(e,tp,eg,ep,ev,re,r,rp)
4343
local atk=tc1:GetAttack()
4444
local rg=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
4545
if #rg>0 then
46-
Duel.ConfirmCards(tp,rg)
46+
Duel.ConfirmCards(tp,rg,true)
4747
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
4848
local tc2=rg:FilterSelect(tp,Card.IsAbleToGrave,1,1,nil):GetFirst()
4949
Duel.ShuffleExtra(1-tp)

c4837861.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function c4837861.eqop(e,tp,eg,ep,ev,re,r,rp)
7474
local c=e:GetHandler()
7575
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 or c:IsFacedown() or not c:IsRelateToEffect(e) then return end
7676
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
77-
Duel.ConfirmCards(tp,g)
77+
Duel.ConfirmCards(tp,g,true)
7878
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
7979
local sg=g:FilterSelect(tp,c4837861.eqfilter,1,1,nil,tp)
8080
local tc=sg:GetFirst()

c48654323.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ end
9090
function c48654323.tgop(e,tp,eg,ep,ev,re,r,rp)
9191
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
9292
if #g==0 then return end
93-
Duel.ConfirmCards(tp,g)
93+
Duel.ConfirmCards(tp,g,true)
9494
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
9595
local tg=g:FilterSelect(tp,Card.IsAbleToGrave,1,1,nil)
9696
Duel.SendtoGrave(tg,REASON_EFFECT)

c50179591.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ end
7272
function c50179591.rmop2(e,tp,eg,ep,ev,re,r,rp)
7373
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
7474
if g:GetCount()==0 then return end
75-
Duel.ConfirmCards(tp,g)
75+
Duel.ConfirmCards(tp,g,true)
7676
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
7777
local mg=g:FilterSelect(tp,Card.IsAbleToRemove,1,1,nil)
7878
if mg:GetCount()>0 then

c60921537.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ function c60921537.extraop(e,tp,eg,ep,ev,re,r,rp,tc)
2727
g=g1
2828
else
2929
g=g2
30+
Duel.ConfirmCards(tp,g,true)
3031
end
31-
Duel.ConfirmCards(tp,g)
3232
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
3333
local tg=g:FilterSelect(tp,Card.IsAbleToGrave,1,1,nil)
3434
Duel.SendtoGrave(tg,REASON_EFFECT)

c68304193.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function c68304193.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
7272
end
7373
function c68304193.rmop(e,tp,eg,ep,ev,re,r,rp)
7474
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
75-
Duel.ConfirmCards(tp,g)
75+
Duel.ConfirmCards(tp,g,true)
7676
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
7777
local sg=g:FilterSelect(tp,c68304193.rmfilter,1,1,nil,tp)
7878
if #sg>0 then

0 commit comments

Comments
 (0)