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
1
Merge Requests
1
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
MyCard
pre-release-database-cdb
Commits
63fb60fb
Commit
63fb60fb
authored
Jan 25, 2025
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix c101208068
修复会使人机闪退的bug 以及可以选择7张以上额外的bug
parent
1aeb5b32
Pipeline
#32792
failed with stages
in 2 minutes
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
script/c101208068.lua
script/c101208068.lua
+5
-5
No files found.
script/c101208068.lua
View file @
63fb60fb
...
...
@@ -45,13 +45,13 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct2
=
edg
:
GetCount
()
if
ct1
+
ct2
<
7
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
local
sg
=
edg
:
SelectSubGroup
(
1
-
tp
,
aux
.
TRUE
,
ct1
==
7
,
7
-
ct1
,
ct2
,
nil
)
local
ct
=
sg
:
GetCount
(
)
if
ct
>
0
then
local
sg
=
edg
:
CancelableSelect
(
1
-
tp
,
7
-
ct1
,
7
,
nil
)
local
rsg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
if
sg
then
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_RULE
,
1
-
tp
)
rsg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
-
sg
:
GetCount
())
end
if
ct
<
7
then
local
rsg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
-
ct
)
if
rsg
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
rsg
,
POS_FACEDOWN
,
REASON_RULE
,
1
-
tp
)
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