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
09e2503a
Commit
09e2503a
authored
Nov 14, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/11/14 新增:无貌之死路魔
parent
947c88cd
Changes
2
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/c120109034.lua
script/c120109034.lua
+49
-0
No files found.
RD Patch.cdb
View file @
09e2503a
No preview for this file type
script/c120109034.lua
0 → 100644
View file @
09e2503a
local
m
=
120109034
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"无貌之死路魔"
function
cm
.
initial_effect
(
c
)
--Special Summon Procedure
RD
.
AddHandSpecialSummonProcedure
(
c
,
aux
.
Stringid
(
m
,
0
),
cm
.
spcon
,
cm
.
sptg
,
cm
.
spop
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
cm
.
uptg
)
e1
:
SetValue
(
300
)
c
:
RegisterEffect
(
e1
)
--Continuous Effect
RushDuel
.
AddContinuousEffect
(
c
,
e1
)
end
--Special Summon Procedure
function
cm
.
spconfilter
(
c
)
return
c
:
IsRace
(
RACE_FIEND
)
and
not
c
:
IsPublic
()
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spconfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spconfilter
,
tp
,
LOCATION_HAND
,
0
,
0
,
1
,
e
:
GetHandler
())
if
g
:
GetCount
()
>
0
then
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
return
true
else
return
false
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
g
:
DeleteGroup
()
end
--Atk Up
function
cm
.
uptg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
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