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
b8b3c118
Commit
b8b3c118
authored
Mar 27, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/3/27 bug修复
parent
6a59eb8d
Pipeline
#34241
passed with stages
in 14 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
script/c120280008.lua
script/c120280008.lua
+5
-4
No files found.
script/c120280008.lua
View file @
b8b3c118
...
...
@@ -13,16 +13,17 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
--Set
function
cm
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsRace
(
RACE_WARRIOR
+
RACE_SPELLCASTER
)
and
RD
.
IsDefenseAbove
(
c
,
2500
)
function
cm
.
costfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsRace
(
RACE_WARRIOR
+
RACE_SPELLCASTER
)
and
RD
.
IsDefenseAbove
(
c
,
2500
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
)
end
function
cm
.
setfilter
(
c
,
tc
)
return
c
:
GetType
()
==
TYPE_RITUAL
+
TYPE_SPELL
and
aux
.
IsCodeListed
(
c
,
tc
:
GetCode
())
and
c
:
IsSSetable
()
end
cm
.
cost
=
RD
.
CostShowExtra
(
cm
.
costfilter
,
1
,
1
,
nil
,
Group
.
GetFirst
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
IsCostChecked
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
:
GetLabelObject
())
end
if
chk
==
0
then
return
e
:
IsCostChecked
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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