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
f0ec7bfe
Commit
f0ec7bfe
authored
Mar 02, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/3/2 bug修复
parent
6a2bed65
Pipeline
#33415
passed with stages
in 17 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
script/RDContinuous.lua
script/RDContinuous.lua
+4
-2
script/c120274001.lua
script/c120274001.lua
+2
-1
No files found.
script/RDContinuous.lua
View file @
f0ec7bfe
...
...
@@ -35,13 +35,15 @@ function RushDuel.AttachAttackNotChainTrapLimit(e, rp, tp)
end
-- 永续效果: 战斗破坏怪兽送去墓地时的处理
function
RushDuel
.
ContinuousBattleDestroyToGrave
(
card
,
condition
,
operation
)
function
RushDuel
.
ContinuousBattleDestroyToGrave
(
card
,
condition
,
operation
,
register
)
local
e1
=
Effect
.
CreateEffect
(
card
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e1
:
SetCondition
(
RushDuel
.
BattleDestroyToGraveCondition
(
condition
))
e1
:
SetOperation
(
RushDuel
.
BattleDestroyToGraveOperation
(
operation
))
card
:
RegisterEffect
(
e1
)
if
register
~=
false
then
card
:
RegisterEffect
(
e1
)
end
return
e1
end
function
RushDuel
.
BattleDestroyToGraveCondition
(
condition
)
...
...
script/c120274001.lua
View file @
f0ec7bfe
...
...
@@ -15,8 +15,9 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_XMATERIAL
)
c
:
RegisterEffect
(
e2
)
--Damage
local
e3
=
RD
.
ContinuousBattleDestroyToGrave
(
c
,
cm
.
damcon
,
cm
.
damop
)
local
e3
=
RD
.
ContinuousBattleDestroyToGrave
(
c
,
cm
.
damcon
,
cm
.
damop
,
false
)
e3
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e3
)
--Continuous Effect
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
,
e3
)
end
...
...
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