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
八宫一月
ygopro-scripts
Commits
38a3c3f1
Commit
38a3c3f1
authored
Dec 24, 2018
by
mercury233
Committed by
GitHub
Dec 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1127)
parent
3b490316
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
28 additions
and
30 deletions
+28
-30
c1003840.lua
c1003840.lua
+1
-1
c12743620.lua
c12743620.lua
+1
-1
c16135253.lua
c16135253.lua
+1
-1
c21620076.lua
c21620076.lua
+1
-1
c22227683.lua
c22227683.lua
+1
-1
c26864586.lua
c26864586.lua
+1
-1
c35058857.lua
c35058857.lua
+1
-1
c3606728.lua
c3606728.lua
+1
-1
c37168514.lua
c37168514.lua
+1
-1
c39153655.lua
c39153655.lua
+1
-2
c43464884.lua
c43464884.lua
+1
-1
c45496268.lua
c45496268.lua
+1
-1
c46291010.lua
c46291010.lua
+1
-1
c50457953.lua
c50457953.lua
+1
-1
c50785356.lua
c50785356.lua
+1
-1
c52176579.lua
c52176579.lua
+1
-1
c56427559.lua
c56427559.lua
+1
-1
c58441120.lua
c58441120.lua
+1
-2
c61777313.lua
c61777313.lua
+1
-1
c65536818.lua
c65536818.lua
+1
-1
c65737274.lua
c65737274.lua
+1
-1
c74611888.lua
c74611888.lua
+1
-1
c80773359.lua
c80773359.lua
+1
-1
c85239662.lua
c85239662.lua
+1
-1
c93543806.lua
c93543806.lua
+1
-1
c94203886.lua
c94203886.lua
+1
-1
c95352218.lua
c95352218.lua
+1
-1
c9583383.lua
c9583383.lua
+1
-1
No files found.
c1003840.lua
View file @
38a3c3f1
...
@@ -36,7 +36,7 @@ function c1003840.cfilter(c,e,tp,ft)
...
@@ -36,7 +36,7 @@ function c1003840.cfilter(c,e,tp,ft)
and
Duel
.
IsExistingMatchingCard
(
c1003840
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
and
Duel
.
IsExistingMatchingCard
(
c1003840
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
end
end
function
c1003840
.
spfilter
(
c
,
e
,
tp
,
lv
)
function
c1003840
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0x1017
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1017
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c1003840
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1003840
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
c12743620.lua
View file @
38a3c3f1
...
@@ -17,7 +17,7 @@ function c12743620.filter1(c,tp)
...
@@ -17,7 +17,7 @@ function c12743620.filter1(c,tp)
and
Duel
.
IsExistingTarget
(
c12743620
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
lv
)
and
Duel
.
IsExistingTarget
(
c12743620
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
lv
)
end
end
function
c12743620
.
filter2
(
c
,
lv
)
function
c12743620
.
filter2
(
c
,
lv
)
return
c
:
IsFaceup
()
and
(
not
c
:
IsType
(
TYPE_TUNER
)
or
not
c
:
IsLevel
(
lv
))
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
(
not
c
:
IsType
(
TYPE_TUNER
)
or
not
c
:
IsLevel
(
lv
))
end
end
function
c12743620
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12743620
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c16135253.lua
View file @
38a3c3f1
...
@@ -15,7 +15,7 @@ function c16135253.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c16135253.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c16135253
.
filter
(
c
,
e
,
tp
,
lv
)
function
c16135253
.
filter
(
c
,
e
,
tp
,
lv
)
if
(
lv
~=
6
and
not
c
:
IsLevel
(
lv
))
or
(
lv
==
6
and
c
:
IsLevelBelow
(
5
))
then
return
false
end
if
(
lv
~=
6
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
)
or
(
lv
==
6
and
c
:
IsLevelBelow
(
5
))
then
return
false
end
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c16135253
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16135253
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c21620076.lua
View file @
38a3c3f1
...
@@ -21,7 +21,7 @@ function c21620076.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c21620076.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c21620076
.
lvfilter
(
c
)
function
c21620076
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
not
c
:
IsLevel
(
2
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
not
c
:
IsLevel
(
2
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c21620076
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c21620076
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c21620076
.
lvfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c21620076
.
lvfilter
(
chkc
)
end
...
...
c22227683.lua
View file @
38a3c3f1
...
@@ -65,7 +65,7 @@ function c22227683.spfilter1(c,e,tp)
...
@@ -65,7 +65,7 @@ function c22227683.spfilter1(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c22227683
.
spfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
c
:
GetLevel
())
and
Duel
.
IsExistingMatchingCard
(
c22227683
.
spfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
,
c
:
GetLevel
())
end
end
function
c22227683
.
spfilter2
(
c
,
e
,
tp
,
lv
)
function
c22227683
.
spfilter2
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsLevel
(
lv
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c22227683
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22227683
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c26864586.lua
View file @
38a3c3f1
...
@@ -14,7 +14,7 @@ function c26864586.filter1(c,tp)
...
@@ -14,7 +14,7 @@ function c26864586.filter1(c,tp)
return
lv
>
0
and
c
:
IsFaceup
()
and
Duel
.
IsExistingTarget
(
c26864586
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
(),
c
:
GetAttribute
(),
lv
)
return
lv
>
0
and
c
:
IsFaceup
()
and
Duel
.
IsExistingTarget
(
c26864586
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
:
GetRace
(),
c
:
GetAttribute
(),
lv
)
end
end
function
c26864586
.
filter2
(
c
,
rc
,
at
,
lv
)
function
c26864586
.
filter2
(
c
,
rc
,
at
,
lv
)
return
not
c
:
IsLevel
(
lv
)
and
c
:
IsFaceup
()
and
c
:
IsRace
(
rc
)
and
c
:
IsAttribute
(
at
)
return
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
Faceup
()
and
c
:
IsRace
(
rc
)
and
c
:
IsAttribute
(
at
)
end
end
function
c26864586
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c26864586
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c35058857.lua
View file @
38a3c3f1
...
@@ -41,7 +41,7 @@ function c35058857.spcon(e,c)
...
@@ -41,7 +41,7 @@ function c35058857.spcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
c35058857
.
filter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c35058857
.
filter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c35058857
.
lvfilter
(
c
,
lv
)
function
c35058857
.
lvfilter
(
c
,
lv
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
not
c
:
IsLevel
(
lv
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c35058857
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c35058857
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
...
...
c3606728.lua
View file @
38a3c3f1
...
@@ -19,7 +19,7 @@ function c3606728.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c3606728.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c3606728
.
lvfilter
(
c
,
lv
)
function
c3606728
.
lvfilter
(
c
,
lv
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26082117
)
and
not
c
:
IsLevel
(
lv
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26082117
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c3606728
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c3606728
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c3606728
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c3606728
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c37168514.lua
View file @
38a3c3f1
...
@@ -10,7 +10,7 @@ function c37168514.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c37168514.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c37168514
.
filter
(
c
)
function
c37168514
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsLevel
(
3
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsLevel
(
3
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c37168514
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c37168514
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c37168514
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c37168514
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
c39153655.lua
View file @
38a3c3f1
...
@@ -24,8 +24,7 @@ function c39153655.initial_effect(c)
...
@@ -24,8 +24,7 @@ function c39153655.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c39153655
.
filter
(
c
)
function
c39153655
.
filter
(
c
)
local
lv
=
c
:
GetLevel
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xaf
)
and
not
c
:
IsLevel
(
4
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xaf
)
and
not
c
:
IsLevel
(
4
)
end
end
function
c39153655
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c39153655
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c39153655
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c39153655
.
filter
(
chkc
)
end
...
...
c43464884.lua
View file @
38a3c3f1
...
@@ -45,7 +45,7 @@ function c43464884.splimit(e,c)
...
@@ -45,7 +45,7 @@ function c43464884.splimit(e,c)
return
not
c
:
IsRace
(
RACE_BEASTWARRIOR
)
return
not
c
:
IsRace
(
RACE_BEASTWARRIOR
)
end
end
function
c43464884
.
cgfilter
(
c
,
mc
)
function
c43464884
.
cgfilter
(
c
,
mc
)
return
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
GetLevel
()
>
0
and
not
(
c
:
IsLevel
(
mc
:
GetLevel
())
and
c
:
IsAttribute
(
mc
:
GetAttribute
()))
return
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
c
:
IsLevelAbove
(
1
)
and
not
(
c
:
IsLevel
(
mc
:
GetLevel
())
and
c
:
IsAttribute
(
mc
:
GetAttribute
()))
end
end
function
c43464884
.
cgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c43464884
.
cgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c45496268.lua
View file @
38a3c3f1
...
@@ -45,7 +45,7 @@ function c45496268.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c45496268.sumop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c45496268
.
lvfilter
(
c
)
function
c45496268
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x85
)
or
c
:
IsCode
(
71071546
))
and
not
c
:
IsLevel
(
8
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x85
)
or
c
:
IsCode
(
71071546
))
and
not
c
:
IsLevel
(
8
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c45496268
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c45496268
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c45496268
.
lvfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c45496268
.
lvfilter
(
chkc
)
end
...
...
c46291010.lua
View file @
38a3c3f1
...
@@ -11,7 +11,7 @@ function c46291010.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c46291010.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c46291010
.
filter
(
c
,
lv
)
function
c46291010
.
filter
(
c
,
lv
)
return
c
:
IsRace
(
RACE_PSYCHO
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsAbleToRemove
()
return
c
:
IsRace
(
RACE_PSYCHO
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
AbleToRemove
()
end
end
function
c46291010
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c46291010
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c46291010
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c46291010
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c50457953.lua
View file @
38a3c3f1
...
@@ -13,7 +13,7 @@ function c50457953.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c50457953.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c50457953
.
lvfilter
(
c
,
lv
)
function
c50457953
.
lvfilter
(
c
,
lv
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
Attribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_DRAGON
)
end
end
function
c50457953
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c50457953
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c50457953
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c50457953
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c50785356.lua
View file @
38a3c3f1
...
@@ -14,7 +14,7 @@ function c50785356.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c50785356.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c50785356
.
filter
(
c
)
function
c50785356
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
3
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
3
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c50785356
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c50785356
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c50785356
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c50785356
.
filter
(
chkc
)
end
...
...
c52176579.lua
View file @
38a3c3f1
...
@@ -50,7 +50,7 @@ function c52176579.lvfilter(c,tp)
...
@@ -50,7 +50,7 @@ function c52176579.lvfilter(c,tp)
return
lv
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xea
)
and
Duel
.
IsExistingMatchingCard
(
c52176579
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
)
return
lv
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xea
)
and
Duel
.
IsExistingMatchingCard
(
c52176579
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
)
end
end
function
c52176579
.
tgfilter
(
c
,
lv
)
function
c52176579
.
tgfilter
(
c
,
lv
)
return
c
:
IsSetCard
(
0xea
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0xea
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
end
end
function
c52176579
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c52176579
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c52176579
.
lvfilter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c52176579
.
lvfilter
(
chkc
,
tp
)
end
...
...
c56427559.lua
View file @
38a3c3f1
...
@@ -20,7 +20,7 @@ function c56427559.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c56427559.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c56427559
.
lvfilter
(
c
,
lv
)
function
c56427559
.
lvfilter
(
c
,
lv
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x83
)
and
not
c
:
IsLevel
(
lv
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x83
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c56427559
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56427559
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c56427559
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c56427559
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c58441120.lua
View file @
38a3c3f1
...
@@ -10,8 +10,7 @@ function c58441120.initial_effect(c)
...
@@ -10,8 +10,7 @@ function c58441120.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c58441120
.
filter
(
c
)
function
c58441120
.
filter
(
c
)
local
lv
=
c
:
GetLevel
()
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
4
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
4
)
end
end
function
c58441120
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c58441120
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c58441120
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c58441120
.
filter
(
chkc
)
end
...
...
c61777313.lua
View file @
38a3c3f1
...
@@ -21,7 +21,7 @@ function c61777313.synlimit(e,c)
...
@@ -21,7 +21,7 @@ function c61777313.synlimit(e,c)
return
c
:
IsSetCard
(
0x42
)
return
c
:
IsSetCard
(
0x42
)
end
end
function
c61777313
.
cfilter
(
c
,
lv
)
function
c61777313
.
cfilter
(
c
,
lv
)
return
c
:
IsSetCard
(
0x42
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x42
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
AbleToGraveAsCost
()
end
end
function
c61777313
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c61777313
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c61777313
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c61777313
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c65536818.lua
View file @
38a3c3f1
...
@@ -51,7 +51,7 @@ function c65536818.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c65536818.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c65536818
.
costfilter
(
c
,
lv
)
function
c65536818
.
costfilter
(
c
,
lv
)
return
not
c
:
IsLevel
(
lv
)
and
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsAbleToGraveAsCost
()
return
not
c
:
IsLevel
(
lv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
Race
(
RACE_WYRM
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c65536818
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65536818
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
...
...
c65737274.lua
View file @
38a3c3f1
...
@@ -44,7 +44,7 @@ function c65737274.cfilter(c,tp)
...
@@ -44,7 +44,7 @@ function c65737274.cfilter(c,tp)
return
c
:
IsRace
(
RACE_DRAGON
)
and
Duel
.
IsExistingTarget
(
c65737274
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
Duel
.
IsExistingTarget
(
c65737274
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
end
end
function
c65737274
.
lvfilter
(
c
)
function
c65737274
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
8
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
8
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c65737274
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65737274
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c65737274
.
cfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c65737274
.
cfilter
,
1
,
nil
,
tp
)
end
...
...
c74611888.lua
View file @
38a3c3f1
...
@@ -12,7 +12,7 @@ function c74611888.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c74611888.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c74611888
.
cfilter
(
c
)
function
c74611888
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
c
:
GetOriginalLevel
())
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
c
:
GetOriginalLevel
())
and
c
:
IsLevelAbove
(
1
)
end
end
function
c74611888
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74611888
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c74611888
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c74611888
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
...
...
c80773359.lua
View file @
38a3c3f1
...
@@ -68,7 +68,7 @@ function c80773359.tnop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +68,7 @@ function c80773359.tnop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c80773359
.
lvfilter
(
c
,
lv
)
function
c80773359
.
lvfilter
(
c
,
lv
)
return
c
:
IsSetCard
(
0x33
)
and
not
c
:
IsLevel
(
lv
)
return
c
:
IsSetCard
(
0x33
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c80773359
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c80773359
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c80773359
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c80773359
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c85239662.lua
View file @
38a3c3f1
...
@@ -34,5 +34,5 @@ function c85239662.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,5 +34,5 @@ function c85239662.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c85239662
.
target
(
e
,
c
)
function
c85239662
.
target
(
e
,
c
)
return
not
c
:
IsLevel
(
e
:
GetLabel
())
return
not
c
:
IsLevel
(
e
:
GetLabel
())
and
c
:
IsLevelAbove
(
1
)
end
end
c93543806.lua
View file @
38a3c3f1
...
@@ -31,7 +31,7 @@ function c93543806.splimit(e,c)
...
@@ -31,7 +31,7 @@ function c93543806.splimit(e,c)
return
not
c
:
IsSetCard
(
0x70
)
return
not
c
:
IsSetCard
(
0x70
)
end
end
function
c93543806
.
filter
(
c
)
function
c93543806
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x70
)
and
not
c
:
IsLevel
(
6
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x70
)
and
not
c
:
IsLevel
(
6
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c93543806
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c93543806
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c93543806
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c93543806
.
filter
(
chkc
)
end
...
...
c94203886.lua
View file @
38a3c3f1
...
@@ -43,7 +43,7 @@ function c94203886.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,7 +43,7 @@ function c94203886.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c94203886
.
lvfilter
(
c
,
lv
)
function
c94203886
.
lvfilter
(
c
,
lv
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x54
)
and
not
c
:
IsLevel
(
lv
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x54
)
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c94203886
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c94203886
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c94203886
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c94203886
.
lvfilter
(
chkc
,
e
:
GetHandler
():
GetLevel
())
end
...
...
c95352218.lua
View file @
38a3c3f1
...
@@ -31,7 +31,7 @@ function c95352218.filter1(c)
...
@@ -31,7 +31,7 @@ function c95352218.filter1(c)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
end
end
function
c95352218
.
filter2
(
c
,
lv
)
function
c95352218
.
filter2
(
c
,
lv
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
return
c
:
IsFaceup
()
and
not
c
:
IsLevel
(
lv
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
c95352218
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95352218
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
...
...
c9583383.lua
View file @
38a3c3f1
...
@@ -35,7 +35,7 @@ function c9583383.rfilter(c,tp)
...
@@ -35,7 +35,7 @@ function c9583383.rfilter(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c9583383
.
tfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
lv
)
and
Duel
.
IsExistingMatchingCard
(
c9583383
.
tfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
lv
)
end
end
function
c9583383
.
tfilter
(
c
,
clv
)
function
c9583383
.
tfilter
(
c
,
clv
)
return
not
c
:
IsLevel
(
clv
)
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x54
)
return
not
c
:
IsLevel
(
clv
)
and
c
:
Is
LevelAbove
(
1
)
and
c
:
Is
Faceup
()
and
c
:
IsSetCard
(
0x54
)
end
end
function
c9583383
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9583383
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9583383
.
rfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9583383
.
rfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
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