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
f8841dd5
Commit
f8841dd5
authored
Dec 02, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/12/2 bug修复
parent
73554b86
Pipeline
#41819
passed with stages
in 7 minutes and 9 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
script/c120298002.lua
script/c120298002.lua
+16
-5
script/c120298007.lua
script/c120298007.lua
+0
-2
script/c120298011.lua
script/c120298011.lua
+1
-1
script/c120298012.lua
script/c120298012.lua
+1
-1
No files found.
script/c120298002.lua
View file @
f8841dd5
...
@@ -24,12 +24,23 @@ function cm.initial_effect(c)
...
@@ -24,12 +24,23 @@ function cm.initial_effect(c)
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
)
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
)
end
end
--Damage
--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
)
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
eg
:
IsExists
(
cm
.
damfilter
,
1
,
nil
,
tp
)
local
rc
=
tc
:
GetReasonCard
()
return
rc
==
Duel
.
GetAttacker
()
and
eg
:
GetCount
()
==
1
and
rc
:
IsControler
(
tp
)
and
rc
:
GetOriginalRace
()
==
RACE_ZOMBIE
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
end
end
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
1
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
1
)
...
...
script/c120298007.lua
View file @
f8841dd5
...
@@ -10,7 +10,6 @@ function cm.initial_effect(c)
...
@@ -10,7 +10,6 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
RD
.
ConditionSummonOrSpecialSummonMainPhase
)
e1
:
SetCondition
(
RD
.
ConditionSummonOrSpecialSummonMainPhase
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -20,7 +19,6 @@ function cm.thfilter(c)
...
@@ -20,7 +19,6 @@ function cm.thfilter(c)
return
((
c
:
IsLevel
(
3
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsAttack
(
1200
))
return
((
c
:
IsLevel
(
3
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsAttack
(
1200
))
or
c
:
IsCode
(
list
[
2
]))
and
c
:
IsAbleToHand
()
or
c
:
IsCode
(
list
[
2
]))
and
c
:
IsAbleToHand
()
end
end
cm
.
cost
=
RD
.
CostSendDeckTopToGrave
(
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
1
)
...
...
script/c120298011.lua
View file @
f8841dd5
...
@@ -18,7 +18,7 @@ function cm.spfilter(c)
...
@@ -18,7 +18,7 @@ function cm.spfilter(c)
return
c
:
IsCode
(
list
[
1
])
return
c
:
IsCode
(
list
[
1
])
end
end
function
cm
.
exfilter
(
c
)
function
cm
.
exfilter
(
c
)
return
c
:
IsOriginalCodeRule
(
list
[
1
])
and
c
:
IsLocation
(
LOCATION_GRAVE
)
return
c
:
IsOriginalCodeRule
(
list
[
2
])
and
c
:
IsLocation
(
LOCATION_GRAVE
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
mat
,
rc
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
mat
,
rc
)
if
mat
:
IsExists
(
cm
.
exfilter
,
1
,
nil
)
then
if
mat
:
IsExists
(
cm
.
exfilter
,
1
,
nil
)
then
...
...
script/c120298012.lua
View file @
f8841dd5
...
@@ -18,7 +18,7 @@ function cm.spfilter(c)
...
@@ -18,7 +18,7 @@ function cm.spfilter(c)
return
c
:
IsCode
(
list
[
1
])
return
c
:
IsCode
(
list
[
1
])
end
end
function
cm
.
exfilter
(
c
)
function
cm
.
exfilter
(
c
)
return
c
:
IsOriginalCodeRule
(
list
[
1
])
and
c
:
IsLocation
(
LOCATION_GRAVE
)
return
c
:
IsOriginalCodeRule
(
list
[
2
])
and
c
:
IsLocation
(
LOCATION_GRAVE
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
mat
,
rc
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
mat
,
rc
)
if
mat
:
IsExists
(
cm
.
exfilter
,
1
,
nil
)
then
if
mat
:
IsExists
(
cm
.
exfilter
,
1
,
nil
)
then
...
...
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