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
d9eb020c
Commit
d9eb020c
authored
May 22, 2017
by
nekrozar
Committed by
VanillaSalt
May 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#861)
parent
6e2bde37
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
18 additions
and
18 deletions
+18
-18
c11398951.lua
c11398951.lua
+1
-1
c14735698.lua
c14735698.lua
+1
-1
c16494704.lua
c16494704.lua
+1
-1
c21082832.lua
c21082832.lua
+1
-1
c23160024.lua
c23160024.lua
+1
-1
c27383110.lua
c27383110.lua
+1
-1
c37626500.lua
c37626500.lua
+2
-2
c39996157.lua
c39996157.lua
+1
-1
c45410988.lua
c45410988.lua
+1
-1
c51124303.lua
c51124303.lua
+1
-1
c73055622.lua
c73055622.lua
+1
-1
c79306385.lua
c79306385.lua
+1
-1
c84388461.lua
c84388461.lua
+1
-1
c97211663.lua
c97211663.lua
+1
-1
utility.lua
utility.lua
+3
-3
No files found.
c11398951.lua
View file @
d9eb020c
...
...
@@ -21,7 +21,7 @@ function c11398951.filter(c,e,tp,m1,m2,ft)
end
end
function
c11398951
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
c14735698.lua
View file @
d9eb020c
...
...
@@ -36,7 +36,7 @@ function c14735698.filter(c,e,tp,m1,m2,ft)
end
end
function
c14735698
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
c16494704.lua
View file @
d9eb020c
...
...
@@ -27,7 +27,7 @@ function c16494704.filter(c,e,tp,m,ft)
end
end
function
c16494704
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
rc
)
else
return
false
end
...
...
c21082832.lua
View file @
d9eb020c
...
...
@@ -22,7 +22,7 @@ function c21082832.filter(c,e,tp,m1,m2,ft)
end
end
function
c21082832
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
c23160024.lua
View file @
d9eb020c
...
...
@@ -61,7 +61,7 @@ function c23160024.spfilter(c,e,tp,m,ft)
end
end
function
c23160024
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
8
,
0
,
99
,
rc
)
else
return
false
end
...
...
c27383110.lua
View file @
d9eb020c
...
...
@@ -42,7 +42,7 @@ function c27383110.filter(c,e,tp,m,ft)
end
end
function
c27383110
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
6
,
0
,
99
,
rc
)
else
return
false
end
...
...
c37626500.lua
View file @
d9eb020c
...
...
@@ -9,7 +9,7 @@ function c37626500.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c37626500
.
ritual_filter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c37626500
.
filter
(
c
,
e
,
tp
,
m
,
ft
)
if
not
c37626500
.
ritual_filter
(
c
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
...
...
@@ -22,7 +22,7 @@ function c37626500.filter(c,e,tp,m,ft)
end
end
function
c37626500
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
c39996157.lua
View file @
d9eb020c
...
...
@@ -29,7 +29,7 @@ function c39996157.filter(c,e,tp,m,ft)
end
end
function
c39996157
.
filterF
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
rc
)
else
return
false
end
...
...
c45410988.lua
View file @
d9eb020c
...
...
@@ -21,7 +21,7 @@ function c45410988.filter(c,e,tp,m1,m2,ft)
end
end
function
c45410988
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
8
,
rc
)
else
return
false
end
...
...
c51124303.lua
View file @
d9eb020c
...
...
@@ -42,7 +42,7 @@ function c51124303.mfilter(c)
return
c
:
GetLevel
()
>
0
and
c
:
IsAbleToGrave
()
end
function
c51124303
.
mzfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
GetSequence
()
<
5
end
function
c51124303
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c73055622.lua
View file @
d9eb020c
...
...
@@ -22,7 +22,7 @@ function c73055622.filter(c,e,tp,m1,m2,ft)
end
end
function
c73055622
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
rc
)
else
return
false
end
...
...
c79306385.lua
View file @
d9eb020c
...
...
@@ -20,7 +20,7 @@ function c79306385.filter(c,e,tp,m,ft)
end
end
function
c79306385
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
12
,
rc
)
else
return
false
end
...
...
c84388461.lua
View file @
d9eb020c
...
...
@@ -42,7 +42,7 @@ function c84388461.filter(c,e,tp,m,ft)
end
end
function
c84388461
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
c97211663.lua
View file @
d9eb020c
...
...
@@ -35,7 +35,7 @@ function c97211663.filter(c,e,tp,m,ft)
end
end
function
c97211663
.
mfilterf
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
utility.lua
View file @
d9eb020c
...
...
@@ -832,7 +832,7 @@ function Auxiliary.RPGFilter(c,filter,e,tp,m,ft)
end
end
function
Auxiliary
.
RPGFilterF
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
rc
:
GetOriginalLevel
(),
rc
)
else
return
false
end
...
...
@@ -904,7 +904,7 @@ function Auxiliary.RPEFilter(c,filter,e,tp,m,ft)
end
end
function
Auxiliary
.
RPEFilterF
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetOriginalLevel
(),
0
,
99
,
rc
)
else
return
false
end
...
...
@@ -976,7 +976,7 @@ function Auxiliary.RPEFilter2(c,filter,e,tp,m,ft)
end
end
function
Auxiliary
.
RPEFilter2F
(
c
,
tp
,
mg
,
rc
)
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
then
Duel
.
SetSelectedCard
(
c
)
return
mg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
rc
:
GetLevel
(),
0
,
99
,
rc
)
else
return
false
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