Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
八宫一月
ygopro-THC-cards
Commits
c6bc85b3
Commit
c6bc85b3
authored
Mar 30, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change 2p reroll mode
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
0a4106ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
script/c13959998.lua
script/c13959998.lua
+4
-5
No files found.
script/c13959998.lua
View file @
c6bc85b3
...
@@ -727,13 +727,12 @@ function this.fullrandom(mainc,extrac)
...
@@ -727,13 +727,12 @@ function this.fullrandom(mainc,extrac)
end
end
function
this
.
reroll
(
tp
)
function
this
.
reroll
(
tp
)
local
ct
=
3
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
cc
,
12
))
then
while
ct
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
cc
,
12
))
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_HAND
,
0
,
0
,
99
,
nil
)
Duel
.
SendtoDeck
(
g
,
tp
,
0
,
REASON_RULE
)
Duel
.
SendtoDeck
(
g
,
tp
,
0
,
REASON_RULE
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
Draw
(
tp
,
#
g
-
1
,
REASON_RULE
)
Duel
.
Draw
(
tp
,
#
g
,
REASON_RULE
)
ct
=
ct
-
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