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
Ai
ygopro-222DIY-cards
Commits
8475729d
Commit
8475729d
authored
Aug 27, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
1b01e96f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
expansions/script/c66915034.lua
expansions/script/c66915034.lua
+1
-2
No files found.
expansions/script/c66915034.lua
View file @
8475729d
...
...
@@ -45,8 +45,7 @@ function c66915034.filter2(c,e,tp,m,f,chkf)
end
function
c66915034
.
fcheck
(
tp
,
sg
,
fc
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_SZONE
,
0
)
return
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
<=
ct
and
(
not
sg
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_EXTRA
)
or
(
sg
:
IsExists
(
c66915034
.
filterchk
,
1
,
nil
)))
and
sg
:
GetCount
()
>=
3
return
((
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
<=
ct
and
(
sg
:
IsExists
(
c66915034
.
filterchk
,
1
,
nil
))))
or
(
not
sg
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_EXTRA
))
and
sg
:
GetCount
()
>=
3
end
function
c66915034
.
gcheck
(
sg
)
return
sg
:
GetCount
()
>=
3
...
...
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