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
bba4d54a
Commit
bba4d54a
authored
Aug 17, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/8/17 新增:THE☆三重齿车戒龙
parent
764036d0
Pipeline
#23164
passed with stages
in 6 minutes and 46 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
script/c120109031.lua
script/c120109031.lua
+52
-0
No files found.
script/c120109031.lua
0 → 100644
View file @
bba4d54a
local
m
=
120109031
local
list
=
{
120235003
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"THE☆三重齿车戒龙"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
list
[
1
],
list
[
1
],
list
[
1
])
--Multi-Choose Effect
RD
.
CreateMultiChooseEffect
(
c
,
cm
.
condition
,
cm
.
cost
,
aux
.
Stringid
(
m
,
1
),
cm
.
target1
,
cm
.
operation1
,
aux
.
Stringid
(
m
,
2
),
cm
.
target2
,
cm
.
operation2
,
nil
,
CATEGORY_TOGRAVE
+
CATEGORY_GRAVE_ACTION
+
CATEGORY_DESTROY
)
end
--Multi-Choose Effect
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
1
end
cm
.
cost
=
RD
.
CostSendHandToGrave
(
Card
.
IsAbleToGraveAsCost
,
1
,
1
)
--Attack Thrice
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsAbleToEnterBP
()
and
RD
.
IsCanAttachExtraAttack
(
e
:
GetHandler
(),
2
)
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
RD
.
AttachExtraAttack
(
e
,
c
,
2
,
aux
.
Stringid
(
m
,
3
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
end
end
--To Deck
function
cm
.
tdfilter
(
c
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsCode
(
list
[
1
])
and
c
:
IsLocation
(
LOCATION_DECK
)
end
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
cm
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
end
function
cm
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
tdfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
3
,
nil
,
function
(
g
)
if
RD
.
SendToDeckAndExists
(
g
)
then
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
cm
.
exfilter
,
nil
)
if
ct
==
0
then
return
end
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
4
),
HINTMSG_DESTROY
,
cm
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
,
function
(
sg
)
Duel
.
Destroy
(
sg
,
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