Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
d77ae5a3
Commit
d77ae5a3
authored
Jun 26, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
bc7c5581
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
expansions/script/c12024010.lua
expansions/script/c12024010.lua
+2
-1
expansions/script/c12024021.lua
expansions/script/c12024021.lua
+5
-0
No files found.
expansions/script/c12024010.lua
View file @
d77ae5a3
...
...
@@ -83,8 +83,9 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsLocation
(
LOCATION_FZONE
)
then
return
end
if
not
e
:
GetHandler
():
IsLocation
(
LOCATION_FZONE
)
then
return
end
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
e
:
Reset
()
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandlerPlayer
()
~=
tp
end
...
...
expansions/script/c12024021.lua
View file @
d77ae5a3
...
...
@@ -28,6 +28,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCost
(
cm
.
incost
)
e2
:
SetTarget
(
cm
.
indtg
)
e2
:
SetOperation
(
cm
.
indop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -43,6 +44,10 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
incost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
end
Duel
.
PayLPCost
(
tp
,
1000
)
end
function
cm
.
dircon
(
e
)
return
e
:
GetHandler
():
GetColumnGroup
():
FilterCount
(
Card
.
IsFacedown
,
nil
)
>
0
end
...
...
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