Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Vury Leo
pre-release-database-cdb
Commits
68cb2e4f
Commit
68cb2e4f
authored
Jan 01, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 械刀婪魔皇断
parent
aaadbd9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
script/c101208066.lua
script/c101208066.lua
+7
-1
No files found.
script/c101208066.lua
View file @
68cb2e4f
...
@@ -51,6 +51,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,6 +51,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
selgroup
(
g
,
tp
,
ct
)
function
s
.
selgroup
(
g
,
tp
,
ct
)
if
not
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_HAND
)
then
return
g
:
Select
(
tp
,
ct
*
6
,
ct
*
6
,
nil
)
end
if
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
<
6
then
return
g
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
ct
,
ct
,
nil
,
LOCATION_HAND
)
end
local
rg
=
Group
.
CreateGroup
()
local
rg
=
Group
.
CreateGroup
()
while
true
do
while
true
do
local
cct
=
s
.
getct
(
rg
)
local
cct
=
s
.
getct
(
rg
)
...
@@ -65,7 +71,7 @@ function s.selgroup(g,tp,ct)
...
@@ -65,7 +71,7 @@ function s.selgroup(g,tp,ct)
end
end
sg
=
sg
-
rg
sg
=
sg
-
rg
end
end
local
tc
=
sg
:
SelectUnselect
(
rg
,
tp
,
finish
,
not
finish
,
cct
,
ct
)
local
tc
=
sg
:
SelectUnselect
(
rg
,
tp
,
finish
,
not
finish
and
#
rg
>
0
,
cct
,
ct
)
if
tc
==
nil
then
if
tc
==
nil
then
if
finish
then
if
finish
then
break
break
...
...
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