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
8caf020e
Commit
8caf020e
authored
Oct 24, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
92b1524b
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
13 deletions
+13
-13
c18235577.lua
c18235577.lua
+1
-1
c21767650.lua
c21767650.lua
+1
-1
c2461031.lua
c2461031.lua
+1
-1
c30494314.lua
c30494314.lua
+1
-1
c39672388.lua
c39672388.lua
+1
-1
c4022819.lua
c4022819.lua
+1
-1
c45620686.lua
c45620686.lua
+1
-1
c53610653.lua
c53610653.lua
+2
-2
c55465441.lua
c55465441.lua
+1
-1
c57568840.lua
c57568840.lua
+1
-1
c75198893.lua
c75198893.lua
+1
-1
c84677654.lua
c84677654.lua
+1
-1
No files found.
c18235577.lua
View file @
8caf020e
...
...
@@ -16,7 +16,7 @@ function c18235577.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c18235577
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
2
)
end
function
c18235577
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c18235577
.
lvfilter
(
chkc
)
end
...
...
c21767650.lua
View file @
8caf020e
...
...
@@ -11,7 +11,7 @@ function c21767650.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c21767650
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x74
)
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x74
)
and
c
:
IsLevelAbove
(
0
)
end
function
c21767650
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21767650
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
c2461031.lua
View file @
8caf020e
...
...
@@ -71,7 +71,7 @@ function c2461031.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c2461031
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
function
c2461031
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c2461031
.
lvfilter
(
chkc
)
end
...
...
c30494314.lua
View file @
8caf020e
...
...
@@ -15,7 +15,7 @@ function c30494314.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_GRAVE
)
and
re
:
GetHandler
():
IsRace
(
RACE_ZOMBIE
)
end
function
c30494314
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsLevelAbove
(
0
)
end
function
c30494314
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c30494314
.
filter
(
chkc
)
end
...
...
c39672388.lua
View file @
8caf020e
...
...
@@ -12,7 +12,7 @@ function c39672388.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c39672388
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
function
c39672388
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c39672388
.
filter
(
chkc
)
end
...
...
c4022819.lua
View file @
8caf020e
...
...
@@ -54,7 +54,7 @@ function c4022819.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SelectTarget
(
tp
,
c4022819
.
lvfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
c4022819
.
lvfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x69
)
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x69
)
and
c
:
IsLevelAbove
(
0
)
end
function
c4022819
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
c45620686.lua
View file @
8caf020e
...
...
@@ -16,7 +16,7 @@ function c45620686.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c45620686
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
function
c45620686
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c45620686
.
lvfilter
(
chkc
)
end
...
...
c53610653.lua
View file @
8caf020e
...
...
@@ -35,10 +35,10 @@ function c53610653.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c53610653
.
eqlimit
(
e
,
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsLevelAbove
(
0
)
end
function
c53610653
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsLevelAbove
(
0
)
end
function
c53610653
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c53610653
.
filter
(
chkc
)
end
...
...
c55465441.lua
View file @
8caf020e
...
...
@@ -14,7 +14,7 @@ function c55465441.filter(c,e,tp)
return
c
:
GetLevel
()
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
end
function
c55465441
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
function
c55465441
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
...
...
c57568840.lua
View file @
8caf020e
...
...
@@ -13,7 +13,7 @@ function c57568840.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c57568840
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
function
c57568840
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c57568840
.
filter
(
chkc
)
end
...
...
c75198893.lua
View file @
8caf020e
...
...
@@ -13,7 +13,7 @@ function c75198893.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c75198893
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsForbidden
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
0
)
and
not
c
:
IsForbidden
()
end
function
c75198893
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c75198893
.
filter
(
chkc
)
end
...
...
c84677654.lua
View file @
8caf020e
...
...
@@ -9,7 +9,7 @@ function c84677654.initial_effect(c)
end
c84677654
.
toss_coin
=
true
function
c84677654
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
end
function
c84677654
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c84677654
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
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