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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
b196eade
You need to sign in or sign up before continuing.
Commit
b196eade
authored
Nov 06, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
09364617
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12301102.lua
expansions/script/c12301102.lua
+1
-0
expansions/script/c12301117.lua
expansions/script/c12301117.lua
+6
-2
expansions/script/c12301135.lua
expansions/script/c12301135.lua
+4
-0
No files found.
expansions/222DIY.cdb
View file @
b196eade
No preview for this file type
expansions/script/c12301102.lua
View file @
b196eade
...
...
@@ -6,6 +6,7 @@ function c12301102.initial_effect(c)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCost
(
c12301102
.
accs
)
e0
:
SetTarget
(
function
(
chk
)
if
chk
==
0
then
return
true
end
end
)
e0
:
SetOperation
(
c12301102
.
acop
)
e0
:
SetCountLimit
(
1
,
12301102
+
EFFECT_COUNT_CODE_OATH
)
c
:
RegisterEffect
(
e0
)
...
...
expansions/script/c12301117.lua
View file @
b196eade
...
...
@@ -7,6 +7,7 @@ function c12301117.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
12301117
,
0
))
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCost
(
c12301117
.
spcs
)
e1
:
SetTarget
(
c12301117
.
sptg
)
e1
:
SetOperation
(
c12301117
.
spop
)
e1
:
SetCountLimit
(
1
,
12301117
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -38,11 +39,14 @@ function c12301117.filspcs(c,tp)
end
function
c12301117
.
spcs
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12301117
.
filspcs
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
c
,
tp
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
nil
,
tp
,
false
,
false
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12301117
.
filspcs
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
c
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rg
=
Duel
.
SelectMatchingCard
(
tp
,
c12301117
.
filspcs
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
1
,
c
)
Duel
.
Release
(
rg
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
tp
,
LOCATION_HAND
)
end
function
c12301117
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
nil
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
LOCATION_HAND
)
end
function
c12301117
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c12301135.lua
View file @
b196eade
...
...
@@ -24,6 +24,7 @@ function cm.initial_effect(c)
e2
:
SetCountLimit
(
1
,
m
+
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCost
(
cm
.
frcost
)
e2
:
SetTarget
(
cm
.
frtg
)
e2
:
SetOperation
(
cm
.
frop
)
c
:
RegisterEffect
(
e2
)
--tograve
...
...
@@ -70,6 +71,9 @@ end
function
cm
.
frcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
cm
.
frtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
function
cm
.
frop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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