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
1f465405
Commit
1f465405
authored
Dec 01, 2021
by
Chrono-Genex
Committed by
GitHub
Dec 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Myutant (#1759)
parent
ec8e7e5c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
c26561172.lua
c26561172.lua
+7
-7
c62201847.lua
c62201847.lua
+7
-7
c8200556.lua
c8200556.lua
+7
-7
No files found.
c26561172.lua
View file @
1f465405
...
@@ -43,13 +43,13 @@ function c26561172.spcostexcheckfilter(c,e,tp,code)
...
@@ -43,13 +43,13 @@ function c26561172.spcostexcheckfilter(c,e,tp,code)
end
end
function
c26561172
.
spcostexcheck
(
c
,
e
,
tp
)
function
c26561172
.
spcostexcheck
(
c
,
e
,
tp
)
local
result
=
false
local
result
=
false
if
c
:
IsType
(
TYPE_MONSTER
)
then
if
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c26561172
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
34695290
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c26561172
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
34695290
)
end
end
if
c
:
IsType
(
TYPE_SPELL
)
then
if
c
:
GetOriginalType
()
&
TYPE_SPELL
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c26561172
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
61089209
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c26561172
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
61089209
)
end
end
if
c
:
IsType
(
TYPE_TRAP
)
then
if
c
:
GetOriginalType
()
&
TYPE_TRAP
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c26561172
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
7574904
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c26561172
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
7574904
)
end
end
return
result
return
result
...
@@ -66,7 +66,7 @@ function c26561172.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,7 +66,7 @@ function c26561172.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c26561172
.
spcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c26561172
.
spcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
e
:
SetLabel
(
cost
:
GetType
())
e
:
SetLabel
(
cost
:
Get
Original
Type
())
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c26561172
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26561172
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -78,9 +78,9 @@ function c26561172.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,9 +78,9 @@ function c26561172.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c26561172
.
spopfilter
(
c
,
e
,
tp
,
typ
)
function
c26561172
.
spopfilter
(
c
,
e
,
tp
,
typ
)
return
(((
typ
&
TYPE_MONSTER
)
>
0
and
c
:
IsCode
(
34695290
))
return
(((
typ
&
TYPE_MONSTER
)
>
0
and
c
:
IsCode
(
34695290
))
or
((
typ
&
TYPE_SPELL
)
>
0
and
c
:
IsCode
(
61089209
))
or
((
typ
&
TYPE_SPELL
)
>
0
and
c
:
IsCode
(
61089209
))
or
((
typ
&
TYPE_TRAP
)
>
0
and
c
:
IsCode
(
7574904
)))
or
((
typ
&
TYPE_TRAP
)
>
0
and
c
:
IsCode
(
7574904
)))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c26561172
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26561172
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c62201847.lua
View file @
1f465405
...
@@ -45,13 +45,13 @@ function c62201847.spcostexcheckfilter(c,e,tp,code)
...
@@ -45,13 +45,13 @@ function c62201847.spcostexcheckfilter(c,e,tp,code)
end
end
function
c62201847
.
spcostexcheck
(
c
,
e
,
tp
)
function
c62201847
.
spcostexcheck
(
c
,
e
,
tp
)
local
result
=
false
local
result
=
false
if
c
:
IsType
(
TYPE_MONSTER
)
then
if
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c62201847
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
34695290
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c62201847
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
34695290
)
end
end
if
c
:
IsType
(
TYPE_SPELL
)
then
if
c
:
GetOriginalType
()
&
TYPE_SPELL
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c62201847
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
61089209
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c62201847
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
61089209
)
end
end
if
c
:
IsType
(
TYPE_TRAP
)
then
if
c
:
GetOriginalType
()
&
TYPE_TRAP
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c62201847
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
7574904
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c62201847
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
7574904
)
end
end
return
result
return
result
...
@@ -71,7 +71,7 @@ function c62201847.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -71,7 +71,7 @@ function c62201847.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c62201847
.
spcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
,
tp
,
e
:
GetHandler
()):
GetFirst
()
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c62201847
.
spcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
,
tp
,
e
:
GetHandler
()):
GetFirst
()
e
:
SetLabel
(
cost
:
GetType
())
e
:
SetLabel
(
cost
:
Get
Original
Type
())
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c62201847
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c62201847
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -83,9 +83,9 @@ function c62201847.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -83,9 +83,9 @@ function c62201847.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c62201847
.
spopfilter
(
c
,
e
,
tp
,
typ
)
function
c62201847
.
spopfilter
(
c
,
e
,
tp
,
typ
)
return
(((
typ
&
TYPE_MONSTER
)
>
0
and
c
:
IsCode
(
34695290
))
return
(((
typ
&
TYPE_MONSTER
)
>
0
and
c
:
IsCode
(
34695290
))
or
((
typ
&
TYPE_SPELL
)
>
0
and
c
:
IsCode
(
61089209
))
or
((
typ
&
TYPE_SPELL
)
>
0
and
c
:
IsCode
(
61089209
))
or
((
typ
&
TYPE_TRAP
)
>
0
and
c
:
IsCode
(
7574904
)))
or
((
typ
&
TYPE_TRAP
)
>
0
and
c
:
IsCode
(
7574904
)))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c62201847
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62201847
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c8200556.lua
View file @
1f465405
...
@@ -45,13 +45,13 @@ function c8200556.spcostexcheckfilter(c,e,tp,code)
...
@@ -45,13 +45,13 @@ function c8200556.spcostexcheckfilter(c,e,tp,code)
end
end
function
c8200556
.
spcostexcheck
(
c
,
e
,
tp
)
function
c8200556
.
spcostexcheck
(
c
,
e
,
tp
)
local
result
=
false
local
result
=
false
if
c
:
IsType
(
TYPE_MONSTER
)
then
if
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c8200556
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
34695290
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c8200556
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
34695290
)
end
end
if
c
:
IsType
(
TYPE_SPELL
)
then
if
c
:
GetOriginalType
()
&
TYPE_SPELL
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c8200556
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
61089209
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c8200556
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
61089209
)
end
end
if
c
:
IsType
(
TYPE_TRAP
)
then
if
c
:
GetOriginalType
()
&
TYPE_TRAP
~=
0
then
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c8200556
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
7574904
)
result
=
result
or
Duel
.
IsExistingMatchingCard
(
c8200556
.
spcostexcheckfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
7574904
)
end
end
return
result
return
result
...
@@ -71,7 +71,7 @@ function c8200556.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -71,7 +71,7 @@ function c8200556.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c8200556
.
spcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
,
tp
,
e
:
GetHandler
()):
GetFirst
()
local
cost
=
Duel
.
SelectMatchingCard
(
tp
,
c8200556
.
spcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
,
tp
,
e
:
GetHandler
()):
GetFirst
()
e
:
SetLabel
(
cost
:
GetType
())
e
:
SetLabel
(
cost
:
Get
Original
Type
())
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
cost
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c8200556
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c8200556
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -83,9 +83,9 @@ function c8200556.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -83,9 +83,9 @@ function c8200556.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c8200556
.
spopfilter
(
c
,
e
,
tp
,
typ
)
function
c8200556
.
spopfilter
(
c
,
e
,
tp
,
typ
)
return
(((
typ
&
TYPE_MONSTER
)
>
0
and
c
:
IsCode
(
34695290
))
return
(((
typ
&
TYPE_MONSTER
)
>
0
and
c
:
IsCode
(
34695290
))
or
((
typ
&
TYPE_SPELL
)
>
0
and
c
:
IsCode
(
61089209
))
or
((
typ
&
TYPE_SPELL
)
>
0
and
c
:
IsCode
(
61089209
))
or
((
typ
&
TYPE_TRAP
)
>
0
and
c
:
IsCode
(
7574904
)))
or
((
typ
&
TYPE_TRAP
)
>
0
and
c
:
IsCode
(
7574904
)))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c8200556
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8200556
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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