Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vee4
ygopro-scripts-888
Commits
812b46a4
Commit
812b46a4
authored
Mar 14, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use constant in deck MoveSequence
parent
56242327
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
43 additions
and
43 deletions
+43
-43
c16605586.lua
c16605586.lua
+1
-1
c16693254.lua
c16693254.lua
+1
-1
c17559367.lua
c17559367.lua
+1
-1
c18658572.lua
c18658572.lua
+1
-1
c23020408.lua
c23020408.lua
+1
-1
c23153227.lua
c23153227.lua
+1
-1
c23384666.lua
c23384666.lua
+1
-1
c23672629.lua
c23672629.lua
+1
-1
c23927567.lua
c23927567.lua
+1
-1
c24140059.lua
c24140059.lua
+1
-1
c26534688.lua
c26534688.lua
+1
-1
c26964762.lua
c26964762.lua
+2
-2
c27753563.lua
c27753563.lua
+1
-1
c29107423.lua
c29107423.lua
+1
-1
c30786387.lua
c30786387.lua
+1
-1
c31712840.lua
c31712840.lua
+1
-1
c32354768.lua
c32354768.lua
+1
-1
c34086406.lua
c34086406.lua
+1
-1
c36224040.lua
c36224040.lua
+1
-1
c365213.lua
c365213.lua
+1
-1
c45593826.lua
c45593826.lua
+1
-1
c46552140.lua
c46552140.lua
+1
-1
c49776811.lua
c49776811.lua
+1
-1
c59479050.lua
c59479050.lua
+1
-1
c62200831.lua
c62200831.lua
+1
-1
c62312469.lua
c62312469.lua
+1
-1
c62434031.lua
c62434031.lua
+1
-1
c69327790.lua
c69327790.lua
+2
-2
c70222318.lua
c70222318.lua
+1
-1
c72957245.lua
c72957245.lua
+1
-1
c78362751.lua
c78362751.lua
+1
-1
c81020140.lua
c81020140.lua
+1
-1
c82434071.lua
c82434071.lua
+1
-1
c856784.lua
c856784.lua
+1
-1
c88733579.lua
c88733579.lua
+1
-1
c89529919.lua
c89529919.lua
+1
-1
c90359458.lua
c90359458.lua
+2
-2
c92362073.lua
c92362073.lua
+1
-1
c95214051.lua
c95214051.lua
+1
-1
c95856586.lua
c95856586.lua
+1
-1
No files found.
c16605586.lua
View file @
812b46a4
...
@@ -54,7 +54,7 @@ function c16605586.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c16605586.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
if
tc
:
IsLocation
(
LOCATION_DECK
)
then
if
tc
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c16693254.lua
View file @
812b46a4
...
@@ -22,7 +22,7 @@ function c16693254.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,7 +22,7 @@ function c16693254.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c17559367.lua
View file @
812b46a4
...
@@ -28,7 +28,7 @@ function c17559367.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,7 +28,7 @@ function c17559367.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c18658572.lua
View file @
812b46a4
...
@@ -23,7 +23,7 @@ function c18658572.cfop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -23,7 +23,7 @@ function c18658572.cfop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
local
tc
=
g
:
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
local
tc
=
g
:
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
if
tc
:
IsAbleToRemove
(
tp
,
POS_FACEDOWN
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
18658572
,
1
))
then
if
tc
:
IsAbleToRemove
(
tp
,
POS_FACEDOWN
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
18658572
,
1
))
then
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
...
...
c23020408.lua
View file @
812b46a4
...
@@ -38,7 +38,7 @@ function c23020408.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c23020408.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
if
tc
:
IsLocation
(
LOCATION_DECK
)
then
if
tc
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
else
else
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
end
end
...
...
c23153227.lua
View file @
812b46a4
...
@@ -40,7 +40,7 @@ function c23153227.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c23153227.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
else
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c23384666.lua
View file @
812b46a4
...
@@ -39,7 +39,7 @@ function c23384666.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,7 @@ function c23384666.tdop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c23672629.lua
View file @
812b46a4
...
@@ -74,7 +74,7 @@ function c23672629.tpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,7 +74,7 @@ function c23672629.tpop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c23927567.lua
View file @
812b46a4
...
@@ -17,7 +17,7 @@ function c23927567.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c23927567.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
else
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c24140059.lua
View file @
812b46a4
...
@@ -17,7 +17,7 @@ function c24140059.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c24140059.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
else
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c26534688.lua
View file @
812b46a4
...
@@ -36,7 +36,7 @@ function c26534688.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c26534688.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
26534688
,
3
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
26534688
,
3
))
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c26964762.lua
View file @
812b46a4
...
@@ -95,12 +95,12 @@ function c26964762.deckop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,12 +95,12 @@ function c26964762.deckop(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
if
tc1
then
if
tc1
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc1
,
0
)
Duel
.
MoveSequence
(
tc1
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
if
tc2
then
if
tc2
then
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
MoveSequence
(
tc2
,
0
)
Duel
.
MoveSequence
(
tc2
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
1
-
tp
,
1
)
Duel
.
ConfirmDecktop
(
1
-
tp
,
1
)
end
end
end
end
c27753563.lua
View file @
812b46a4
...
@@ -70,7 +70,7 @@ function c27753563.cmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c27753563.cmop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
local
tc
=
g
:
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
local
tc
=
g
:
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
27753563
,
1
),
aux
.
Stringid
(
27753563
,
2
))
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
27753563
,
1
),
aux
.
Stringid
(
27753563
,
2
))
Duel
.
MoveSequence
(
tc
,
opt
)
Duel
.
MoveSequence
(
tc
,
opt
)
...
...
c29107423.lua
View file @
812b46a4
...
@@ -53,7 +53,7 @@ function c29107423.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c29107423.thop(e,tp,eg,ep,ev,re,r,rp)
local
dc
=
dg
:
GetFirst
()
local
dc
=
dg
:
GetFirst
()
if
dc
then
if
dc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
dc
,
0
)
Duel
.
MoveSequence
(
dc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
if
Duel
.
IsExistingMatchingCard
(
c29107423
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
29107423
,
3
))
then
if
Duel
.
IsExistingMatchingCard
(
c29107423
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
29107423
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
c30786387.lua
View file @
812b46a4
...
@@ -40,7 +40,7 @@ function c30786387.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c30786387.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
local
tg
=
rg
:
GetFirst
()
local
tg
=
rg
:
GetFirst
()
while
tg
do
while
tg
do
Duel
.
MoveSequence
(
tg
,
0
)
Duel
.
MoveSequence
(
tg
,
SEQ_DECKTOP
)
tg
=
rg
:
GetNext
()
tg
=
rg
:
GetNext
()
end
end
Duel
.
SortDecktop
(
tp
,
tp
,
3
)
Duel
.
SortDecktop
(
tp
,
tp
,
3
)
...
...
c31712840.lua
View file @
812b46a4
...
@@ -67,7 +67,7 @@ function c31712840.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c31712840.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
if
tc2
then
if
tc2
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc2
,
0
)
Duel
.
MoveSequence
(
tc2
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c32354768.lua
View file @
812b46a4
...
@@ -127,7 +127,7 @@ function c32354768.stop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -127,7 +127,7 @@ function c32354768.stop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c34086406.lua
View file @
812b46a4
...
@@ -51,7 +51,7 @@ function c34086406.operation2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c34086406.operation2(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c36224040.lua
View file @
812b46a4
...
@@ -66,7 +66,7 @@ function c36224040.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c36224040.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c365213.lua
View file @
812b46a4
...
@@ -45,7 +45,7 @@ function c365213.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c365213.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
tc
:
IsLocation
(
LOCATION_DECK
)
then
if
tc
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
else
else
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
...
...
c45593826.lua
View file @
812b46a4
...
@@ -61,7 +61,7 @@ function c45593826.dtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c45593826.dtop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c46552140.lua
View file @
812b46a4
...
@@ -38,7 +38,7 @@ function c46552140.sortop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c46552140.sortop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
Duel
.
SortDecktop
(
tp
,
tp
,
g
:
GetCount
())
Duel
.
SortDecktop
(
tp
,
tp
,
g
:
GetCount
())
...
...
c49776811.lua
View file @
812b46a4
...
@@ -35,7 +35,7 @@ function c49776811.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c49776811.ctop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c59479050.lua
View file @
812b46a4
...
@@ -64,7 +64,7 @@ function c59479050.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function c59479050.tdop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c62200831.lua
View file @
812b46a4
...
@@ -50,7 +50,7 @@ function c62200831.dtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c62200831.dtop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c62312469.lua
View file @
812b46a4
...
@@ -72,7 +72,7 @@ function c62312469.stop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,7 +72,7 @@ function c62312469.stop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
local
tc
=
g1
:
GetFirst
()
local
tc
=
g1
:
GetFirst
()
while
tc
do
while
tc
do
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
tc
=
g1
:
GetNext
()
tc
=
g1
:
GetNext
()
end
end
Duel
.
SortDecktop
(
tp
,
tp
,
4
)
Duel
.
SortDecktop
(
tp
,
tp
,
4
)
...
...
c62434031.lua
View file @
812b46a4
...
@@ -49,7 +49,7 @@ function c62434031.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,7 @@ function c62434031.tdop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c69327790.lua
View file @
812b46a4
...
@@ -85,9 +85,9 @@ function c69327790.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,9 +85,9 @@ function c69327790.tdop(e,tp,eg,ep,ev,re,r,rp)
if
fc
:
GetControler
()
==
gc
:
GetControler
()
and
fc
:
IsLocation
(
LOCATION_DECK
)
and
gc
:
IsLocation
(
LOCATION_DECK
)
then
if
fc
:
GetControler
()
==
gc
:
GetControler
()
and
fc
:
IsLocation
(
LOCATION_DECK
)
and
gc
:
IsLocation
(
LOCATION_DECK
)
then
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
69327790
,
3
),
aux
.
Stringid
(
69327790
,
4
))
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
69327790
,
3
),
aux
.
Stringid
(
69327790
,
4
))
if
op
==
0
then
if
op
==
0
then
Duel
.
MoveSequence
(
fc
,
0
)
Duel
.
MoveSequence
(
fc
,
SEQ_DECKTOP
)
else
else
Duel
.
MoveSequence
(
gc
,
0
)
Duel
.
MoveSequence
(
gc
,
SEQ_DECKTOP
)
end
end
end
end
end
end
...
...
c70222318.lua
View file @
812b46a4
...
@@ -45,7 +45,7 @@ function c70222318.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c70222318.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
...
...
c72957245.lua
View file @
812b46a4
...
@@ -30,7 +30,7 @@ function c72957245.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c72957245.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
dc
=
Duel
.
SelectMatchingCard
(
tp
,
c72957245
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
dc
=
Duel
.
SelectMatchingCard
(
tp
,
c72957245
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
dc
,
0
)
Duel
.
MoveSequence
(
dc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c78362751.lua
View file @
812b46a4
...
@@ -67,7 +67,7 @@ function c78362751.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c78362751.spop2(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
if
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
end
end
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
tc
=
dg
:
GetNext
()
tc
=
dg
:
GetNext
()
end
end
Duel
.
SortDecktop
(
tp
,
tp
,
#
dg
)
Duel
.
SortDecktop
(
tp
,
tp
,
#
dg
)
...
...
c81020140.lua
View file @
812b46a4
...
@@ -24,7 +24,7 @@ function c81020140.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,7 +24,7 @@ function c81020140.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81020140
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81020140
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
g
:
GetFirst
(),
0
)
Duel
.
MoveSequence
(
g
:
GetFirst
(),
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c82434071.lua
View file @
812b46a4
...
@@ -66,7 +66,7 @@ function c82434071.opop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function c82434071.opop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
else
else
...
...
c856784.lua
View file @
812b46a4
...
@@ -40,7 +40,7 @@ function c856784.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c856784.activate(e,tp,eg,ep,ev,re,r,rp)
else
else
tc
=
sg
:
GetFirst
()
tc
=
sg
:
GetFirst
()
end
end
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
sg
:
RemoveCard
(
tc
)
sg
:
RemoveCard
(
tc
)
end
end
end
end
...
...
c88733579.lua
View file @
812b46a4
...
@@ -23,7 +23,7 @@ function c88733579.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -23,7 +23,7 @@ function c88733579.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c89529919.lua
View file @
812b46a4
...
@@ -20,7 +20,7 @@ function c89529919.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,7 +20,7 @@ function c89529919.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
c90359458.lua
View file @
812b46a4
...
@@ -18,13 +18,13 @@ function c90359458.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,13 +18,13 @@ function c90359458.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
90359458
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
90359458
,
0
))
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
if
Duel
.
GetFieldGroupCount
(
1
-
tp
,
LOCATION_DECK
,
0
)
<
2
then
return
end
if
Duel
.
GetFieldGroupCount
(
1
-
tp
,
LOCATION_DECK
,
0
)
<
2
then
return
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
90359458
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
aux
.
Stringid
(
90359458
,
0
))
local
tc2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
nil
,
1
-
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
nil
,
1
-
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
MoveSequence
(
tc2
,
0
)
Duel
.
MoveSequence
(
tc2
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
1
-
tp
,
1
)
Duel
.
ConfirmDecktop
(
1
-
tp
,
1
)
end
end
c92362073.lua
View file @
812b46a4
...
@@ -79,6 +79,6 @@ function c92362073.tpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,6 +79,6 @@ function c92362073.tpop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
end
end
end
end
c95214051.lua
View file @
812b46a4
...
@@ -17,7 +17,7 @@ function c95214051.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function c95214051.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
MoveSequence
(
tc
,
0
)
Duel
.
MoveSequence
(
tc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
1
-
tp
,
1
)
Duel
.
ConfirmDecktop
(
1
-
tp
,
1
)
end
end
end
end
c95856586.lua
View file @
812b46a4
...
@@ -92,7 +92,7 @@ function c95856586.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,7 +92,7 @@ function c95856586.tdop(e,tp,eg,ep,ev,re,r,rp)
local
dc
=
Duel
.
SelectMatchingCard
(
tp
,
c95856586
.
tdfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
dc
=
Duel
.
SelectMatchingCard
(
tp
,
c95856586
.
tdfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
dc
then
if
dc
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
MoveSequence
(
dc
,
0
)
Duel
.
MoveSequence
(
dc
,
SEQ_DECKTOP
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment