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
yks
pre-release-database-cdb
Commits
b23f70d9
Commit
b23f70d9
authored
Jan 26, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 仇すれば通図
parent
5ab961a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
script/c101204067.lua
script/c101204067.lua
+3
-2
No files found.
script/c101204067.lua
View file @
b23f70d9
...
...
@@ -46,13 +46,14 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
local
dt
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
ct
=
math.min
(
ct
,
dt
)
if
ct
==
0
then
return
end
local
t
=
{}
for
i
=
1
,
ct
do
t
[
i
]
=
i
end
local
ac
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
Duel
.
ConfirmDecktop
(
p
,
ac
)
local
g
=
Duel
.
GetDecktopGroup
(
p
,
ac
)
if
g
:
GetCount
()
>
0
then
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
Select
(
p
,
1
,
1
,
nil
)
if
sg
:
GetFirst
():
IsAbleToHand
()
then
...
...
@@ -100,7 +101,7 @@ end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
if
aux
.
NecroValleyNegateCheck
(
g
)
then
return
end
if
g
:
GetCount
()
>
0
then
if
#
g
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
\ No newline at end of file
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