Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
e5b1e49e
Commit
e5b1e49e
authored
Aug 09, 2025
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 34047
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
9aa3da41
Pipeline
#40032
passed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c34047.lua
script/c34047.lua
+2
-2
No files found.
script/c34047.lua
View file @
e5b1e49e
...
@@ -36,11 +36,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,11 +36,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
tp_ct
=
math.min
(
#
tp_g
,
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
))
local
tp_ct
=
math.min
(
#
tp_g
,
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
))
local
op_ct
=
math.min
(
#
op_g
,
Duel
.
GetFieldGroupCount
(
1
-
tp
,
LOCATION_DECK
,
0
))
local
op_ct
=
math.min
(
#
op_g
,
Duel
.
GetFieldGroupCount
(
1
-
tp
,
LOCATION_DECK
,
0
))
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_HAND
,
0
,
1
,
tp_ct
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_HAND
,
0
,
0
,
tp_ct
,
nil
)
if
#
tg
>
0
then
if
#
tg
>
0
then
Duel
.
SendtoDeck
(
tg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tg
,
nil
,
2
,
REASON_EFFECT
)
end
end
local
og
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
aux
.
TRUE
,
1
-
tp
,
LOCATION_HAND
,
0
,
1
,
op_ct
,
nil
)
local
og
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
aux
.
TRUE
,
1
-
tp
,
LOCATION_HAND
,
0
,
0
,
op_ct
,
nil
)
if
#
og
>
0
then
if
#
og
>
0
then
Duel
.
SendtoDeck
(
og
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
og
,
nil
,
2
,
REASON_EFFECT
)
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