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
d90bf142
Commit
d90bf142
authored
Nov 26, 2020
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Myutant Expansion
parent
e59bd8f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
c60967717.lua
c60967717.lua
+6
-5
No files found.
c60967717.lua
View file @
d90bf142
...
@@ -18,20 +18,21 @@ function c60967717.initial_effect(c)
...
@@ -18,20 +18,21 @@ function c60967717.initial_effect(c)
e2
:
SetOperation
(
c60967717
.
repop
)
e2
:
SetOperation
(
c60967717
.
repop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c60967717
.
filter
(
c
,
e
,
tp
,
check
)
function
c60967717
.
filter
(
c
,
e
,
tp
,
ft
)
return
c
:
IsSetCard
(
0x157
)
and
c
:
IsLevelBelow
(
4
)
return
c
:
IsSetCard
(
0x157
)
and
c
:
IsLevelBelow
(
4
)
and
((
check
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
or
c
:
IsAbleToHand
())
and
((
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
or
c
:
IsAbleToHand
())
end
end
function
c60967717
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60967717
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c60967717
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
Duel
.
GetMZoneCount
(
tp
)
>
0
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
GetMatchingGroup
(
c60967717
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
ft
)
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60967717
,
0
))
then
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60967717
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
opt
=
0
local
opt
=
0
if
not
tc
:
IsAbleToHand
()
then
if
not
tc
:
IsAbleToHand
()
then
opt
=
0
elseif
not
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
opt
=
1
opt
=
1
elseif
not
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
ft
<=
0
then
opt
=
0
else
else
opt
=
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
opt
=
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
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