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
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
MyCard
ygopro-scripts
Commits
8a445623
Commit
8a445623
authored
Oct 17, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1e37afaf
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
156 additions
and
37 deletions
+156
-37
c10026986.lua
c10026986.lua
+6
-1
c10060427.lua
c10060427.lua
+6
-1
c15545291.lua
c15545291.lua
+7
-2
c23064604.lua
c23064604.lua
+7
-2
c23689697.lua
c23689697.lua
+7
-2
c28348537.lua
c28348537.lua
+6
-1
c38589847.lua
c38589847.lua
+6
-1
c40921744.lua
c40921744.lua
+6
-1
c42880485.lua
c42880485.lua
+6
-1
c5186893.lua
c5186893.lua
+6
-2
c53199020.lua
c53199020.lua
+6
-1
c55690251.lua
c55690251.lua
+6
-1
c58494728.lua
c58494728.lua
+6
-1
c6849042.lua
c6849042.lua
+6
-1
c69230391.lua
c69230391.lua
+7
-2
c69327790.lua
c69327790.lua
+7
-2
c72258771.lua
c72258771.lua
+6
-2
c76930964.lua
c76930964.lua
+6
-1
c81254059.lua
c81254059.lua
+6
-2
c87288189.lua
c87288189.lua
+7
-2
c87602890.lua
c87602890.lua
+7
-2
c88071625.lua
c88071625.lua
+10
-2
c96470883.lua
c96470883.lua
+6
-2
c96570609.lua
c96570609.lua
+7
-2
No files found.
c10026986.lua
View file @
8a445623
...
...
@@ -29,10 +29,15 @@ function c10026986.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c10026986
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c10026986
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c10026986
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c10060427.lua
View file @
8a445623
...
...
@@ -81,10 +81,15 @@ function c10060427.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c10060427
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c10060427
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c10060427
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c15545291.lua
View file @
8a445623
...
...
@@ -36,12 +36,17 @@ function c15545291.otfilter(c)
end
function
c15545291
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c15545291
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c15545291
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c15545291
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c23064604.lua
View file @
8a445623
...
...
@@ -44,12 +44,17 @@ function c23064604.otfilter(c)
end
function
c23064604
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c23064604
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c23064604
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23064604
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c23689697.lua
View file @
8a445623
...
...
@@ -36,12 +36,17 @@ function c23689697.otfilter(c)
end
function
c23689697
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c23689697
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c23689697
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23689697
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c28348537.lua
View file @
8a445623
...
...
@@ -24,10 +24,15 @@ function c28348537.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c28348537
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c28348537
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c28348537
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c38589847.lua
View file @
8a445623
...
...
@@ -28,13 +28,18 @@ function c38589847.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c38589847
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c38589847
.
ottg
(
e
,
c
)
return
c
:
IsLevelAbove
(
7
)
end
function
c38589847
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c38589847
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c40921744.lua
View file @
8a445623
...
...
@@ -40,11 +40,16 @@ function c40921744.sumcon(e,c)
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c40921744
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ag
=
Duel
.
GetMatchingGroup
(
Card
.
IsAttribute
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_DARK
)
return
c
:
IsLevelAbove
(
7
)
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
and
ag
:
GetClassCount
(
Card
.
GetCode
)
>=
4
end
function
c40921744
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c40921744
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c42880485.lua
View file @
8a445623
...
...
@@ -97,10 +97,15 @@ function c42880485.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c42880485
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c42880485
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c42880485
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c5186893.lua
View file @
8a445623
...
...
@@ -28,11 +28,15 @@ function c5186893.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c5186893
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c5186893
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c5186893
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c53199020.lua
View file @
8a445623
...
...
@@ -35,10 +35,15 @@ function c53199020.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c53199020
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c53199020
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c53199020
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c55690251.lua
View file @
8a445623
...
...
@@ -39,10 +39,15 @@ function c55690251.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c55690251
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c55690251
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c55690251
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c58494728.lua
View file @
8a445623
...
...
@@ -36,10 +36,15 @@ function c58494728.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c58494728
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c58494728
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c58494728
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c6849042.lua
View file @
8a445623
...
...
@@ -29,10 +29,15 @@ function c6849042.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c6849042
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c6849042
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c6849042
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c69230391.lua
View file @
8a445623
...
...
@@ -35,12 +35,17 @@ function c69230391.otfilter(c)
end
function
c69230391
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c69230391
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c69230391
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c69230391
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c69327790.lua
View file @
8a445623
...
...
@@ -36,12 +36,17 @@ function c69327790.otfilter(c)
end
function
c69327790
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c69327790
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c69327790
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c69327790
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c72258771.lua
View file @
8a445623
...
...
@@ -65,11 +65,15 @@ function c72258771.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c72258771
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c72258771
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c72258771
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c76930964.lua
View file @
8a445623
...
...
@@ -32,10 +32,15 @@ function c76930964.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c76930964
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c76930964
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c76930964
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c81254059.lua
View file @
8a445623
...
...
@@ -29,11 +29,15 @@ function c81254059.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c81254059
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c81254059
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c81254059
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c87288189.lua
View file @
8a445623
...
...
@@ -36,12 +36,17 @@ function c87288189.otfilter(c)
end
function
c87288189
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c87288189
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c87288189
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c87288189
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c87602890.lua
View file @
8a445623
...
...
@@ -36,12 +36,17 @@ function c87602890.otfilter(c)
end
function
c87602890
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c87602890
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c87602890
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c87602890
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c88071625.lua
View file @
8a445623
...
...
@@ -46,10 +46,18 @@ function c88071625.initial_effect(c)
end
function
c88071625
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
)
>
0
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
mg
=
nil
if
ft
<=
0
then
mg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c88071625
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
local
mg
=
nil
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
...
...
c96470883.lua
View file @
8a445623
...
...
@@ -30,11 +30,15 @@ function c96470883.otcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c96470883
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c96470883
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96470883
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c96570609.lua
View file @
8a445623
...
...
@@ -43,12 +43,17 @@ function c96570609.otfilter(c)
end
function
c96570609
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
c
:
GetLevel
()
>
6
and
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
function
c96570609
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
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