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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
343e10f3
Commit
343e10f3
authored
Nov 16, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
023db938
Pipeline
#6865
passed with stages
in 54 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
expansions/script/c4210013.lua
expansions/script/c4210013.lua
+5
-3
No files found.
expansions/script/c4210013.lua
View file @
343e10f3
...
@@ -107,10 +107,12 @@ end
...
@@ -107,10 +107,12 @@ end
function
c4210013
.
spcon
(
e
,
c
)
function
c4210013
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c4210013
.
spfilter
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c4210013
.
spfilter
,
nil
,
ft
,
tp
)
return
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c4210013
.
mzfilter
,
ct
,
nil
,
tp
))
local
rgc
=
rg
:
GetCount
()
local
c
=
e
:
GetHandler
()
return
(
rgc
>
0
and
Duel
.
CheckReleaseGroup
(
tp
,
c4210013
.
spfilter
,
1
,
nil
,
rgc
,
tp
)
and
c
:
IsLocation
(
LOCATION_HAND
))
or
(
rgc
>
1
and
Duel
.
CheckReleaseGroup
(
tp
,
c4210013
.
spfilter
,
2
,
nil
,
rgc
,
tp
)
and
c
:
IsLocation
(
LOCATION_DECK
))
end
end
function
c4210013
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c4210013
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
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