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
ab18852e
Commit
ab18852e
authored
Mar 28, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/3/28 可以将额外卡组的卡片作为Cost返回手卡
parent
500b8623
Pipeline
#34306
passed with stages
in 10 minutes and 42 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
script/RDCondition.lua
script/RDCondition.lua
+4
-0
script/c120102003.lua
script/c120102003.lua
+1
-1
script/c120203010.lua
script/c120203010.lua
+1
-1
script/c120247037.lua
script/c120247037.lua
+1
-1
script/c120249007.lua
script/c120249007.lua
+1
-1
No files found.
script/RDCondition.lua
View file @
ab18852e
...
...
@@ -53,6 +53,10 @@ function RushDuel.IsCanChangePosition(card, effect, player, reason)
end
return
true
end
-- 条件:可以作为Cost回到手卡或者额外卡组
function
RushDuel
.
IsAbleToHandOrExtraAsCost
(
card
)
return
card
:
IsAbleToHandAsCost
()
or
card
:
IsAbleToExtraAsCost
()
end
-- 条件: 可否特殊召唤
function
RushDuel
.
IsCanBeSpecialSummoned
(
card
,
effect
,
player
,
position
)
return
card
:
IsCanBeSpecialSummoned
(
effect
,
0
,
player
,
false
,
false
,
position
)
...
...
script/c120102003.lua
View file @
ab18852e
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end
--Discard Deck
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
list
[
1
])
and
c
:
IsAbleToHandAsCost
(
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
list
[
1
])
and
RD
.
IsAbleToHandOrExtraAsCost
(
c
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
...
...
script/c120203010.lua
View file @
ab18852e
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
end
--To Deck
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsAbleToHandAsCost
(
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
RD
.
IsAbleToHandOrExtraAsCost
(
c
)
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsFacedown
()
and
c
:
IsAbleToDeck
()
...
...
script/c120247037.lua
View file @
ab18852e
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
end
--Activate
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsAbleToHandAsCost
(
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
RD
.
IsAbleToHandOrExtraAsCost
(
c
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
...
...
script/c120249007.lua
View file @
ab18852e
...
...
@@ -16,7 +16,7 @@ end
--Destroy
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToHandAsCost
(
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
RD
.
IsAbleToHandOrExtraAsCost
(
c
)
end
cm
.
cost
=
RD
.
CostSendMZoneToHand
(
cm
.
costfilter
,
1
,
1
,
true
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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