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
21ab996b
Commit
21ab996b
authored
Jun 20, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
8b54f79d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
expansions/script/c16130012.lua
expansions/script/c16130012.lua
+9
-3
expansions/script/c16130013.lua
expansions/script/c16130013.lua
+4
-1
expansions/script/c16130014.lua
expansions/script/c16130014.lua
+2
-2
No files found.
expansions/script/c16130012.lua
View file @
21ab996b
...
...
@@ -46,13 +46,16 @@ end
function
cm
.
mzfilter
(
g
,
tp
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
)
>
0
end
function
cm
.
mzfilter1
(
c
,
tp
)
return
c
:
GetSequence
()
<
5
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
return
ft
>-
2
and
mg
:
GetCount
()
>
1
and
(
ft
>
0
or
mg
:
IsExists
(
nil
,
ct
,
nil
))
return
ft
>-
2
and
mg
:
GetCount
()
>
1
and
(
ft
>
0
or
mg
:
IsExists
(
cm
.
mzfilter1
,
ct
,
nil
))
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
@@ -90,17 +93,20 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
gfilter
(
c
)
return
not
c
:
IsRace
(
RACE_ZOMBIE
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
((
rk
.
check
(
c
,
"BOW"
))
or
(
not
Duel
.
IsExistingMatchingCard
(
cm
.
gfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
c
:
IsRace
(
RACE_ZOMBIE
)))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_
GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_
DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
cm
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_
GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_
DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
not
g
or
g
:
GetCount
()
<
1
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
end
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/c16130013.lua
View file @
21ab996b
...
...
@@ -51,7 +51,7 @@ function cm.spcon(e,c)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
return
ft
>-
1
and
mg
:
GetCount
()
>
0
and
(
ft
>
0
or
mg
:
IsExists
(
nil
,
ct
,
nil
))
return
ft
>-
1
and
mg
:
GetCount
()
>
0
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
@@ -89,6 +89,9 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
gfilter
(
c
)
return
not
c
:
IsRace
(
RACE_ZOMBIE
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
((
rk
.
check
(
c
,
"BOW"
))
or
(
not
Duel
.
IsExistingMatchingCard
(
cm
.
gfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
c
:
IsRace
(
RACE_ZOMBIE
)))
and
c
:
IsFaceup
()
end
...
...
expansions/script/c16130014.lua
View file @
21ab996b
...
...
@@ -48,7 +48,7 @@ function cm.ffilter(c,fc,sub,mg,sg)
return
not
sg
or
not
sg
:
IsExists
(
cm
.
filter1
,
1
,
nil
)
end
function
cm
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
m
-
1
)
and
c
:
IsAbleToExtraAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
m
-
2
)
and
c
:
IsAbleToExtraAsCost
()
end
function
cm
.
mzfilter
(
g
,
tp
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
)
>
0
...
...
@@ -59,7 +59,7 @@ function cm.spcon(e,c)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
return
ft
>-
1
and
mg
:
GetCount
()
>
0
and
(
ft
>
0
or
mg
:
IsExists
(
nil
,
ct
,
nil
))
return
ft
>-
1
and
mg
:
GetCount
()
>
0
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
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