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
775bab61
Commit
775bab61
authored
Jan 08, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c16138025.lua
parent
f49fb102
Pipeline
#32430
passed with stages
in 32 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
expansions/script/c16138025.lua
expansions/script/c16138025.lua
+3
-10
No files found.
expansions/script/c16138025.lua
View file @
775bab61
...
...
@@ -133,15 +133,8 @@ function s.desfilter(c)
return
not
c
:
IsLocation
(
LOCATION_SZONE
)
or
c
:
GetSequence
()
<
5
end
function
s
.
seqfilter
(
c
,
seq
,
tp
)
local
loc
=
LOCATION_MZONE
if
seq
>=
8
then
loc
=
LOCATION_SZONE
seq
=
seq
-
8
end
if
seq
>=
5
and
loc
==
LOCATION_SZONE
then
return
false
end
if
seq
==
7
and
loc
==
LOCATION_MZONE
then
return
false
end
local
cseq
=
c
:
GetSequence
()
local
cloc
=
c
:
GetLocation
(
)
Debug
.
Message
(
cseq
)
if
cloc
==
LOCATION_SZONE
and
cseq
>=
5
then
return
false
end
if
cloc
==
LOCATION_MZONE
and
cseq
>=
5
and
loc
==
LOCATION_MZONE
and
(
seq
==
1
and
cseq
==
5
or
seq
==
3
and
cseq
==
6
or
seq
==
cseq
)
then
return
true
end
...
...
@@ -158,8 +151,8 @@ function s.seqtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
seqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
filter
=
0
for
i
=
0
,
15
do
if
not
Duel
.
IsExistingMatchingCard
(
s
.
seqfilter
,
tp
,
0
,
LOCATION_
MZONE
,
1
,
nil
,
i
,
tp
)
then
for
i
=
0
,
6
do
if
not
Duel
.
IsExistingMatchingCard
(
s
.
seqfilter
,
tp
,
0
,
LOCATION_
ONFIELD
,
1
,
nil
,
i
,
tp
)
then
filter
=
filter
|
1
<<
(
i
+
16
)
end
end
...
...
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