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
c9bb80be
Commit
c9bb80be
authored
May 11, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/5/11 新增:刚击龙 星齿车戒钢龙F
parent
bb0c780d
Pipeline
#12684
passed with stages
in 3 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120217004.lua
script/c120217004.lua
+49
-0
No files found.
RD Patch.cdb
View file @
c9bb80be
No preview for this file type
script/c120217004.lua
0 → 100644
View file @
c9bb80be
local
m
=
120217004
local
list
=
{
120183017
,
120196026
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"刚击龙 星齿车戒钢龙F"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
])
--Fusion Material
aux
.
AddFusionProcCode2
(
c
,
list
[
1
],
list
[
2
],
true
,
true
)
--Multi-Choose Effect
local
e1
=
RD
.
CreateMultiChooseEffect
(
c
,
aux
.
Stringid
(
m
,
1
),
cm
.
eff1con
,
cm
.
eff1op
,
aux
.
Stringid
(
m
,
2
),
cm
.
eff2con
,
cm
.
eff2op
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetCost
(
cm
.
cost
)
c
:
RegisterEffect
(
e1
)
end
--Multi-Choose Effect
cm
.
cost
=
RD
.
CostSendDeckTopToGrave
(
1
)
--Atk Up
function
cm
.
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
eff1op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
g
:
ForEach
(
function
(
tc
)
RD
.
AttachAtkDef
(
e
,
tc
,
500
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
end
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
RD
.
AttachExtraAttackMonster
(
e
,
c
,
1
,
aux
.
Stringid
(
m
,
3
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
end
end
--Indes
cm
.
indval
=
RD
.
ValueEffectIndesType
(
0
,
TYPE_TRAP
,
true
)
function
cm
.
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
eff2op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
g
:
ForEach
(
function
(
tc
)
RD
.
AttachBattleIndes
(
e
,
tc
,
1
,
aux
.
Stringid
(
m
,
4
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
RD
.
AttachEffectIndes
(
e
,
tc
,
cm
.
indval
,
aux
.
Stringid
(
m
,
5
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
end
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
RD
.
AttachExtraAttackMonster
(
e
,
c
,
1
,
aux
.
Stringid
(
m
,
3
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
end
end
\ No newline at end of file
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