Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
2f0d819e
Commit
2f0d819e
authored
May 17, 2022
by
Chrono-Genex
Committed by
GitHub
May 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Steelswarm Caucastag (#1881)
parent
8888fedf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
c84488827.lua
c84488827.lua
+7
-7
No files found.
c84488827.lua
View file @
2f0d819e
...
...
@@ -38,16 +38,16 @@ function c84488827.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
g2
=
Duel
.
GetMatchingGroup
(
c84488827
.
sfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
84488827
,
0
))
if
g1
:
GetCount
()
>
0
and
g2
:
GetCount
()
>
0
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
84488827
,
1
),
aux
.
Stringid
(
84488827
,
2
))
+
1
elseif
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
and
g2
:
GetCount
()
==
0
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
84488827
,
1
))
+
1
elseif
g2
:
GetCount
()
>
0
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
84488827
,
2
))
+
2
elseif
g1
:
GetCount
()
==
0
and
g2
:
GetCount
()
>
0
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
84488827
,
1
))
+
2
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
84488827
,
1
),
aux
.
Stringid
(
84488827
,
2
))
+
1
end
if
op
==
1
then
if
op
==
1
and
g1
:
GetCount
()
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g1
,
g1
:
GetCount
(),
0
,
0
)
elseif
op
==
2
then
elseif
op
==
2
and
g2
:
GetCount
()
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g2
,
g2
:
GetCount
(),
0
,
0
)
end
e
:
SetLabel
(
op
)
...
...
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