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
15c6bd95
Commit
15c6bd95
authored
Jan 31, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
d1e46752
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
6 deletions
+21
-6
expansions/script/c119007.lua
expansions/script/c119007.lua
+1
-0
expansions/script/c12066000.lua
expansions/script/c12066000.lua
+16
-5
expansions/script/c12066022.lua
expansions/script/c12066022.lua
+1
-1
expansions/script/c64800026.lua
expansions/script/c64800026.lua
+3
-0
No files found.
expansions/script/c119007.lua
View file @
15c6bd95
...
@@ -2,6 +2,7 @@ local m=119007
...
@@ -2,6 +2,7 @@ local m=119007
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"带来死亡的神"
cm
.
name
=
"带来死亡的神"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
119006
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
...
...
expansions/script/c12066000.lua
View file @
15c6bd95
...
@@ -52,7 +52,7 @@ function Sr_skyland.speffect(c,code)
...
@@ -52,7 +52,7 @@ function Sr_skyland.speffect(c,code)
return
e2
return
e2
end
end
function
Sr_skyland
.
spellthfilter
(
c
)
function
Sr_skyland
.
spellthfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
Is
SetCard
(
0x133
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
srre
.
check_set_SkyLand
(
c
)
and
c
:
IsAbleToHand
()
end
end
function
Sr_skyland
.
spelltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
Sr_skyland
.
spelltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
Sr_skyland
.
spellthfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
Sr_skyland
.
spellthfilter
(
chkc
)
end
...
@@ -104,7 +104,18 @@ function Sr_skyland.commoneffect_spcon(e,c)
...
@@ -104,7 +104,18 @@ function Sr_skyland.commoneffect_spcon(e,c)
and
(
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
commoneffect_filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
or
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
)
and
(
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
commoneffect_filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
or
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
)
end
end
function
Sr_skyland
.
commoneffect_spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
Sr_skyland
.
commoneffect_spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
if
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12066012
,
2
))
then
if
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12066012
,
2
))
then
local
g
=
Duel
.
GetMatchingGroup
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
#
g
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
12066012
,
3
))
local
tg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
tg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
tg
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
g
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
g
:
GetFirst
():
RegisterFlagEffect
(
tp
,
12066012
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
elseif
Duel
.
IsExistingMatchingCard
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
GetMatchingGroup
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Sr_skyland
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
#
g
>
1
then
if
#
g
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
12066012
,
3
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
12066012
,
3
))
...
...
expansions/script/c12066022.lua
View file @
15c6bd95
...
@@ -19,7 +19,7 @@ function cm.filter(c)
...
@@ -19,7 +19,7 @@ function cm.filter(c)
return
srre
.
check_set_SkyLand
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
srre
.
check_set_SkyLand
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
filter2
(
c
,
tp
)
function
cm
.
filter2
(
c
,
tp
)
return
srre
.
check_set_SkyLand
(
c
)
and
c
:
IsAbleToGrave
()
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
c
:
GetCode
())
return
srre
.
check_set_SkyLand
(
c
)
and
c
:
IsAbleToGrave
()
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
c
:
GetCode
())
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c64800026.lua
View file @
15c6bd95
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
local
m
=
64800026
local
m
=
64800026
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
--equip
--equip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
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