Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
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
MyCard
ygopro-rush-duel
Commits
472f0f75
You need to sign in or sign up before continuing.
Commit
472f0f75
authored
Dec 19, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/12/19 bug修复
parent
6436895a
Pipeline
#24459
passed with stages
in 16 minutes and 4 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
RD Standard.cdb
RD Standard.cdb
+0
-0
script/RDFunction.lua
script/RDFunction.lua
+6
-12
No files found.
RD Standard.cdb
View file @
472f0f75
No preview for this file type
script/RDFunction.lua
View file @
472f0f75
...
...
@@ -121,21 +121,15 @@ end
-- 返回卡组并排序
function
RushDuel
.
SendToDeckSort
(
target
,
sequence
,
reason
,
sort_player
,
target_player
)
local
g
=
RushDuel
.
ToMaximunGroup
(
target
)
if
g
:
GetCount
()
>
1
and
sequence
==
SEQ_DECKBOTTOM
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKTOP
,
reason
)
local
ct
=
0
if
sequence
==
SEQ_DECKTOP
then
ct
=
aux
.
PlaceCardsOnDeckTop
(
sort_player
,
g
,
reason
)
elseif
sequence
==
SEQ_DECKBOTTOM
then
ct
=
aux
.
PlaceCardsOnDeckBottom
(
sort_player
,
g
,
reason
)
else
Duel
.
SendtoDeck
(
g
,
nil
,
sequence
,
reason
)
ct
=
Duel
.
SendtoDeck
(
target
,
nil
,
sequence
,
reason
)
end
local
og
=
Duel
.
GetOperatedGroup
()
local
ct
=
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
if
sequence
==
SEQ_DECKTOP
and
ct
>
1
then
Duel
.
SortDecktop
(
sort_player
,
target_player
,
ct
)
elseif
sequence
==
SEQ_DECKBOTTOM
then
if
ct
>
1
then
Duel
.
SortDecktop
(
sort_player
,
target_player
,
ct
)
end
RushDuel
.
SendDeckTopToBottom
(
target_player
,
ct
)
end
return
og
,
ct
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