Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
wyykak
ygopro
Commits
5b9bab7e
Commit
5b9bab7e
authored
Oct 13, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ad4b4a3f
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
117 additions
and
60 deletions
+117
-60
script/c10060427.lua
script/c10060427.lua
+6
-3
script/c12435193.lua
script/c12435193.lua
+6
-3
script/c19642889.lua
script/c19642889.lua
+6
-3
script/c30936186.lua
script/c30936186.lua
+6
-3
script/c32314730.lua
script/c32314730.lua
+6
-3
script/c39037517.lua
script/c39037517.lua
+6
-3
script/c41201555.lua
script/c41201555.lua
+6
-3
script/c45041488.lua
script/c45041488.lua
+6
-3
script/c49680980.lua
script/c49680980.lua
+6
-3
script/c54520292.lua
script/c54520292.lua
+6
-3
script/c5817857.lua
script/c5817857.lua
+6
-3
script/c65025250.lua
script/c65025250.lua
+1
-1
script/c65026212.lua
script/c65026212.lua
+6
-3
script/c65685470.lua
script/c65685470.lua
+2
-2
script/c66816282.lua
script/c66816282.lua
+6
-3
script/c68809475.lua
script/c68809475.lua
+6
-3
script/c72258771.lua
script/c72258771.lua
+6
-3
script/c74576482.lua
script/c74576482.lua
+6
-3
script/c80367387.lua
script/c80367387.lua
+6
-3
script/c80925836.lua
script/c80925836.lua
+6
-3
script/c95090813.lua
script/c95090813.lua
+6
-3
No files found.
script/c10060427.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c10060427.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c10060427.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c10060427
.
ccost
)
e1
:
SetCondition
(
c10060427
.
mtcon
)
e1
:
SetOperation
(
c10060427
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--summon with 1 tribute
--summon with 1 tribute
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -34,14 +35,16 @@ function c10060427.initial_effect(c)
...
@@ -34,14 +35,16 @@ function c10060427.initial_effect(c)
e3
:
SetOperation
(
c10060427
.
desop
)
e3
:
SetOperation
(
c10060427
.
desop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c10060427
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c10060427
.
cfilter1
(
c
)
function
c10060427
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c10060427
.
cfilter2
(
c
)
function
c10060427
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsPublic
()
end
end
function
c10060427
.
ccost
(
e
,
tp
)
function
c10060427
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c10060427
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c10060427
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c10060427
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c10060427
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c12435193.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c12435193.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c12435193.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c12435193
.
ccost
)
e1
:
SetCondition
(
c12435193
.
mtcon
)
e1
:
SetOperation
(
c12435193
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--disable spsummon
--disable spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -19,14 +20,16 @@ function c12435193.initial_effect(c)
...
@@ -19,14 +20,16 @@ function c12435193.initial_effect(c)
e2
:
SetTarget
(
c12435193
.
disspsum
)
e2
:
SetTarget
(
c12435193
.
disspsum
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c12435193
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c12435193
.
cfilter1
(
c
)
function
c12435193
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c12435193
.
cfilter2
(
c
)
function
c12435193
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
not
c
:
IsPublic
()
end
end
function
c12435193
.
ccost
(
e
,
tp
)
function
c12435193
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c12435193
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c12435193
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c12435193
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c12435193
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c19642889.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c19642889.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c19642889.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c19642889
.
ccost
)
e1
:
SetCondition
(
c19642889
.
mtcon
)
e1
:
SetOperation
(
c19642889
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--negate
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,14 +22,16 @@ function c19642889.initial_effect(c)
...
@@ -21,14 +22,16 @@ function c19642889.initial_effect(c)
e3
:
SetOperation
(
c19642889
.
negop2
)
e3
:
SetOperation
(
c19642889
.
negop2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c19642889
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c19642889
.
cfilter1
(
c
)
function
c19642889
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c19642889
.
cfilter2
(
c
)
function
c19642889
.
cfilter2
(
c
)
return
c
:
GetType
()
==
TYPE_TRAP
and
not
c
:
IsPublic
()
return
c
:
GetType
()
==
TYPE_TRAP
and
not
c
:
IsPublic
()
end
end
function
c19642889
.
ccost
(
e
,
tp
)
function
c19642889
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c19642889
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c19642889
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c19642889
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c19642889
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c30936186.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c30936186.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c30936186.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c30936186
.
ccost
)
e1
:
SetCondition
(
c30936186
.
mtcon
)
e1
:
SetOperation
(
c30936186
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,14 +22,16 @@ function c30936186.initial_effect(c)
...
@@ -21,14 +22,16 @@ function c30936186.initial_effect(c)
e2
:
SetOperation
(
c30936186
.
spop
)
e2
:
SetOperation
(
c30936186
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c30936186
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c30936186
.
cfilter1
(
c
)
function
c30936186
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c30936186
.
cfilter2
(
c
)
function
c30936186
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
not
c
:
IsPublic
()
end
end
function
c30936186
.
ccost
(
e
,
tp
)
function
c30936186
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c30936186
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c30936186
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c30936186
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c30936186
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c32314730.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c32314730.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c32314730.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c32314730
.
ccost
)
e1
:
SetCondition
(
c32314730
.
mtcon
)
e1
:
SetOperation
(
c32314730
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--salvage
--salvage
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,14 +22,16 @@ function c32314730.initial_effect(c)
...
@@ -21,14 +22,16 @@ function c32314730.initial_effect(c)
e2
:
SetOperation
(
c32314730
.
thop
)
e2
:
SetOperation
(
c32314730
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c32314730
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c32314730
.
cfilter1
(
c
)
function
c32314730
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c32314730
.
cfilter2
(
c
)
function
c32314730
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_BEASTWARRIOR
)
and
not
c
:
IsPublic
()
end
end
function
c32314730
.
ccost
(
e
,
tp
)
function
c32314730
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c32314730
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c32314730
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c32314730
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c32314730
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c39037517.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c39037517.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c39037517.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c39037517
.
ccost
)
e1
:
SetCondition
(
c39037517
.
mtcon
)
e1
:
SetOperation
(
c39037517
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--poschange
--poschange
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -20,14 +21,16 @@ function c39037517.initial_effect(c)
...
@@ -20,14 +21,16 @@ function c39037517.initial_effect(c)
e2
:
SetOperation
(
c39037517
.
operation
)
e2
:
SetOperation
(
c39037517
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c39037517
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c39037517
.
cfilter1
(
c
)
function
c39037517
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c39037517
.
cfilter2
(
c
)
function
c39037517
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_INSECT
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_INSECT
)
and
not
c
:
IsPublic
()
end
end
function
c39037517
.
ccost
(
e
,
tp
)
function
c39037517
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c39037517
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c39037517
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c39037517
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c39037517
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c41201555.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c41201555.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c41201555.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c41201555
.
ccost
)
e1
:
SetCondition
(
c41201555
.
mtcon
)
e1
:
SetOperation
(
c41201555
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--send to grave
--send to grave
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -22,14 +23,16 @@ function c41201555.initial_effect(c)
...
@@ -22,14 +23,16 @@ function c41201555.initial_effect(c)
e2
:
SetOperation
(
c41201555
.
operation
)
e2
:
SetOperation
(
c41201555
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c41201555
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c41201555
.
cfilter1
(
c
)
function
c41201555
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c41201555
.
cfilter2
(
c
)
function
c41201555
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_PLANT
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_PLANT
)
and
not
c
:
IsPublic
()
end
end
function
c41201555
.
ccost
(
e
,
tp
)
function
c41201555
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c41201555
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c41201555
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c41201555
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c41201555
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c45041488.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c45041488.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c45041488.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c45041488
.
ccost
)
e1
:
SetCondition
(
c45041488
.
mtcon
)
e1
:
SetOperation
(
c45041488
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Negate
--Negate
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -23,14 +24,16 @@ function c45041488.initial_effect(c)
...
@@ -23,14 +24,16 @@ function c45041488.initial_effect(c)
e2
:
SetOperation
(
c45041488
.
operation
)
e2
:
SetOperation
(
c45041488
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c45041488
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c45041488
.
cfilter1
(
c
)
function
c45041488
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c45041488
.
cfilter2
(
c
)
function
c45041488
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsPublic
()
end
end
function
c45041488
.
ccost
(
e
,
tp
)
function
c45041488
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c45041488
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c45041488
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c45041488
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c45041488
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c49680980.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c49680980.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c49680980.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c49680980
.
ccost
)
e1
:
SetCondition
(
c49680980
.
mtcon
)
e1
:
SetOperation
(
c49680980
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Negate
--Negate
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -23,14 +24,16 @@ function c49680980.initial_effect(c)
...
@@ -23,14 +24,16 @@ function c49680980.initial_effect(c)
e2
:
SetOperation
(
c49680980
.
operation
)
e2
:
SetOperation
(
c49680980
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c49680980
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c49680980
.
cfilter1
(
c
)
function
c49680980
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c49680980
.
cfilter2
(
c
)
function
c49680980
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsPublic
()
end
end
function
c49680980
.
ccost
(
e
,
tp
)
function
c49680980
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c49680980
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c49680980
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c49680980
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c49680980
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c54520292.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c54520292.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c54520292.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c54520292
.
ccost
)
e1
:
SetCondition
(
c54520292
.
mtcon
)
e1
:
SetOperation
(
c54520292
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,14 +22,16 @@ function c54520292.initial_effect(c)
...
@@ -21,14 +22,16 @@ function c54520292.initial_effect(c)
e2
:
SetOperation
(
c54520292
.
desop
)
e2
:
SetOperation
(
c54520292
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c54520292
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c54520292
.
cfilter1
(
c
)
function
c54520292
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c54520292
.
cfilter2
(
c
)
function
c54520292
.
cfilter2
(
c
)
return
c
:
GetType
()
==
TYPE_SPELL
+
TYPE_CONTINUOUS
and
not
c
:
IsPublic
()
return
c
:
GetType
()
==
TYPE_SPELL
+
TYPE_CONTINUOUS
and
not
c
:
IsPublic
()
end
end
function
c54520292
.
ccost
(
e
,
tp
)
function
c54520292
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c54520292
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c54520292
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c54520292
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c54520292
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c5817857.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c5817857.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c5817857.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c5817857
.
ccost
)
e1
:
SetCondition
(
c5817857
.
mtcon
)
e1
:
SetOperation
(
c5817857
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy replace
--destroy replace
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -19,14 +20,16 @@ function c5817857.initial_effect(c)
...
@@ -19,14 +20,16 @@ function c5817857.initial_effect(c)
e2
:
SetOperation
(
c5817857
.
desop
)
e2
:
SetOperation
(
c5817857
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c5817857
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c5817857
.
cfilter1
(
c
)
function
c5817857
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c5817857
.
cfilter2
(
c
)
function
c5817857
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
not
c
:
IsPublic
()
end
end
function
c5817857
.
ccost
(
e
,
tp
)
function
c5817857
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c5817857
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c5817857
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c5817857
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c5817857
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c65025250.lua
View file @
5b9bab7e
...
@@ -40,7 +40,7 @@ function c65025250.filter(c,tp)
...
@@ -40,7 +40,7 @@ function c65025250.filter(c,tp)
and
c
:
IsSetCard
(
0xb3
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
and
c
:
IsSetCard
(
0xb3
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
end
function
c65025250
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65025250
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c65025250
.
filter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
c65025250
.
filter
,
1
,
nil
,
tp
)
end
return
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65025250
,
0
))
return
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65025250
,
0
))
end
end
function
c65025250
.
repval
(
e
,
c
)
function
c65025250
.
repval
(
e
,
c
)
...
...
script/c65026212.lua
View file @
5b9bab7e
...
@@ -8,7 +8,8 @@ function c65026212.initial_effect(c)
...
@@ -8,7 +8,8 @@ function c65026212.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c65026212
.
ccost
)
e1
:
SetCondition
(
c65026212
.
mtcon
)
e1
:
SetOperation
(
c65026212
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--spsummon proc
--spsummon proc
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -31,14 +32,16 @@ function c65026212.initial_effect(c)
...
@@ -31,14 +32,16 @@ function c65026212.initial_effect(c)
e3
:
SetOperation
(
c65026212
.
desop
)
e3
:
SetOperation
(
c65026212
.
desop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c65026212
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c65026212
.
cfilter1
(
c
)
function
c65026212
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c65026212
.
cfilter2
(
c
)
function
c65026212
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1d
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1d
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c65026212
.
ccost
(
e
,
tp
)
function
c65026212
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c65026212
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c65026212
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c65026212
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c65026212
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c65685470.lua
View file @
5b9bab7e
...
@@ -27,7 +27,7 @@ function c65685470.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c65685470.initial_effect(c)
e3
:
SetValue
(
500
)
e3
:
SetValue
(
500
)
e3
:
SetCondition
(
c65685470
.
uncon
)
e3
:
SetCondition
(
c65685470
.
uncon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--
Atk
up
--
Def
up
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
...
@@ -100,7 +100,7 @@ end
...
@@ -100,7 +100,7 @@ end
function
c65685470
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65685470
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
_ATTACK
)
end
end
end
end
function
c65685470
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65685470
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c66816282.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c66816282.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c66816282.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c66816282
.
ccost
)
e1
:
SetCondition
(
c66816282
.
mtcon
)
e1
:
SetOperation
(
c66816282
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Negate
--Negate
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -23,14 +24,16 @@ function c66816282.initial_effect(c)
...
@@ -23,14 +24,16 @@ function c66816282.initial_effect(c)
e2
:
SetOperation
(
c66816282
.
operation
)
e2
:
SetOperation
(
c66816282
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c66816282
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c66816282
.
cfilter1
(
c
)
function
c66816282
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c66816282
.
cfilter2
(
c
)
function
c66816282
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_ROCK
)
and
not
c
:
IsPublic
()
end
end
function
c66816282
.
ccost
(
e
,
tp
)
function
c66816282
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c66816282
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c66816282
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c66816282
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c66816282
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c68809475.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c68809475.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c68809475.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c68809475
.
ccost
)
e1
:
SetCondition
(
c68809475
.
mtcon
)
e1
:
SetOperation
(
c68809475
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--draw
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -22,14 +23,16 @@ function c68809475.initial_effect(c)
...
@@ -22,14 +23,16 @@ function c68809475.initial_effect(c)
e2
:
SetOperation
(
c68809475
.
drop
)
e2
:
SetOperation
(
c68809475
.
drop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c68809475
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c68809475
.
cfilter1
(
c
)
function
c68809475
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c68809475
.
cfilter2
(
c
)
function
c68809475
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
not
c
:
IsPublic
()
end
end
function
c68809475
.
ccost
(
e
,
tp
)
function
c68809475
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c68809475
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c68809475
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c68809475
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c68809475
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c72258771.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c72258771.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c72258771.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c72258771
.
ccost
)
e1
:
SetCondition
(
c72258771
.
mtcon
)
e1
:
SetOperation
(
c72258771
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--summon with 1 tribute
--summon with 1 tribute
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -33,11 +34,13 @@ function c72258771.initial_effect(c)
...
@@ -33,11 +34,13 @@ function c72258771.initial_effect(c)
e4
:
SetValue
(
c72258771
.
efilter
)
e4
:
SetValue
(
c72258771
.
efilter
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c72258771
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c72258771
.
cfilter1
(
c
)
function
c72258771
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c72258771
.
ccost
(
e
,
tp
)
function
c72258771
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c72258771
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c72258771
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
1
local
select
=
1
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
...
...
script/c74576482.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c74576482.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c74576482.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c74576482
.
ccost
)
e1
:
SetCondition
(
c74576482
.
mtcon
)
e1
:
SetOperation
(
c74576482
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--to deck
--to deck
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -22,14 +23,16 @@ function c74576482.initial_effect(c)
...
@@ -22,14 +23,16 @@ function c74576482.initial_effect(c)
e2
:
SetOperation
(
c74576482
.
tdop
)
e2
:
SetOperation
(
c74576482
.
tdop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c74576482
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c74576482
.
cfilter1
(
c
)
function
c74576482
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c74576482
.
cfilter2
(
c
)
function
c74576482
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
not
c
:
IsPublic
()
end
end
function
c74576482
.
ccost
(
e
,
tp
)
function
c74576482
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c74576482
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c74576482
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c74576482
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c74576482
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c80367387.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c80367387.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c80367387.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c80367387
.
ccost
)
e1
:
SetCondition
(
c80367387
.
mtcon
)
e1
:
SetOperation
(
c80367387
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--chain attack
--chain attack
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -18,14 +19,16 @@ function c80367387.initial_effect(c)
...
@@ -18,14 +19,16 @@ function c80367387.initial_effect(c)
e2
:
SetOperation
(
c80367387
.
atop
)
e2
:
SetOperation
(
c80367387
.
atop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c80367387
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c80367387
.
cfilter1
(
c
)
function
c80367387
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c80367387
.
cfilter2
(
c
)
function
c80367387
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsPublic
()
end
end
function
c80367387
.
ccost
(
e
,
tp
)
function
c80367387
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c80367387
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c80367387
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c80367387
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c80367387
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c80925836.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c80925836.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c80925836.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c80925836
.
ccost
)
e1
:
SetCondition
(
c80925836
.
mtcon
)
e1
:
SetOperation
(
c80925836
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--disable
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -17,14 +18,16 @@ function c80925836.initial_effect(c)
...
@@ -17,14 +18,16 @@ function c80925836.initial_effect(c)
e2
:
SetOperation
(
c80925836
.
disop
)
e2
:
SetOperation
(
c80925836
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c80925836
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c80925836
.
cfilter1
(
c
)
function
c80925836
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c80925836
.
cfilter2
(
c
)
function
c80925836
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_FIEND
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_FIEND
)
and
not
c
:
IsPublic
()
end
end
function
c80925836
.
ccost
(
e
,
tp
)
function
c80925836
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c80925836
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c80925836
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c80925836
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c80925836
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
script/c95090813.lua
View file @
5b9bab7e
...
@@ -7,7 +7,8 @@ function c95090813.initial_effect(c)
...
@@ -7,7 +7,8 @@ function c95090813.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c95090813
.
ccost
)
e1
:
SetCondition
(
c95090813
.
mtcon
)
e1
:
SetOperation
(
c95090813
.
mtop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--equip
--equip
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -21,14 +22,16 @@ function c95090813.initial_effect(c)
...
@@ -21,14 +22,16 @@ function c95090813.initial_effect(c)
e2
:
SetOperation
(
c95090813
.
eqop
)
e2
:
SetOperation
(
c95090813
.
eqop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c95090813
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c95090813
.
cfilter1
(
c
)
function
c95090813
.
cfilter1
(
c
)
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsCode
(
36623431
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c95090813
.
cfilter2
(
c
)
function
c95090813
.
cfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
not
c
:
IsPublic
()
end
end
function
c95090813
.
ccost
(
e
,
tp
)
function
c95090813
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
~=
Duel
.
GetTurnPlayer
()
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c95090813
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c95090813
.
cfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c95090813
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c95090813
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
select
=
2
local
select
=
2
...
...
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