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
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
Reinen
ygopro-scripts
Commits
51e28b28
Commit
51e28b28
authored
Dec 08, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8aeb5310
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
9 deletions
+16
-9
c11646785.lua
c11646785.lua
+2
-1
c12615446.lua
c12615446.lua
+1
-1
c18326736.lua
c18326736.lua
+2
-1
c39030163.lua
c39030163.lua
+1
-1
c53334641.lua
c53334641.lua
+2
-1
c57031794.lua
c57031794.lua
+2
-1
c58600555.lua
c58600555.lua
+2
-1
c71921856.lua
c71921856.lua
+2
-1
c85252081.lua
c85252081.lua
+2
-1
No files found.
c11646785.lua
View file @
51e28b28
...
@@ -71,7 +71,8 @@ function c11646785.mtfilter(c,e)
...
@@ -71,7 +71,8 @@ function c11646785.mtfilter(c,e)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x10dc
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x10dc
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c11646785
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11646785
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11646785
.
mtfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c11646785
.
mtfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
end
end
function
c11646785
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11646785
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c12615446.lua
View file @
51e28b28
...
@@ -74,7 +74,7 @@ function c12615446.xyzcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,7 +74,7 @@ function c12615446.xyzcon(e,tp,eg,ep,ev,re,r,rp)
return
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
return
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
end
end
function
c12615446
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12615446
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
Duel
.
SetTargetCard
(
tc
)
Duel
.
SetTargetCard
(
tc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
tc
,
1
,
0
,
0
)
...
...
c18326736.lua
View file @
51e28b28
...
@@ -93,7 +93,8 @@ function c18326736.mtfilter(c)
...
@@ -93,7 +93,8 @@ function c18326736.mtfilter(c)
return
c
:
IsSetCard
(
0x109c
)
return
c
:
IsSetCard
(
0x109c
)
end
end
function
c18326736
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c18326736
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c18326736
.
mtfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c18326736
.
mtfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
end
function
c18326736
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18326736
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c39030163.lua
View file @
51e28b28
...
@@ -37,7 +37,7 @@ end
...
@@ -37,7 +37,7 @@ end
function
c39030163
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c39030163
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
e
:
GetHandler
():
GetEquipGroup
()
local
g
=
e
:
GetHandler
():
GetEquipGroup
()
if
chkc
then
return
g
:
IsContains
(
chkc
)
and
chkc
:
IsCanBeEffectTarget
(
e
)
end
if
chkc
then
return
g
:
IsContains
(
chkc
)
and
chkc
:
IsCanBeEffectTarget
(
e
)
end
if
chk
==
0
then
return
g
:
IsExists
(
Card
.
IsCanBeEffectTarget
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
g
:
IsExists
(
Card
.
IsCanBeEffectTarget
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
tg
=
g
:
FilterSelect
(
tp
,
Card
.
IsCanBeEffectTarget
,
1
,
2
,
nil
,
e
)
local
tg
=
g
:
FilterSelect
(
tp
,
Card
.
IsCanBeEffectTarget
,
1
,
2
,
nil
,
e
)
Duel
.
SetTargetCard
(
tg
)
Duel
.
SetTargetCard
(
tg
)
...
...
c53334641.lua
View file @
51e28b28
...
@@ -67,7 +67,8 @@ function c53334641.mtfilter(c)
...
@@ -67,7 +67,8 @@ function c53334641.mtfilter(c)
return
c
:
IsSetCard
(
0x8d
)
return
c
:
IsSetCard
(
0x8d
)
end
end
function
c53334641
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c53334641
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c53334641
.
mtfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c53334641
.
mtfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
end
end
function
c53334641
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53334641
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c57031794.lua
View file @
51e28b28
...
@@ -68,7 +68,8 @@ function c57031794.mtfilter(c,e)
...
@@ -68,7 +68,8 @@ function c57031794.mtfilter(c,e)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x10dc
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x10dc
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c57031794
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c57031794
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c57031794
.
mtfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c57031794
.
mtfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
end
end
function
c57031794
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57031794
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c58600555.lua
View file @
51e28b28
...
@@ -67,7 +67,8 @@ function c58600555.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,8 @@ function c58600555.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c58600555
.
cfilter
,
1
,
nil
)
return
eg
:
IsExists
(
c58600555
.
cfilter
,
1
,
nil
)
end
end
function
c58600555
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c58600555
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_INSECT
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_INSECT
)
end
end
end
function
c58600555
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c58600555
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c71921856.lua
View file @
51e28b28
...
@@ -36,7 +36,8 @@ function c71921856.filter(c)
...
@@ -36,7 +36,8 @@ function c71921856.filter(c)
return
c
:
IsSetCard
(
0x84
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x84
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c71921856
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c71921856
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c71921856
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c71921856
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
end
function
c71921856
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71921856
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c85252081.lua
View file @
51e28b28
...
@@ -71,7 +71,8 @@ function c85252081.mtfilter(c,e)
...
@@ -71,7 +71,8 @@ function c85252081.mtfilter(c,e)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x10dc
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsSetCard
(
0x10dc
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c85252081
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c85252081
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c85252081
.
mtfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c85252081
.
mtfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
end
end
function
c85252081
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c85252081
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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