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
31af1828
Commit
31af1828
authored
Oct 22, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/10/22 统一cost顺序
parent
783edd79
Pipeline
#41198
passed with stages
in 6 minutes and 38 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c120254083.lua
script/c120254083.lua
+1
-1
script/c120260017.lua
script/c120260017.lua
+1
-1
script/c120293042.lua
script/c120293042.lua
+1
-1
No files found.
script/c120254083.lua
View file @
31af1828
...
...
@@ -22,9 +22,9 @@ function cm.filter(c,e,tp)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_FIEND
)
and
RD
.
IsCanChangePosition
(
c
,
e
,
tp
,
REASON_EFFECT
)
end
cm
.
cost
=
RushDuel
.
CostChoose
(
HINTMSG_TOGRAVE
,
cm
.
cost1
,
HINTMSG_TODECK
,
cm
.
cost2
)
cm
.
cost1
=
RD
.
CostSendHandToGrave
(
cm
.
costfilter1
,
1
,
1
)
cm
.
cost2
=
RD
.
CostSendGraveToDeck
(
cm
.
costfilter2
,
3
,
3
)
cm
.
cost
=
RD
.
CostChoose
(
HINTMSG_TOGRAVE
,
cm
.
cost1
,
HINTMSG_TODECK
,
cm
.
cost2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
,
tp
)
...
...
script/c120260017.lua
View file @
31af1828
...
...
@@ -21,9 +21,9 @@ end
function
cm
.
costcheck2
(
g
)
return
g
:
GetClassCount
(
Card
.
GetLevel
)
==
g
:
GetCount
()
end
cm
.
cost
=
RushDuel
.
CostChoose
(
HINTMSG_TOGRAVE
,
cm
.
cost1
,
HINTMSG_TODECK
,
cm
.
cost2
)
cm
.
cost1
=
RD
.
CostSendHandToGrave
(
cm
.
costfilter1
,
1
,
1
)
cm
.
cost2
=
RD
.
CostSendGraveSubToDeck
(
cm
.
costfilter2
,
cm
.
costcheck2
,
5
,
5
)
cm
.
cost
=
RD
.
CostChoose
(
HINTMSG_TOGRAVE
,
cm
.
cost1
,
HINTMSG_TODECK
,
cm
.
cost2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
end
RD
.
TargetDraw
(
tp
,
2
)
...
...
script/c120293042.lua
View file @
31af1828
...
...
@@ -37,9 +37,9 @@ end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
confilter
,
1
,
nil
,
1
-
tp
)
end
cm
.
cost
=
RushDuel
.
CostChoose
(
HINTMSG_TODECK
,
cm
.
cost1
,
HINTMSG_POSCHANGE
,
cm
.
cost2
)
cm
.
cost1
=
RD
.
CostSendHandToDeckBottom
(
cm
.
costfilter1
,
1
,
1
,
false
)
cm
.
cost2
=
RD
.
CostChangePosition
(
cm
.
costfilter2
,
1
,
1
)
cm
.
cost
=
RD
.
CostChoose
(
HINTMSG_TODECK
,
cm
.
cost1
,
HINTMSG_POSCHANGE
,
cm
.
cost2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
,
tp
)
...
...
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