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
3
Issues
3
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
ef4552a4
Commit
ef4552a4
authored
Oct 31, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/10/31 传说卡注册修改
parent
5ccd27fa
Pipeline
#17659
passed with stages
in 5 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
script/RDRule.lua
script/RDRule.lua
+3
-4
script/special.lua
script/special.lua
+1
-1
No files found.
script/RDRule.lua
View file @
ef4552a4
...
@@ -14,7 +14,7 @@ function RushDuel.Init()
...
@@ -14,7 +14,7 @@ function RushDuel.Init()
Duel
.
Draw
(
0
,
1
,
REASON_RULE
)
Duel
.
Draw
(
0
,
1
,
REASON_RULE
)
end
end
-- 传说卡
-- 传说卡
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
0
,
0xff
,
0xff
,
nil
,
120000000
)
local
g
=
Duel
.
GetMatchingGroup
(
RushDuel
.
IsLegend
,
0
,
0xff
,
0xff
,
nil
)
g
:
ForEach
(
RushDuel
.
InitLegend
)
g
:
ForEach
(
RushDuel
.
InitLegend
)
e
:
Reset
()
e
:
Reset
()
end
)
end
)
...
@@ -72,8 +72,7 @@ function RushDuel.InitLegend(c)
...
@@ -72,8 +72,7 @@ function RushDuel.InitLegend(c)
local
e
=
Effect
.
GlobalEffect
()
local
e
=
Effect
.
GlobalEffect
()
e
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
:
SetCode
(
EFFECT_ADD_CODE
)
e
:
SetCode
(
EFFECT_ADD_CODE
)
e
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
:
SetRange
(
0xff
)
e
:
SetValue
(
c
:
GetOriginalCode
())
e
:
SetValue
(
c
:
GetOriginalCode
())
c
:
RegisterEffect
(
e
)
c
:
RegisterEffect
(
e
,
true
)
end
end
script/special.lua
View file @
ef4552a4
-- Load Rush Duel
-- Load Rush Duel
Duel
.
LoadScript
(
"RDBase.lua"
)
Duel
.
LoadScript
(
"RDBase.lua"
)
Duel
.
LoadScript
(
"RDCode.lua"
)
Duel
.
LoadScript
(
"RDRule.lua"
)
Duel
.
LoadScript
(
"RDRule.lua"
)
Duel
.
LoadScript
(
"RDMaximum.lua"
)
Duel
.
LoadScript
(
"RDMaximum.lua"
)
Duel
.
LoadScript
(
"RDFunction.lua"
)
Duel
.
LoadScript
(
"RDFunction.lua"
)
Duel
.
LoadScript
(
"RDCode.lua"
)
Duel
.
LoadScript
(
"RDCondition.lua"
)
Duel
.
LoadScript
(
"RDCondition.lua"
)
Duel
.
LoadScript
(
"RDCost.lua"
)
Duel
.
LoadScript
(
"RDCost.lua"
)
Duel
.
LoadScript
(
"RDTarget.lua"
)
Duel
.
LoadScript
(
"RDTarget.lua"
)
...
...
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