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
c5acc3df
Commit
c5acc3df
authored
Jan 10, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man!
parent
2c82dcc1
Pipeline
#32479
passed with stages
in 41 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
expansions/script/c16138025.lua
expansions/script/c16138025.lua
+14
-8
No files found.
expansions/script/c16138025.lua
View file @
c5acc3df
...
@@ -135,17 +135,23 @@ end
...
@@ -135,17 +135,23 @@ end
function
s
.
seqfilter
(
c
,
seq
,
tp
)
function
s
.
seqfilter
(
c
,
seq
,
tp
)
local
cseq
=
c
:
GetSequence
()
local
cseq
=
c
:
GetSequence
()
local
cloc
=
c
:
GetLocation
()
local
cloc
=
c
:
GetLocation
()
if
cloc
&
LOCATION_SZONE
~=
0
and
cseq
>=
5
then
return
false
end
if
cloc
&
LOCATION_MZONE
~=
0
and
cseq
>=
5
then
if
c
:
IsControler
(
tp
)
then
return
seq
==
1
and
cseq
==
6
or
seq
==
3
and
cseq
==
5
else
return
seq
==
1
and
cseq
==
5
or
seq
==
3
and
cseq
==
6
end
end
if
c
:
IsControler
(
tp
)
then
if
c
:
IsControler
(
tp
)
then
return
(
cseq
==
5
and
seq
==
3
)
or
(
cseq
==
6
and
seq
==
1
)
return
false
end
end
if
cloc
==
LOCATION_SZONE
and
cseq
>=
5
then
return
false
end
if
cloc
&
LOCATION_MZONE
~=
0
then
if
cloc
==
LOCATION_MZONE
and
cseq
>=
5
and
loc
==
LOCATION_MZONE
return
cseq
==
seq
or
seq
<
5
and
cseq
<
5
and
math.abs
(
cseq
-
seq
)
==
1
and
(
seq
==
1
and
cseq
==
5
or
seq
==
3
and
cseq
==
6
or
seq
==
cseq
)
then
return
true
end
else
if
cloc
==
LOCATION_MZONE
and
seq
>=
5
and
loc
==
LOCATION_MZONE
return
cseq
==
seq
and
Duel
.
IsExistingMatchingCard
(
s
.
exmzfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
seq
)
then
return
seq
==
5
and
cseq
==
1
or
seq
==
6
and
cseq
==
3
end
end
return
cseq
==
seq
or
seq
<
5
and
cseq
<
5
and
cloc
==
loc
and
math.abs
(
cseq
-
seq
)
==
1
return
false
end
end
function
s
.
seqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
seqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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