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
625f81ec
Commit
625f81ec
authored
Sep 04, 2016
by
nekrozar
Committed by
DailyShana
Sep 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Infernoid Tierra (#569)
parent
fd28e41f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c82734805.lua
c82734805.lua
+4
-4
No files found.
c82734805.lua
View file @
625f81ec
...
@@ -46,8 +46,8 @@ function c82734805.tg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -46,8 +46,8 @@ function c82734805.tg(e,tp,eg,ep,ev,re,r,rp,chk)
con5
=
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
3
)
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
3
)
con5
=
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
3
)
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
3
)
end
end
if
ct
>=
8
then
if
ct
>=
8
then
con8
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
con8
=
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_REMOVED
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_REMOVED
,
1
,
nil
)
end
end
if
ct
>=
10
then
if
ct
>=
10
then
con10
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
LOCATION_HAND
)
>
0
con10
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
LOCATION_HAND
)
>
0
...
@@ -82,9 +82,9 @@ function c82734805.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,9 +82,9 @@ function c82734805.op(e,tp,eg,ep,ev,re,r,rp)
if
ct
>=
8
then
if
ct
>=
8
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
3
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
3
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsFaceup
,
1
-
tp
,
LOCATION_REMOVED
,
0
,
1
,
3
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
nil
,
1
-
tp
,
LOCATION_REMOVED
,
0
,
1
,
3
,
nil
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
+
REASON_RETURN
)
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
+
REASON_RETURN
)
...
...
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