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
MyCard
pre-release-database-cdb
Commits
732d1326
Commit
732d1326
authored
Jan 24, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 夙めてはしろ 二人ではしろ
parent
1fa936a8
Pipeline
#32754
passed with stages
in 2 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
18 deletions
+11
-18
script/c101208068.lua
script/c101208068.lua
+11
-18
No files found.
script/c101208068.lua
View file @
732d1326
...
@@ -22,34 +22,27 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -22,34 +22,27 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
end
end
function
s
.
gcheck
(
g
,
tp
)
local
ct
=
7
-
g
:
GetCount
()
if
ct
>
0
then
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
tc
)
if
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
,
POS_FACEDOWN
)
~=
tc
then
return
false
end
end
return
true
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
POS_FACEDOWN
)
local
ct1
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
s
.
gcheck
,
1
,
7
,
tp
)
or
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
POS_FACEDOWN
)
==
7
end
local
ct2
=
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
==
7
if
chk
==
0
then
return
ct1
+
ct2
>=
7
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
7
,
0
,
LOCATION_EXTRA
+
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
7
,
0
,
LOCATION_EXTRA
+
LOCATION_DECK
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
local
dg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
POS_FACEDOWN
)
local
edg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
if
not
(
g
:
CheckSubGroup
(
s
.
gcheck
,
1
,
7
,
tp
)
or
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
POS_FACEDOWN
)
==
7
)
then
return
end
local
ct1
=
dg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
ct2
=
edg
:
GetCount
()
if
ct1
+
ct2
<
7
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
local
sg
=
g
:
SelectSubGroup
(
1
-
tp
,
s
.
gcheck
,
true
,
1
,
7
,
tp
)
local
sg
=
edg
:
Select
(
1
-
tp
,
7
-
ct1
,
ct2
,
nil
)
local
ct
=
sg
:
GetCount
()
local
ct
=
sg
:
GetCount
()
if
ct
>
0
then
if
ct
>
0
then
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_
EFFECT
)
Duel
.
Remove
(
sg
,
POS_FACEDOWN
,
REASON_
RULE
,
1
-
tp
)
end
end
if
ct
<
7
then
if
ct
<
7
then
local
rsg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
-
ct
)
local
rsg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
-
ct
)
Duel
.
Remove
(
rsg
,
POS_FACEDOWN
,
REASON_
EFFECT
)
Duel
.
Remove
(
rsg
,
POS_FACEDOWN
,
REASON_
RULE
,
1
-
tp
)
end
end
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