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
2edbcfec
Commit
2edbcfec
authored
Dec 03, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/12/3 bug修复
parent
83bf58d1
Pipeline
#41827
passed with stages
in 8 minutes and 54 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
script/c120298002.lua
script/c120298002.lua
+5
-16
No files found.
script/c120298002.lua
View file @
2edbcfec
...
...
@@ -24,23 +24,12 @@ function cm.initial_effect(c)
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
)
end
--Damage
function
cm
.
damfilter
(
c
,
tp
)
if
not
c
:
IsPreviousControler
(
1
-
tp
)
then
return
false
end
local
bc
=
c
:
GetReasonCard
()
if
not
bc
then
return
false
end
if
bc
:
IsRelateToBattle
()
then
return
bc
:
IsFaceup
()
and
bc
:
IsLocation
(
LOCATION_MZONE
)
and
bc
:
IsControler
(
tp
)
and
bc
:
IsType
(
TYPE_MONSTER
)
and
bc
:
GetOriginalRace
()
&
RACE_ZOMBIE
==
RACE_ZOMBIE
else
return
bc
:
GetPreviousPosition
()
&
POS_FACEUP
>
0
and
bc
:
GetPreviousLocation
()
&
LOCATION_MZONE
==
LOCATION_MZONE
and
bc
:
IsPreviousControler
(
tp
)
and
bc
:
GetPreviousTypeOnField
()
&
TYPE_MONSTER
==
TYPE_MONSTER
and
bc
:
GetPreviousRaceOnField
()
&
RACE_ZOMBIE
==
RACE_ZOMBIE
end
end
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
eg
:
IsExists
(
cm
.
damfilter
,
1
,
nil
,
tp
)
local
tc
=
eg
:
GetFirst
()
local
rc
=
tc
:
GetReasonCard
()
return
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
rc
:
IsRelateToBattle
()
and
rc
:
IsControler
(
tp
)
and
rc
:
GetOriginalRace
()
&
RACE_ZOMBIE
==
RACE_ZOMBIE
and
Duel
.
GetTurnPlayer
()
==
tp
end
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
1
)
...
...
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