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
aa1d141c
Commit
aa1d141c
authored
Apr 25, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sign out
parent
62aa5f68
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
20 deletions
+21
-20
expansions/script/c21520161.lua
expansions/script/c21520161.lua
+5
-5
expansions/script/c21520162.lua
expansions/script/c21520162.lua
+5
-5
expansions/script/c21520163.lua
expansions/script/c21520163.lua
+5
-5
expansions/script/c21520164.lua
expansions/script/c21520164.lua
+5
-5
expansions/strings.conf
expansions/strings.conf
+1
-0
No files found.
expansions/script/c21520161.lua
View file @
aa1d141c
...
...
@@ -84,8 +84,8 @@ function c21520161.ccost(e,tp)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_RULE
)
end
end
function
c21520161
.
ctfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
function
c21520161
.
ctfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
and
Duel
.
IsExistingMatchingCard
(
c21520161
.
ctspfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
21520171
,
Group
.
FromCards
(
e
:
GetHandler
(),
c
))
end
function
c21520161
.
ctspfilter
(
c
,
code
,
sg
)
return
c
:
IsCode
(
code
)
and
c
:
IsFusionSummonableCard
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
c
)
>
0
...
...
@@ -94,10 +94,10 @@ function c21520161.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
==
TYPE_TRAP
+
TYPE_CONTINUOUS
end
function
c21520161
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkkc
then
return
c21520161
.
ctfilter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520161
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkkc
then
return
c21520161
.
ctfilter
(
chkc
,
e
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520161
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520161
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520161
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c21520161
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c21520162.lua
View file @
aa1d141c
...
...
@@ -99,8 +99,8 @@ function c21520162.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
sg
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
end
function
c21520162
.
ctfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
function
c21520162
.
ctfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
and
Duel
.
IsExistingMatchingCard
(
c21520162
.
ctspfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
21520172
,
Group
.
FromCards
(
e
:
GetHandler
(),
c
))
end
function
c21520162
.
ctspfilter
(
c
,
code
,
sg
)
return
c
:
IsCode
(
code
)
and
c
:
IsFusionSummonableCard
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
c
)
>
0
...
...
@@ -109,10 +109,10 @@ function c21520162.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
==
TYPE_TRAP
+
TYPE_CONTINUOUS
end
function
c21520162
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkkc
then
return
c21520162
.
ctfilter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520162
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkkc
then
return
c21520162
.
ctfilter
(
chkc
,
e
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520162
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520162
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520162
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c21520162
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c21520163.lua
View file @
aa1d141c
...
...
@@ -103,8 +103,8 @@ function c21520163.drop(e,tp,eg,ep,ev,re,r,rp)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
function
c21520163
.
ctfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
function
c21520163
.
ctfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
and
Duel
.
IsExistingMatchingCard
(
c21520163
.
ctspfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
21520173
,
Group
.
FromCards
(
e
:
GetHandler
(),
c
))
end
function
c21520163
.
ctspfilter
(
c
,
code
,
sg
)
return
c
:
IsCode
(
code
)
and
c
:
IsFusionSummonableCard
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
c
)
>
0
...
...
@@ -113,10 +113,10 @@ function c21520163.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
==
TYPE_TRAP
+
TYPE_CONTINUOUS
end
function
c21520163
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkkc
then
return
c21520163
.
ctfilter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520163
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkkc
then
return
c21520163
.
ctfilter
(
chkc
,
e
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520163
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520163
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520163
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c21520163
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c21520164.lua
View file @
aa1d141c
...
...
@@ -100,8 +100,8 @@ function c21520164.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c21520164
.
ctfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
function
c21520164
.
ctfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
and
Duel
.
IsExistingMatchingCard
(
c21520164
.
ctspfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
21520174
,
Group
.
FromCards
(
e
:
GetHandler
(),
c
))
end
function
c21520164
.
ctspfilter
(
c
,
code
,
sg
)
return
c
:
IsCode
(
code
)
and
c
:
IsFusionSummonableCard
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
c
)
>
0
...
...
@@ -110,10 +110,10 @@ function c21520164.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_TRAP
+
TYPE_CONTINUOUS
)
==
TYPE_TRAP
+
TYPE_CONTINUOUS
end
function
c21520164
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkkc
then
return
c21520164
.
ctfilter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520164
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkkc
then
return
c21520164
.
ctfilter
(
chkc
,
e
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21520164
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520164
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c21520164
.
ctfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c21520164
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/strings.conf
View file @
aa1d141c
...
...
@@ -658,6 +658,7 @@ aux.AddCodeList(c,16160006) 阿比盖尔卡名记述
#Senya_name_with_remix Remix リミックス
#一般路过群复读姬 1032308173 379 0x380-0x38f
!
setname
0
x380
隐居
!
setname
0
x381
界神
!
setname
0
x389
神隐
!
counter
0
x389
神隐指示物
...
...
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