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
5fbeb53e
Commit
5fbeb53e
authored
Dec 20, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert & update
parent
5e228d2d
Changes
53
Hide whitespace changes
Inline
Side-by-side
Showing
53 changed files
with
58 additions
and
184 deletions
+58
-184
c10000000.lua
c10000000.lua
+1
-1
c10000010.lua
c10000010.lua
+1
-1
c10000020.lua
c10000020.lua
+1
-1
c10000080.lua
c10000080.lua
+1
-1
c10026986.lua
c10026986.lua
+1
-6
c10060427.lua
c10060427.lua
+1
-6
c15545291.lua
c15545291.lua
+1
-7
c15605085.lua
c15605085.lua
+1
-1
c20003527.lua
c20003527.lua
+1
-1
c21208154.lua
c21208154.lua
+1
-1
c22996376.lua
c22996376.lua
+1
-1
c23064604.lua
c23064604.lua
+1
-7
c23309606.lua
c23309606.lua
+1
-2
c23689697.lua
c23689697.lua
+1
-7
c25524823.lua
c25524823.lua
+2
-3
c27279764.lua
c27279764.lua
+1
-1
c28348537.lua
c28348537.lua
+1
-6
c36354007.lua
c36354007.lua
+1
-1
c3825890.lua
c3825890.lua
+1
-2
c38589847.lua
c38589847.lua
+1
-3
c3912064.lua
c3912064.lua
+1
-1
c40061558.lua
c40061558.lua
+1
-1
c40189917.lua
c40189917.lua
+1
-1
c40921744.lua
c40921744.lua
+1
-6
c41753322.lua
c41753322.lua
+1
-2
c42685062.lua
c42685062.lua
+1
-1
c42880485.lua
c42880485.lua
+1
-6
c44910027.lua
c44910027.lua
+1
-1
c51192573.lua
c51192573.lua
+1
-1
c5186893.lua
c5186893.lua
+2
-7
c53199020.lua
c53199020.lua
+2
-7
c55690251.lua
c55690251.lua
+1
-6
c57793869.lua
c57793869.lua
+1
-1
c58494728.lua
c58494728.lua
+1
-6
c58554959.lua
c58554959.lua
+1
-1
c61231400.lua
c61231400.lua
+1
-1
c62180201.lua
c62180201.lua
+1
-1
c6849042.lua
c6849042.lua
+1
-6
c69230391.lua
c69230391.lua
+1
-7
c69327790.lua
c69327790.lua
+1
-7
c70969517.lua
c70969517.lua
+1
-1
c72258771.lua
c72258771.lua
+1
-6
c75285069.lua
c75285069.lua
+1
-1
c76930964.lua
c76930964.lua
+1
-6
c78651105.lua
c78651105.lua
+1
-1
c81254059.lua
c81254059.lua
+1
-6
c87288189.lua
c87288189.lua
+1
-7
c87602890.lua
c87602890.lua
+1
-7
c88071625.lua
c88071625.lua
+3
-11
c94092230.lua
c94092230.lua
+1
-1
c95701283.lua
c95701283.lua
+1
-1
c96470883.lua
c96470883.lua
+1
-6
c96570609.lua
c96570609.lua
+1
-1
No files found.
c10000000.lua
View file @
5fbeb53e
...
@@ -59,7 +59,7 @@ function c10000000.initial_effect(c)
...
@@ -59,7 +59,7 @@ function c10000000.initial_effect(c)
end
end
function
c10000000
.
ttcon
(
e
,
c
)
function
c10000000
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c10000000
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c10000000
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c10000010.lua
View file @
5fbeb53e
...
@@ -55,7 +55,7 @@ function c10000010.initial_effect(c)
...
@@ -55,7 +55,7 @@ function c10000010.initial_effect(c)
end
end
function
c10000010
.
ttcon
(
e
,
c
)
function
c10000010
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c10000010
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c10000010
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c10000020.lua
View file @
5fbeb53e
...
@@ -66,7 +66,7 @@ function c10000020.initial_effect(c)
...
@@ -66,7 +66,7 @@ function c10000020.initial_effect(c)
end
end
function
c10000020
.
ttcon
(
e
,
c
)
function
c10000020
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c10000020
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c10000020
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c10000080.lua
View file @
5fbeb53e
...
@@ -78,7 +78,7 @@ end
...
@@ -78,7 +78,7 @@ end
function
c10000080
.
ttcon2
(
e
,
c
)
function
c10000080
.
ttcon2
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckTribute
(
c
,
3
,
nil
,
1
-
tp
)
return
Duel
.
CheckTribute
(
c
,
3
,
3
,
nil
,
1
-
tp
)
end
end
function
c10000080
.
ttop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c10000080
.
ttop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
local
mg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
...
...
c10026986.lua
View file @
5fbeb53e
...
@@ -29,15 +29,10 @@ function c10026986.otcon(e,c)
...
@@ -29,15 +29,10 @@ function c10026986.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c10026986
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c10026986
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c10026986
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c10060427.lua
View file @
5fbeb53e
...
@@ -81,15 +81,10 @@ function c10060427.otcon(e,c)
...
@@ -81,15 +81,10 @@ function c10060427.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c10060427
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c10060427
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c10060427
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c15545291.lua
View file @
5fbeb53e
...
@@ -36,17 +36,11 @@ function c15545291.otfilter(c)
...
@@ -36,17 +36,11 @@ function c15545291.otfilter(c)
end
end
function
c15545291
.
otcon
(
e
,
c
)
function
c15545291
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c15545291
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c15545291
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c15545291
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c15545291
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c15545291
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c15605085.lua
View file @
5fbeb53e
...
@@ -30,7 +30,7 @@ function c15605085.otcon(e,c)
...
@@ -30,7 +30,7 @@ function c15605085.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c15605085
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c15605085
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
end
function
c15605085
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c15605085
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c15605085
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c15605085
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c20003527.lua
View file @
5fbeb53e
...
@@ -59,7 +59,7 @@ function c20003527.sumcon(e,c)
...
@@ -59,7 +59,7 @@ function c20003527.sumcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c20003527
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c20003527
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
4
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
return
c
:
GetLevel
()
>
4
and
Duel
.
CheckTribute
(
c
,
1
,
10
,
mg
)
end
end
function
c20003527
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c20003527
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c20003527
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c20003527
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c21208154.lua
View file @
5fbeb53e
...
@@ -38,7 +38,7 @@ function c21208154.initial_effect(c)
...
@@ -38,7 +38,7 @@ function c21208154.initial_effect(c)
end
end
function
c21208154
.
ttcon
(
e
,
c
)
function
c21208154
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c21208154
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c21208154
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c22996376.lua
View file @
5fbeb53e
...
@@ -27,7 +27,7 @@ function c22996376.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c22996376.initial_effect(c)
end
end
function
c22996376
.
otcon
(
e
,
c
)
function
c22996376
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
end
end
function
c22996376
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c22996376
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c23064604.lua
View file @
5fbeb53e
...
@@ -44,17 +44,11 @@ function c23064604.otfilter(c)
...
@@ -44,17 +44,11 @@ function c23064604.otfilter(c)
end
end
function
c23064604
.
otcon
(
e
,
c
)
function
c23064604
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c23064604
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23064604
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c23064604
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c23064604
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23064604
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c23309606.lua
View file @
5fbeb53e
...
@@ -31,8 +31,7 @@ function c23309606.otcon(e,c)
...
@@ -31,8 +31,7 @@ function c23309606.otcon(e,c)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
hg
:
RemoveCard
(
c
)
hg
:
RemoveCard
(
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23309606
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23309606
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
hg
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
hg
:
GetCount
()
>
0
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
and
hg
:
FilterCount
(
Card
.
IsAbleToGraveAsCost
,
nil
)
==
hg
:
GetCount
()
and
hg
:
FilterCount
(
Card
.
IsAbleToGraveAsCost
,
nil
)
==
hg
:
GetCount
()
end
end
function
c23309606
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c23309606
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
c23689697.lua
View file @
5fbeb53e
...
@@ -36,17 +36,11 @@ function c23689697.otfilter(c)
...
@@ -36,17 +36,11 @@ function c23689697.otfilter(c)
end
end
function
c23689697
.
otcon
(
e
,
c
)
function
c23689697
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c23689697
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23689697
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c23689697
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c23689697
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23689697
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c25524823.lua
View file @
5fbeb53e
...
@@ -40,7 +40,7 @@ function c25524823.initial_effect(c)
...
@@ -40,7 +40,7 @@ function c25524823.initial_effect(c)
end
end
function
c25524823
.
ttcon
(
e
,
c
)
function
c25524823
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c25524823
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c25524823
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
@@ -55,8 +55,7 @@ function c25524823.otcon(e,c)
...
@@ -55,8 +55,7 @@ function c25524823.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c25524823
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c25524823
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
end
function
c25524823
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c25524823
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c25524823
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c25524823
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c27279764.lua
View file @
5fbeb53e
...
@@ -61,7 +61,7 @@ function c27279764.tlimit(e,c)
...
@@ -61,7 +61,7 @@ function c27279764.tlimit(e,c)
end
end
function
c27279764
.
ttcon
(
e
,
c
)
function
c27279764
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c27279764
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c27279764
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c28348537.lua
View file @
5fbeb53e
...
@@ -24,15 +24,10 @@ function c28348537.otcon(e,c)
...
@@ -24,15 +24,10 @@ function c28348537.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c28348537
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c28348537
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c28348537
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c36354007.lua
View file @
5fbeb53e
...
@@ -23,7 +23,7 @@ function c36354007.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c36354007.initial_effect(c)
end
end
function
c36354007
.
ttcon
(
e
,
c
)
function
c36354007
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c36354007
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c36354007
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c3825890.lua
View file @
5fbeb53e
...
@@ -34,8 +34,7 @@ function c3825890.otcon(e,c)
...
@@ -34,8 +34,7 @@ function c3825890.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c3825890
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c3825890
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
end
function
c3825890
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c3825890
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c3825890
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c3825890
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c38589847.lua
View file @
5fbeb53e
...
@@ -28,9 +28,7 @@ function c38589847.otcon(e,c)
...
@@ -28,9 +28,7 @@ function c38589847.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c38589847
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c38589847
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
if
ft
<=
0
then
mg
=
mg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
end
return
ft
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
end
function
c38589847
.
ottg
(
e
,
c
)
function
c38589847
.
ottg
(
e
,
c
)
return
c
:
IsLevelAbove
(
7
)
return
c
:
IsLevelAbove
(
7
)
...
...
c3912064.lua
View file @
5fbeb53e
...
@@ -51,7 +51,7 @@ function c3912064.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c3912064.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c3912064
.
ttcon
(
e
,
c
)
function
c3912064
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c3912064
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c3912064
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c40061558.lua
View file @
5fbeb53e
...
@@ -50,7 +50,7 @@ function c40061558.tlimit(e,c)
...
@@ -50,7 +50,7 @@ function c40061558.tlimit(e,c)
end
end
function
c40061558
.
ttcon
(
e
,
c
)
function
c40061558
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c40061558
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c40061558
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c40189917.lua
View file @
5fbeb53e
...
@@ -36,7 +36,7 @@ function c40189917.sumcon(e,c)
...
@@ -36,7 +36,7 @@ function c40189917.sumcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c40189917
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c40189917
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
return
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
end
function
c40189917
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c40189917
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c40189917
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c40189917
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c40921744.lua
View file @
5fbeb53e
...
@@ -40,16 +40,11 @@ function c40921744.sumcon(e,c)
...
@@ -40,16 +40,11 @@ function c40921744.sumcon(e,c)
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c40921744
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
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
)
local
ag
=
Duel
.
GetMatchingGroup
(
Card
.
IsAttribute
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_DARK
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
and
ag
:
GetClassCount
(
Card
.
GetCode
)
>=
4
end
end
function
c40921744
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c41753322.lua
View file @
5fbeb53e
...
@@ -51,8 +51,7 @@ function c41753322.otcon(e,c)
...
@@ -51,8 +51,7 @@ function c41753322.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c41753322
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c41753322
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
end
end
function
c41753322
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c41753322
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c41753322
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c41753322
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c42685062.lua
View file @
5fbeb53e
...
@@ -19,7 +19,7 @@ function c42685062.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c42685062.initial_effect(c)
end
end
function
c42685062
.
sumcon
(
e
,
c
)
function
c42685062
.
sumcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetTributeCount
(
c
)
~=
0
return
Duel
.
CheckTribute
(
c
,
1
)
end
end
function
c42685062
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c42685062
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c42880485.lua
View file @
5fbeb53e
...
@@ -97,15 +97,10 @@ function c42880485.otcon(e,c)
...
@@ -97,15 +97,10 @@ function c42880485.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c42880485
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c42880485
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c42880485
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c44910027.lua
View file @
5fbeb53e
...
@@ -38,7 +38,7 @@ function c44910027.initial_effect(c)
...
@@ -38,7 +38,7 @@ function c44910027.initial_effect(c)
end
end
function
c44910027
.
ttcon
(
e
,
c
)
function
c44910027
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c44910027
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c44910027
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c51192573.lua
View file @
5fbeb53e
...
@@ -42,7 +42,7 @@ function c51192573.otcon(e,c)
...
@@ -42,7 +42,7 @@ function c51192573.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c51192573
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c51192573
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
end
function
c51192573
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c51192573
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c51192573
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c51192573
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
...
...
c5186893.lua
View file @
5fbeb53e
...
@@ -28,18 +28,13 @@ function c5186893.otcon(e,c)
...
@@ -28,18 +28,13 @@ function c5186893.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c5186893
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c5186893
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c5186893
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c5186893
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c5186893
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c53199020.lua
View file @
5fbeb53e
...
@@ -35,18 +35,13 @@ function c53199020.otcon(e,c)
...
@@ -35,18 +35,13 @@ function c53199020.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c53199020
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c53199020
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c53199020
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c53199020
.
chcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53199020
.
chcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
re
:
GetHandler
():
GetType
()
==
TYPE_SPELL
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
ep
~=
tp
and
re
:
GetHandler
():
GetType
()
==
TYPE_SPELL
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
...
...
c55690251.lua
View file @
5fbeb53e
...
@@ -39,15 +39,10 @@ function c55690251.otcon(e,c)
...
@@ -39,15 +39,10 @@ function c55690251.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c55690251
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c55690251
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c55690251
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c57793869.lua
View file @
5fbeb53e
...
@@ -51,7 +51,7 @@ function c57793869.initial_effect(c)
...
@@ -51,7 +51,7 @@ function c57793869.initial_effect(c)
end
end
function
c57793869
.
ttcon
(
e
,
c
)
function
c57793869
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c57793869
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c57793869
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c58494728.lua
View file @
5fbeb53e
...
@@ -36,15 +36,10 @@ function c58494728.otcon(e,c)
...
@@ -36,15 +36,10 @@ function c58494728.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c58494728
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c58494728
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c58494728
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c58554959.lua
View file @
5fbeb53e
...
@@ -18,7 +18,7 @@ function c58554959.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c58554959.initial_effect(c)
end
end
function
c58554959
.
otcon
(
e
,
c
)
function
c58554959
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
0
,
LOCATION_MZONE
)
~=
0
and
Duel
.
GetTributeCount
(
c
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
end
end
function
c58554959
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c58554959
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c61231400.lua
View file @
5fbeb53e
...
@@ -18,7 +18,7 @@ function c61231400.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c61231400.initial_effect(c)
end
end
function
c61231400
.
otcon
(
e
,
c
)
function
c61231400
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
end
end
function
c61231400
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c61231400
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c62180201.lua
View file @
5fbeb53e
...
@@ -35,7 +35,7 @@ function c62180201.initial_effect(c)
...
@@ -35,7 +35,7 @@ function c62180201.initial_effect(c)
end
end
function
c62180201
.
ttcon
(
e
,
c
)
function
c62180201
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c62180201
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c62180201
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c6849042.lua
View file @
5fbeb53e
...
@@ -29,15 +29,10 @@ function c6849042.otcon(e,c)
...
@@ -29,15 +29,10 @@ function c6849042.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c6849042
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c6849042
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c6849042
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c69230391.lua
View file @
5fbeb53e
...
@@ -35,17 +35,11 @@ function c69230391.otfilter(c)
...
@@ -35,17 +35,11 @@ function c69230391.otfilter(c)
end
end
function
c69230391
.
otcon
(
e
,
c
)
function
c69230391
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c69230391
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c69230391
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c69230391
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c69230391
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c69230391
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c69327790.lua
View file @
5fbeb53e
...
@@ -36,17 +36,11 @@ function c69327790.otfilter(c)
...
@@ -36,17 +36,11 @@ function c69327790.otfilter(c)
end
end
function
c69327790
.
otcon
(
e
,
c
)
function
c69327790
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c69327790
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c69327790
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c69327790
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c69327790
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c69327790
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c70969517.lua
View file @
5fbeb53e
...
@@ -39,7 +39,7 @@ function c70969517.otcon(e,c)
...
@@ -39,7 +39,7 @@ function c70969517.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c70969517
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c70969517
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
,
mg
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
end
function
c70969517
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c70969517
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c70969517
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c70969517
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
...
...
c72258771.lua
View file @
5fbeb53e
...
@@ -65,15 +65,10 @@ function c72258771.otcon(e,c)
...
@@ -65,15 +65,10 @@ function c72258771.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c72258771
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c72258771
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c72258771
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c75285069.lua
View file @
5fbeb53e
...
@@ -23,7 +23,7 @@ function c75285069.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c75285069.initial_effect(c)
end
end
function
c75285069
.
ttcon
(
e
,
c
)
function
c75285069
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c75285069
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c75285069
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c76930964.lua
View file @
5fbeb53e
...
@@ -32,15 +32,10 @@ function c76930964.otcon(e,c)
...
@@ -32,15 +32,10 @@ function c76930964.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c76930964
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c76930964
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c76930964
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c78651105.lua
View file @
5fbeb53e
...
@@ -50,7 +50,7 @@ function c78651105.ntop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -50,7 +50,7 @@ function c78651105.ntop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
function
c78651105
.
ttcon
(
e
,
c
)
function
c78651105
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetTributeCount
(
c
)
>=
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c78651105
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c78651105
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c81254059.lua
View file @
5fbeb53e
...
@@ -29,15 +29,10 @@ function c81254059.otcon(e,c)
...
@@ -29,15 +29,10 @@ function c81254059.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c81254059
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c81254059
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c81254059
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c87288189.lua
View file @
5fbeb53e
...
@@ -36,17 +36,11 @@ function c87288189.otfilter(c)
...
@@ -36,17 +36,11 @@ function c87288189.otfilter(c)
end
end
function
c87288189
.
otcon
(
e
,
c
)
function
c87288189
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c87288189
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c87288189
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c87288189
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c87288189
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c87288189
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c87602890.lua
View file @
5fbeb53e
...
@@ -36,17 +36,11 @@ function c87602890.otfilter(c)
...
@@ -36,17 +36,11 @@ function c87602890.otfilter(c)
end
end
function
c87602890
.
otcon
(
e
,
c
)
function
c87602890
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c87602890
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c87602890
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c87602890
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c87602890
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c87602890
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c88071625.lua
View file @
5fbeb53e
...
@@ -46,20 +46,12 @@ function c88071625.initial_effect(c)
...
@@ -46,20 +46,12 @@ function c88071625.initial_effect(c)
end
end
function
c88071625
.
otcon
(
e
,
c
)
function
c88071625
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
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
end
function
c88071625
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c88071625
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
nil
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
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
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c88071625
.
valcheck
(
e
,
c
)
function
c88071625
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
g
=
c
:
GetMaterial
()
...
...
c94092230.lua
View file @
5fbeb53e
...
@@ -42,7 +42,7 @@ function c94092230.tlimit(e,c)
...
@@ -42,7 +42,7 @@ function c94092230.tlimit(e,c)
end
end
function
c94092230
.
ttcon
(
e
,
c
)
function
c94092230
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
GetTributeCount
(
c
)
>=
3
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
return
Duel
.
CheckTribute
(
c
,
3
)
end
end
function
c94092230
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c94092230
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c95701283.lua
View file @
5fbeb53e
...
@@ -18,7 +18,7 @@ function c95701283.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c95701283.initial_effect(c)
end
end
function
c95701283
.
otcon
(
e
,
c
)
function
c95701283
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
GetTributeCount
(
c
)
>
0
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
end
end
function
c95701283
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c95701283
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c96470883.lua
View file @
5fbeb53e
...
@@ -30,15 +30,10 @@ function c96470883.otcon(e,c)
...
@@ -30,15 +30,10 @@ function c96470883.otcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c96470883
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96470883
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
end
function
c96470883
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
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
)
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
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
c
:
SetMaterial
(
sg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
...
c96570609.lua
View file @
5fbeb53e
...
@@ -44,7 +44,7 @@ end
...
@@ -44,7 +44,7 @@ end
function
c96570609
.
otcon
(
e
,
c
)
function
c96570609
.
otcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
end
function
c96570609
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c96570609
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
...
...
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