Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
ygopro-scripts
Commits
1c1be7b7
Commit
1c1be7b7
authored
Oct 11, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21 from DailyShana/patch-2
fix
parents
40a1986b
41dcda66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
c13210191.lua
c13210191.lua
+4
-2
No files found.
c13210191.lua
View file @
1c1be7b7
...
@@ -26,9 +26,11 @@ function c13210191.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,9 +26,11 @@ function c13210191.activate(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
GetMatchingGroup
(
c13210191
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
local
g1
=
Duel
.
GetMatchingGroup
(
c13210191
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
local
ct1
=
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
local
ct1
=
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
if
ct1
==
0
then
return
end
if
ct1
==
0
then
return
end
Duel
.
BreakEffect
()
local
g2
=
Duel
.
GetMatchingGroup
(
c13210191
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c13210191
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
g2
:
GetCount
()
<=
ct1
then
local
ct2
=
g2
:
GetCount
()
if
ct2
==
0
then
return
end
Duel
.
BreakEffect
()
if
ct2
<=
ct1
then
Duel
.
Destroy
(
g2
,
REASON_EFFECT
)
Duel
.
Destroy
(
g2
,
REASON_EFFECT
)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
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