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
9c012cbd
Commit
9c012cbd
authored
Oct 27, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/10/27 bug修复
parent
634866c1
Pipeline
#41297
passed with stages
in 8 minutes and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
script/RDBase.lua
script/RDBase.lua
+4
-1
script/RDRule.lua
script/RDRule.lua
+1
-1
No files found.
script/RDBase.lua
View file @
9c012cbd
...
...
@@ -100,13 +100,16 @@ function RushDuel.CreatePlayerTargetGlobalEffect(code, value)
return
e1
end
-- 创建效果: 影响全场的全局效果
function
RushDuel
.
CreateFieldGlobalEffect
(
is_continuous
,
code
,
operation
)
function
RushDuel
.
CreateFieldGlobalEffect
(
is_continuous
,
code
,
operation
,
limit
)
local
e1
=
Effect
.
GlobalEffect
()
if
is_continuous
then
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
else
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
end
if
limit
then
e1
:
SetCountLimit
(
limit
)
end
e1
:
SetCode
(
code
)
e1
:
SetOperation
(
operation
)
Duel
.
RegisterEffect
(
e1
,
0
)
...
...
script/RDRule.lua
View file @
9c012cbd
...
...
@@ -90,7 +90,7 @@ function RushDuel.InitRule()
-- 结束阶段重置计数
RushDuel
.
CreateFieldGlobalEffect
(
true
,
EVENT_PHASE
+
PHASE_END
,
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RushDuel
.
ActivateCodes
=
{{},
{}}
end
)
end
,
1
)
-- 极大怪兽
RushDuel
.
InitMaximum
()
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