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
0
Issues
0
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
936a9fd4
Commit
936a9fd4
authored
Apr 09, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/4/9 新增:魔导骑士-七魔导战车,更新正式卡
parent
b9bcd0e2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
RD Standard.cdb
RD Standard.cdb
+0
-0
script/c120243043.lua
script/c120243043.lua
+44
-0
No files found.
RD Patch.cdb
View file @
936a9fd4
No preview for this file type
RD Standard.cdb
View file @
936a9fd4
No preview for this file type
script/c120243043.lua
0 → 100644
View file @
936a9fd4
local
m
=
120243043
local
list
=
{
120105001
,
120243013
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"魔导骑士-七魔导战车"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
list
[
1
],
list
[
2
])
--Multi-Choose Effect
RD
.
CreateMultiChooseEffect
(
c
,
nil
,
cm
.
cost
,
aux
.
Stringid
(
m
,
1
),
cm
.
target1
,
cm
.
operation1
,
aux
.
Stringid
(
m
,
2
),
cm
.
target2
,
cm
.
operation2
,
CATEGORY_ATKCHANGE
,
CATEGORY_DESTROY
)
end
--Multi-Choose Effect
function
cm
.
filter
(
c
)
return
c
:
GetSequence
()
<
5
end
cm
.
cost
=
RD
.
CostSendDeckTopToGrave
(
1
)
--Atk Up
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
end
end
function
cm
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
atk
=
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
nil
)
*
500
RD
.
AttachAtkDef
(
e
,
c
,
atk
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
end
end
--Indes Effect
cm
.
indval
=
RD
.
ValueEffectIndesType
(
0
,
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
)
function
cm
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
RD
.
IsCanAttachEffectIndes
(
e
:
GetHandler
(),
tp
,
cm
.
indval
)
end
end
function
cm
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
RD
.
AttachEffectIndes
(
e
,
c
,
cm
.
indval
,
aux
.
Stringid
(
m
,
3
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
ct
>
0
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
4
),
HINTMSG_DESTROY
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
,
function
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
)
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