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
d5cd4823
Commit
d5cd4823
authored
Dec 21, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update summon proc
parent
285e313f
Changes
61
Hide whitespace changes
Inline
Side-by-side
Showing
61 changed files
with
135 additions
and
129 deletions
+135
-129
c10000000.lua
c10000000.lua
+3
-3
c10000010.lua
c10000010.lua
+3
-3
c10000020.lua
c10000020.lua
+3
-3
c10000080.lua
c10000080.lua
+5
-5
c10026986.lua
c10026986.lua
+2
-2
c10060427.lua
c10060427.lua
+2
-2
c15545291.lua
c15545291.lua
+2
-2
c15605085.lua
c15605085.lua
+2
-2
c19700943.lua
c19700943.lua
+1
-1
c20003527.lua
c20003527.lua
+8
-4
c20447641.lua
c20447641.lua
+2
-2
c21208154.lua
c21208154.lua
+2
-2
c22996376.lua
c22996376.lua
+2
-2
c23064604.lua
c23064604.lua
+2
-2
c23309606.lua
c23309606.lua
+2
-2
c23689697.lua
c23689697.lua
+2
-2
c25524823.lua
c25524823.lua
+4
-4
c27279764.lua
c27279764.lua
+2
-2
c28348537.lua
c28348537.lua
+2
-2
c36354007.lua
c36354007.lua
+2
-2
c3825890.lua
c3825890.lua
+2
-2
c38589847.lua
c38589847.lua
+2
-2
c3912064.lua
c3912064.lua
+2
-2
c40061558.lua
c40061558.lua
+2
-2
c40189917.lua
c40189917.lua
+2
-2
c40921744.lua
c40921744.lua
+3
-3
c41753322.lua
c41753322.lua
+2
-2
c42685062.lua
c42685062.lua
+2
-2
c42880485.lua
c42880485.lua
+2
-2
c44910027.lua
c44910027.lua
+2
-2
c51192573.lua
c51192573.lua
+2
-2
c5186893.lua
c5186893.lua
+2
-2
c53199020.lua
c53199020.lua
+2
-2
c55690251.lua
c55690251.lua
+2
-2
c57793869.lua
c57793869.lua
+2
-2
c58494728.lua
c58494728.lua
+2
-2
c58554959.lua
c58554959.lua
+2
-2
c60482781.lua
c60482781.lua
+1
-1
c61231400.lua
c61231400.lua
+2
-2
c62180201.lua
c62180201.lua
+2
-2
c65959844.lua
c65959844.lua
+2
-2
c6849042.lua
c6849042.lua
+2
-2
c69230391.lua
c69230391.lua
+2
-2
c69327790.lua
c69327790.lua
+2
-2
c70969517.lua
c70969517.lua
+2
-2
c72258771.lua
c72258771.lua
+2
-2
c72497366.lua
c72497366.lua
+2
-2
c74591968.lua
c74591968.lua
+1
-1
c75285069.lua
c75285069.lua
+2
-2
c76930964.lua
c76930964.lua
+2
-2
c78651105.lua
c78651105.lua
+2
-2
c80230510.lua
c80230510.lua
+2
-2
c81254059.lua
c81254059.lua
+2
-2
c87288189.lua
c87288189.lua
+2
-2
c87602890.lua
c87602890.lua
+2
-2
c88071625.lua
c88071625.lua
+2
-2
c92001300.lua
c92001300.lua
+3
-1
c94092230.lua
c94092230.lua
+2
-2
c95701283.lua
c95701283.lua
+2
-2
c96470883.lua
c96470883.lua
+2
-2
c96570609.lua
c96570609.lua
+2
-2
No files found.
c10000000.lua
View file @
d5cd4823
...
...
@@ -57,16 +57,16 @@ function c10000000.initial_effect(c)
e7
:
SetOperation
(
c10000000
.
desop
)
c
:
RegisterEffect
(
e7
)
end
function
c10000000
.
ttcon
(
e
,
c
)
function
c10000000
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c10000000
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c10000000
.
setcon
(
e
,
c
)
function
c10000000
.
setcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
...
...
c10000010.lua
View file @
d5cd4823
...
...
@@ -53,16 +53,16 @@ function c10000010.initial_effect(c)
e7
:
SetOperation
(
c10000010
.
desop
)
c
:
RegisterEffect
(
e7
)
end
function
c10000010
.
ttcon
(
e
,
c
)
function
c10000010
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c10000010
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c10000010
.
setcon
(
e
,
c
)
function
c10000010
.
setcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
...
...
c10000020.lua
View file @
d5cd4823
...
...
@@ -64,16 +64,16 @@ function c10000020.initial_effect(c)
e9
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e9
)
end
function
c10000020
.
ttcon
(
e
,
c
)
function
c10000020
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c10000020
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c10000020
.
setcon
(
e
,
c
)
function
c10000020
.
setcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
...
...
c10000080.lua
View file @
d5cd4823
...
...
@@ -66,19 +66,19 @@ function c10000080.initial_effect(c)
e9
:
SetOperation
(
c10000080
.
spop
)
c
:
RegisterEffect
(
e9
)
end
function
c10000080
.
ttcon1
(
e
,
c
)
function
c10000080
.
ttcon1
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c10000080
.
ttop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c10000080
.
ttcon2
(
e
,
c
)
function
c10000080
.
ttcon2
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckTribute
(
c
,
3
,
3
,
nil
,
1
-
tp
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
,
3
,
nil
,
1
-
tp
)
end
function
c10000080
.
ttop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
...
...
@@ -86,7 +86,7 @@ function c10000080.ttop2(e,tp,eg,ep,ev,re,r,rp,c)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c10000080
.
setcon
(
e
,
c
)
function
c10000080
.
setcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
...
...
c10026986.lua
View file @
d5cd4823
...
...
@@ -25,11 +25,11 @@ end
function
c10026986
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x3e
)
and
c
:
IsRace
(
RACE_REPTILE
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c10026986
.
otcon
(
e
,
c
)
function
c10026986
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c10060427.lua
View file @
d5cd4823
...
...
@@ -77,11 +77,11 @@ end
function
c10060427
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x1d
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c10060427
.
otcon
(
e
,
c
)
function
c10060427
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c15545291.lua
View file @
d5cd4823
...
...
@@ -34,10 +34,10 @@ end
function
c15545291
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c15545291
.
otcon
(
e
,
c
)
function
c15545291
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c15545291
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c15605085.lua
View file @
d5cd4823
...
...
@@ -26,11 +26,11 @@ end
function
c15605085
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c15605085
.
otcon
(
e
,
c
)
function
c15605085
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c15605085
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c19700943.lua
View file @
d5cd4823
...
...
@@ -13,7 +13,7 @@ function c19700943.initial_effect(c)
e2
:
SetOperation
(
c19700943
.
atkop
)
c
:
RegisterEffect
(
e2
)
end
function
c19700943
.
sumcon
(
e
,
c
)
function
c19700943
.
sumcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
...
...
c20003527.lua
View file @
d5cd4823
...
...
@@ -55,15 +55,19 @@ end
function
c20003527
.
cfilter
(
c
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c20003527
.
sumcon
(
e
,
c
)
function
c20003527
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
min
=
1
if
minc
>=
1
then
min
=
minc
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c20003527
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
4
and
Duel
.
CheckTribute
(
c
,
1
,
10
,
mg
)
return
c
:
GetLevel
()
>
4
and
Duel
.
CheckTribute
(
c
,
min
,
10
,
mg
)
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
,
minc
)
local
min
=
1
if
minc
>=
1
then
min
=
minc
end
local
mg
=
Duel
.
GetMatchingGroup
(
c20003527
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
10
,
mg
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
min
,
10
,
mg
)
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
...
...
c20447641.lua
View file @
d5cd4823
...
...
@@ -64,10 +64,10 @@ end
function
c20447641
.
ttfilter
(
c
)
return
c
:
GetOriginalCode
()
==
20447641
and
c
:
IsReleasable
()
and
c
:
GetFlagEffect
(
20447641
)
~=
0
end
function
c20447641
.
ttcon
(
e
,
c
)
function
c20447641
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
minc
<=
3
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c20447641
.
ttfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c20447641
.
tttg
(
e
,
c
)
...
...
c21208154.lua
View file @
d5cd4823
...
...
@@ -36,9 +36,9 @@ function c21208154.initial_effect(c)
e6
:
SetOperation
(
c21208154
.
regop
)
c
:
RegisterEffect
(
e6
)
end
function
c21208154
.
ttcon
(
e
,
c
)
function
c21208154
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c21208154
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c22996376.lua
View file @
d5cd4823
...
...
@@ -25,9 +25,9 @@ function c22996376.initial_effect(c)
e3
:
SetOperation
(
c22996376
.
thop
)
c
:
RegisterEffect
(
e3
)
end
function
c22996376
.
otcon
(
e
,
c
)
function
c22996376
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
end
function
c22996376
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c23064604.lua
View file @
d5cd4823
...
...
@@ -42,10 +42,10 @@ end
function
c23064604
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c23064604
.
otcon
(
e
,
c
)
function
c23064604
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c23064604
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c23309606.lua
View file @
d5cd4823
...
...
@@ -25,13 +25,13 @@ end
function
c23309606
.
otfilter
(
c
,
tp
)
return
c
:
IsAttackAbove
(
2000
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c23309606
.
otcon
(
e
,
c
)
function
c23309606
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
hg
:
RemoveCard
(
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c23309606
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
hg
:
GetCount
()
>
0
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
hg
:
GetCount
()
>
0
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
and
hg
:
FilterCount
(
Card
.
IsAbleToGraveAsCost
,
nil
)
==
hg
:
GetCount
()
end
function
c23309606
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
c23689697.lua
View file @
d5cd4823
...
...
@@ -34,10 +34,10 @@ end
function
c23689697
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c23689697
.
otcon
(
e
,
c
)
function
c23689697
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c23689697
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c25524823.lua
View file @
d5cd4823
...
...
@@ -38,9 +38,9 @@ function c25524823.initial_effect(c)
e3
:
SetLabelObject
(
e4
)
e4
:
SetLabelObject
(
e3
)
end
function
c25524823
.
ttcon
(
e
,
c
)
function
c25524823
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c25524823
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
@@ -51,11 +51,11 @@ end
function
c25524823
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2e
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c25524823
.
otcon
(
e
,
c
)
function
c25524823
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c25524823
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c27279764.lua
View file @
d5cd4823
...
...
@@ -59,9 +59,9 @@ end
function
c27279764
.
tlimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0xaa
)
end
function
c27279764
.
ttcon
(
e
,
c
)
function
c27279764
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c27279764
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c28348537.lua
View file @
d5cd4823
...
...
@@ -20,11 +20,11 @@ end
function
c28348537
.
otfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c28348537
.
otcon
(
e
,
c
)
function
c28348537
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c36354007.lua
View file @
d5cd4823
...
...
@@ -21,9 +21,9 @@ function c36354007.initial_effect(c)
e2
:
SetOperation
(
c36354007
.
desop
)
c
:
RegisterEffect
(
e2
)
end
function
c36354007
.
ttcon
(
e
,
c
)
function
c36354007
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c36354007
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c3825890.lua
View file @
d5cd4823
...
...
@@ -30,11 +30,11 @@ end
function
c3825890
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2e
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c3825890
.
otcon
(
e
,
c
)
function
c3825890
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c3825890
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c38589847.lua
View file @
d5cd4823
...
...
@@ -24,11 +24,11 @@ end
function
c38589847
.
otfilter
(
c
,
tp
)
return
c
:
IsLevelAbove
(
5
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c38589847
.
otcon
(
e
,
c
)
function
c38589847
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
function
c38589847
.
ottg
(
e
,
c
)
return
c
:
IsLevelAbove
(
7
)
...
...
c3912064.lua
View file @
d5cd4823
...
...
@@ -49,9 +49,9 @@ function c3912064.posop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
ChangePosition
(
g
,
POS_FACEUP_ATTACK
)
end
function
c3912064
.
ttcon
(
e
,
c
)
function
c3912064
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c3912064
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c40061558.lua
View file @
d5cd4823
...
...
@@ -48,9 +48,9 @@ end
function
c40061558
.
tlimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0xaa
)
end
function
c40061558
.
ttcon
(
e
,
c
)
function
c40061558
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c40061558
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c40189917.lua
View file @
d5cd4823
...
...
@@ -32,11 +32,11 @@ end
function
c40189917
.
mfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2c
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c40189917
.
sumcon
(
e
,
c
)
function
c40189917
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c40189917
.
mfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c40921744.lua
View file @
d5cd4823
--堕天使ゼラート
function
c40921744
.
initial_effect
(
c
)
--s
pecial s
ummon
--summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
40921744
,
0
))
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
@@ -35,12 +35,12 @@ end
function
c40921744
.
mfilter
(
c
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c40921744
.
sumcon
(
e
,
c
)
function
c40921744
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
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
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
and
ag
:
GetClassCount
(
Card
.
GetCode
)
>=
4
end
function
c40921744
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
c41753322.lua
View file @
d5cd4823
...
...
@@ -47,11 +47,11 @@ end
function
c41753322
.
otfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c41753322
.
otcon
(
e
,
c
)
function
c41753322
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c41753322
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c42685062.lua
View file @
d5cd4823
...
...
@@ -17,9 +17,9 @@ function c42685062.initial_effect(c)
e2
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
c
:
RegisterEffect
(
e2
)
end
function
c42685062
.
sumcon
(
e
,
c
)
function
c42685062
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
1
)
return
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
end
function
c42685062
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c42880485.lua
View file @
d5cd4823
...
...
@@ -93,11 +93,11 @@ end
function
c42880485
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x9a
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c42880485
.
otcon
(
e
,
c
)
function
c42880485
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c44910027.lua
View file @
d5cd4823
...
...
@@ -36,9 +36,9 @@ function c44910027.initial_effect(c)
e4
:
SetCode
(
EFFECT_MATCH_KILL
)
c
:
RegisterEffect
(
e4
)
end
function
c44910027
.
ttcon
(
e
,
c
)
function
c44910027
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c44910027
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c51192573.lua
View file @
d5cd4823
...
...
@@ -38,11 +38,11 @@ end
function
c51192573
.
otfilter
(
c
,
tp
)
return
c
:
GetOwner
()
==
tp
end
function
c51192573
.
otcon
(
e
,
c
)
function
c51192573
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c51192573
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
1
-
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c5186893.lua
View file @
d5cd4823
...
...
@@ -24,11 +24,11 @@ end
function
c5186893
.
otfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c5186893
.
otcon
(
e
,
c
)
function
c5186893
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c53199020.lua
View file @
d5cd4823
...
...
@@ -31,11 +31,11 @@ end
function
c53199020
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x35
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c53199020
.
otcon
(
e
,
c
)
function
c53199020
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c55690251.lua
View file @
d5cd4823
...
...
@@ -35,11 +35,11 @@ end
function
c55690251
.
otfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c55690251
.
otcon
(
e
,
c
)
function
c55690251
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c57793869.lua
View file @
d5cd4823
...
...
@@ -49,9 +49,9 @@ function c57793869.initial_effect(c)
e7
:
SetOperation
(
c57793869
.
desop
)
c
:
RegisterEffect
(
e7
)
end
function
c57793869
.
ttcon
(
e
,
c
)
function
c57793869
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c57793869
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c58494728.lua
View file @
d5cd4823
...
...
@@ -32,11 +32,11 @@ end
function
c58494728
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x100a
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c58494728
.
otcon
(
e
,
c
)
function
c58494728
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c58554959.lua
View file @
d5cd4823
...
...
@@ -16,9 +16,9 @@ function c58554959.initial_effect(c)
e2
:
SetCode
(
EFFECT_PIERCE
)
c
:
RegisterEffect
(
e2
)
end
function
c58554959
.
otcon
(
e
,
c
)
function
c58554959
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
end
function
c58554959
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c60482781.lua
View file @
d5cd4823
...
...
@@ -37,7 +37,7 @@ function c60482781.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c60482781
.
sumcon
(
e
,
c
)
function
c60482781
.
sumcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
c61231400.lua
View file @
d5cd4823
...
...
@@ -16,9 +16,9 @@ function c61231400.initial_effect(c)
e2
:
SetCode
(
EFFECT_PIERCE
)
c
:
RegisterEffect
(
e2
)
end
function
c61231400
.
otcon
(
e
,
c
)
function
c61231400
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
end
function
c61231400
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c62180201.lua
View file @
d5cd4823
...
...
@@ -33,9 +33,9 @@ function c62180201.initial_effect(c)
e5
:
SetValue
(
c62180201
.
defval
)
c
:
RegisterEffect
(
e5
)
end
function
c62180201
.
ttcon
(
e
,
c
)
function
c62180201
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c62180201
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c65959844.lua
View file @
d5cd4823
...
...
@@ -36,9 +36,9 @@ function c65959844.initial_effect(c)
e4
:
SetOperation
(
c65959844
.
desop
)
c
:
RegisterEffect
(
e4
)
end
function
c65959844
.
ntcon
(
e
,
c
)
function
c65959844
.
ntcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
minc
==
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c65959844
.
nttg
(
e
,
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsType
(
TYPE_DUAL
)
...
...
c6849042.lua
View file @
d5cd4823
...
...
@@ -25,11 +25,11 @@ end
function
c6849042
.
otfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c6849042
.
otcon
(
e
,
c
)
function
c6849042
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c69230391.lua
View file @
d5cd4823
...
...
@@ -33,10 +33,10 @@ end
function
c69230391
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c69230391
.
otcon
(
e
,
c
)
function
c69230391
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c69230391
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c69327790.lua
View file @
d5cd4823
...
...
@@ -34,10 +34,10 @@ end
function
c69327790
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c69327790
.
otcon
(
e
,
c
)
function
c69327790
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c69327790
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c70969517.lua
View file @
d5cd4823
...
...
@@ -35,11 +35,11 @@ end
function
c70969517
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x1b
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c70969517
.
otcon
(
e
,
c
)
function
c70969517
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c70969517
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
end
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
)
...
...
c72258771.lua
View file @
d5cd4823
...
...
@@ -61,11 +61,11 @@ end
function
c72258771
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x1d
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c72258771
.
otcon
(
e
,
c
)
function
c72258771
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c72497366.lua
View file @
d5cd4823
...
...
@@ -25,9 +25,9 @@ function c72497366.initial_effect(c)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
end
function
c72497366
.
ntcon
(
e
,
c
)
function
c72497366
.
ntcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
minc
==
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c72497366
.
nttg
(
e
,
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsRace
(
RACE_FIEND
)
...
...
c74591968.lua
View file @
d5cd4823
...
...
@@ -81,7 +81,7 @@ function c74591968.spop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
end
end
function
c74591968
.
sumcon
(
e
,
c
)
function
c74591968
.
sumcon
(
e
,
c
,
minc
)
if
not
c
then
return
true
end
return
false
end
c75285069.lua
View file @
d5cd4823
...
...
@@ -21,9 +21,9 @@ function c75285069.initial_effect(c)
e2
:
SetOperation
(
c75285069
.
desop
)
c
:
RegisterEffect
(
e2
)
end
function
c75285069
.
ttcon
(
e
,
c
)
function
c75285069
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c75285069
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c76930964.lua
View file @
d5cd4823
...
...
@@ -28,11 +28,11 @@ end
function
c76930964
.
otfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x2b
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c76930964
.
otcon
(
e
,
c
)
function
c76930964
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c78651105.lua
View file @
d5cd4823
...
...
@@ -48,9 +48,9 @@ function c78651105.ntop(e,tp,eg,ep,ev,re,r,rp,c)
e1
:
SetValue
(
1900
)
c
:
RegisterEffect
(
e1
)
end
function
c78651105
.
ttcon
(
e
,
c
)
function
c78651105
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c78651105
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
c80230510.lua
View file @
d5cd4823
...
...
@@ -40,10 +40,10 @@ end
function
c80230510
.
rmfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c80230510
.
otcon
(
e
,
c
)
function
c80230510
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
minc
<=
2
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c80230510
.
rmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c80230510
.
rmfilter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
...
...
c81254059.lua
View file @
d5cd4823
...
...
@@ -25,11 +25,11 @@ end
function
c81254059
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x3e
)
and
c
:
IsRace
(
RACE_REPTILE
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c81254059
.
otcon
(
e
,
c
)
function
c81254059
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c87288189.lua
View file @
d5cd4823
...
...
@@ -34,10 +34,10 @@ end
function
c87288189
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c87288189
.
otcon
(
e
,
c
)
function
c87288189
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c87288189
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c87602890.lua
View file @
d5cd4823
...
...
@@ -34,10 +34,10 @@ end
function
c87602890
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c87602890
.
otcon
(
e
,
c
)
function
c87602890
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c87602890
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c88071625.lua
View file @
d5cd4823
...
...
@@ -44,9 +44,9 @@ function c88071625.initial_effect(c)
e6
:
SetOperation
(
c88071625
.
copyop
)
c
:
RegisterEffect
(
e6
)
end
function
c88071625
.
otcon
(
e
,
c
)
function
c88071625
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
end
function
c88071625
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c92001300.lua
View file @
d5cd4823
...
...
@@ -41,9 +41,11 @@ end
function
c92001300
.
addc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0xb
,
1
)
end
function
c92001300
.
sumcon
(
e
,
c
)
function
c92001300
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
e
:
GetHandler
():
IsReleasable
()
end
local
mi
,
ma
=
c
:
GetTributeRequirement
()
if
mi
<
minc
then
mi
=
minc
end
if
ma
<
mi
then
return
false
end
return
ma
>
0
and
e
:
GetHandler
():
GetCounter
(
0xb
)
>=
mi
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c92001300
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
c94092230.lua
View file @
d5cd4823
...
...
@@ -40,9 +40,9 @@ end
function
c94092230
.
tlimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x100a
)
end
function
c94092230
.
ttcon
(
e
,
c
)
function
c94092230
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
Duel
.
CheckTribute
(
c
,
3
)
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
c94092230
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
...
...
c95701283.lua
View file @
d5cd4823
...
...
@@ -16,9 +16,9 @@ function c95701283.initial_effect(c)
e2
:
SetCode
(
EFFECT_PIERCE
)
c
:
RegisterEffect
(
e2
)
end
function
c95701283
.
otcon
(
e
,
c
)
function
c95701283
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
end
function
c95701283
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
)
...
...
c96470883.lua
View file @
d5cd4823
...
...
@@ -26,11 +26,11 @@ end
function
c96470883
.
otfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_PLANT
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c96470883
.
otcon
(
e
,
c
)
function
c96470883
.
otcon
(
e
,
c
,
minc
)
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
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
c96570609.lua
View file @
d5cd4823
...
...
@@ -41,10 +41,10 @@ end
function
c96570609
.
otfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
end
function
c96570609
.
otcon
(
e
,
c
)
function
c96570609
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
mg
=
Duel
.
GetMatchingGroup
(
c96570609
.
otfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
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
)
...
...
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