Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
5e11912e
Commit
5e11912e
authored
Jun 21, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1409 from nekrozar/patch-1
sp_summon condition
parents
3c48a911
2a6b7553
Changes
52
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
68 additions
and
206 deletions
+68
-206
script/c10383554.lua
script/c10383554.lua
+1
-4
script/c10526791.lua
script/c10526791.lua
+1
-4
script/c10817524.lua
script/c10817524.lua
+1
-4
script/c12652643.lua
script/c12652643.lua
+1
-4
script/c14225239.lua
script/c14225239.lua
+1
-4
script/c16304628.lua
script/c16304628.lua
+1
-4
script/c18386170.lua
script/c18386170.lua
+1
-4
script/c1945387.lua
script/c1945387.lua
+1
-4
script/c22061412.lua
script/c22061412.lua
+1
-5
script/c23204029.lua
script/c23204029.lua
+1
-4
script/c25366484.lua
script/c25366484.lua
+1
-4
script/c25857246.lua
script/c25857246.lua
+1
-4
script/c26674724.lua
script/c26674724.lua
+1
-4
script/c29343734.lua
script/c29343734.lua
+1
-4
script/c31111109.lua
script/c31111109.lua
+1
-4
script/c33574806.lua
script/c33574806.lua
+1
-4
script/c35330871.lua
script/c35330871.lua
+1
-4
script/c35809262.lua
script/c35809262.lua
+1
-4
script/c3642509.lua
script/c3642509.lua
+1
-4
script/c40418351.lua
script/c40418351.lua
+1
-4
script/c40854197.lua
script/c40854197.lua
+1
-4
script/c41436536.lua
script/c41436536.lua
+1
-4
script/c41517968.lua
script/c41517968.lua
+1
-4
script/c47737087.lua
script/c47737087.lua
+1
-4
script/c48546368.lua
script/c48546368.lua
+1
-4
script/c52031567.lua
script/c52031567.lua
+1
-4
script/c52068432.lua
script/c52068432.lua
+1
-4
script/c52846880.lua
script/c52846880.lua
+1
-4
script/c55615891.lua
script/c55615891.lua
+1
-4
script/c60493189.lua
script/c60493189.lua
+1
-4
script/c61204971.lua
script/c61204971.lua
+1
-4
script/c62873545.lua
script/c62873545.lua
+1
-4
script/c64599569.lua
script/c64599569.lua
+1
-4
script/c68745629.lua
script/c68745629.lua
+1
-4
script/c72926163.lua
script/c72926163.lua
+1
-4
script/c73445448.lua
script/c73445448.lua
+1
-4
script/c74122412.lua
script/c74122412.lua
+1
-4
script/c74711057.lua
script/c74711057.lua
+1
-4
script/c81003500.lua
script/c81003500.lua
+1
-4
script/c81197327.lua
script/c81197327.lua
+1
-4
script/c83121692.lua
script/c83121692.lua
+1
-4
script/c83866861.lua
script/c83866861.lua
+1
-4
script/c88240999.lua
script/c88240999.lua
+1
-4
script/c88820235.lua
script/c88820235.lua
+1
-4
script/c89463537.lua
script/c89463537.lua
+1
-4
script/c93368494.lua
script/c93368494.lua
+1
-4
script/c95486586.lua
script/c95486586.lua
+1
-4
script/c98502113.lua
script/c98502113.lua
+1
-4
script/c98927491.lua
script/c98927491.lua
+1
-4
script/c99185129.lua
script/c99185129.lua
+1
-4
script/c99267150.lua
script/c99267150.lua
+1
-4
script/utility.lua
script/utility.lua
+17
-1
No files found.
script/c10383554.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c10383554.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c10383554
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c10383554.initial_effect(c)
e2
:
SetOperation
(
c10383554
.
operation
)
c
:
RegisterEffect
(
e2
)
end
function
c10383554
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c10383554
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsDirectAttacked
()
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c10526791.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c10526791.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c10526791
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--attackall
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -17,6 +17,3 @@ function c10526791.initial_effect(c)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
end
function
c10526791
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
script/c10817524.lua
View file @
5e11912e
...
...
@@ -9,7 +9,7 @@ function c10817524.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c10817524
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -26,9 +26,6 @@ function c10817524.initial_effect(c)
e3
:
SetValue
(
c10817524
.
efilter
)
c
:
RegisterEffect
(
e3
)
end
function
c10817524
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c10817524
.
indval
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_NORMAL
)
end
...
...
script/c12652643.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c12652643.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c12652643
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,9 +32,6 @@ function c12652643.initial_effect(c)
e4
:
SetOperation
(
c12652643
.
spop
)
c
:
RegisterEffect
(
e4
)
end
function
c12652643
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c12652643
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c14225239.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c14225239.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c14225239
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--direct attack
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -17,9 +17,6 @@ function c14225239.initial_effect(c)
e2
:
SetCondition
(
c14225239
.
dacon
)
c
:
RegisterEffect
(
e2
)
end
function
c14225239
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c14225239
.
filter
(
c
)
return
c
:
IsFacedown
()
and
c
:
GetSequence
()
~=
5
end
...
...
script/c16304628.lua
View file @
5e11912e
...
...
@@ -19,12 +19,9 @@ function c16304628.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c16304628
.
sp
limit
)
e3
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e3
)
end
function
c16304628
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c16304628
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
...
...
script/c18386170.lua
View file @
5e11912e
...
...
@@ -14,7 +14,7 @@ function c18386170.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetValue
(
c18386170
.
sp
limit
)
e2
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e2
)
--cannot be target
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -47,9 +47,6 @@ function c18386170.initial_effect(c)
e5
:
SetOperation
(
c18386170
.
hdop
)
c
:
RegisterEffect
(
e5
)
end
function
c18386170
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c18386170
.
tgval
(
e
,
re
,
rp
)
return
rp
~=
e
:
GetHandlerPlayer
()
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
...
...
script/c1945387.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c1945387.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c1945387
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c1945387.initial_effect(c)
e2
:
SetOperation
(
c1945387
.
drop
)
c
:
RegisterEffect
(
e2
)
end
function
c1945387
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c1945387
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
...
...
script/c22061412.lua
View file @
5e11912e
...
...
@@ -27,12 +27,8 @@ function c22061412.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e4
:
SetValue
(
c22061412
.
sp
limit
)
e4
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e4
)
c
:
EnableReviveLimit
()
end
function
c22061412
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c22061412
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3008
)
...
...
script/c23204029.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c23204029.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c23204029
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--attribute
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,9 +39,6 @@ function c23204029.initial_effect(c)
e4
:
SetValue
(
0x3008
)
c
:
RegisterEffect
(
e4
)
end
function
c23204029
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c23204029
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
aux
.
disfilter1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
disfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
script/c25366484.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c25366484.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c25366484
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--damage
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,9 +30,6 @@ function c25366484.initial_effect(c)
e3
:
SetValue
(
c25366484
.
atkup
)
c
:
RegisterEffect
(
e3
)
end
function
c25366484
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c25366484
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
...
...
script/c25857246.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c25857246.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c25857246
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--atk
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,9 +30,6 @@ function c25857246.initial_effect(c)
e3
:
SetOperation
(
c25857246
.
operation
)
c
:
RegisterEffect
(
e3
)
end
function
c25857246
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c25857246
.
mat_filter
(
c
)
return
c
:
GetLevel
()
~=
8
end
...
...
script/c26674724.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c26674724.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c26674724
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -31,9 +31,6 @@ function c26674724.initial_effect(c)
e3
:
SetOperation
(
c26674724
.
tdop
)
c
:
RegisterEffect
(
e3
)
end
function
c26674724
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c26674724
.
mat_filter
(
c
)
return
not
c
:
IsCode
(
26674724
)
end
...
...
script/c29343734.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c29343734.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e2
:
SetValue
(
c29343734
.
sp
limit
)
e2
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e2
)
--attribute
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -37,9 +37,6 @@ function c29343734.initial_effect(c)
e5
:
SetValue
(
c29343734
.
val
)
c
:
RegisterEffect
(
e5
)
end
function
c29343734
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c29343734
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
...
...
script/c31111109.lua
View file @
5e11912e
...
...
@@ -24,7 +24,7 @@ function c31111109.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c31111109
.
sp
limit
)
e3
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e3
)
end
function
c31111109
.
fuscon
(
e
,
g
,
gc
,
chkf
)
...
...
@@ -79,9 +79,6 @@ function c31111109.fusop(e,tp,eg,ep,ev,re,r,rp,gc,chkf)
end
Duel
.
SetFusionMaterial
(
mg
)
end
function
c31111109
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c31111109
.
filter
(
c
)
return
(
c
:
IsSetCard
(
0x9
)
or
c
:
IsSetCard
(
0x1f
)
or
c
:
IsSetCard
(
0x8
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsHasEffect
(
EFFECT_FORBIDDEN
)
and
c
:
IsAbleToRemove
()
...
...
script/c33574806.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c33574806.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e2
:
SetValue
(
c33574806
.
sp
limit
)
e2
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e2
)
--atkup
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -19,9 +19,6 @@ function c33574806.initial_effect(c)
e3
:
SetValue
(
c33574806
.
atkup
)
c
:
RegisterEffect
(
e3
)
end
function
c33574806
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c33574806
.
atkup
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsSetCard
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
0x3008
)
*
100
end
script/c35330871.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c35330871.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetValue
(
c35330871
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--atk & def down
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -33,9 +33,6 @@ function c35330871.initial_effect(c)
e3
:
SetOperation
(
c35330871
.
tgop
)
c
:
RegisterEffect
(
e3
)
end
function
c35330871
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c35330871
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
end
...
...
script/c35809262.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c35809262.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c35809262
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--damage
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c35809262.initial_effect(c)
e2
:
SetOperation
(
c35809262
.
damop
)
c
:
RegisterEffect
(
e2
)
end
function
c35809262
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c35809262
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
...
...
script/c3642509.lua
View file @
5e11912e
...
...
@@ -17,12 +17,9 @@ function c3642509.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c3642509
.
sp
limit
)
e3
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e3
)
end
function
c3642509
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c3642509
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
...
...
script/c40418351.lua
View file @
5e11912e
...
...
@@ -26,12 +26,9 @@ function c40418351.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c40418351
.
sp
limit
)
e3
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e3
)
end
function
c40418351
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c40418351
.
filter
(
c
)
return
c
:
IsRace
(
RACE_DRAGON
)
end
...
...
script/c40854197.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c40854197.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c40854197
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -35,9 +35,6 @@ function c40854197.initial_effect(c)
e5
:
SetValue
(
c40854197
.
atkup
)
c
:
RegisterEffect
(
e5
)
end
function
c40854197
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c40854197
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetCode
()
~=
40854197
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
end
...
...
script/c41436536.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c41436536.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c41436536
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -17,6 +17,3 @@ function c41436536.initial_effect(c)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
end
function
c41436536
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
script/c41517968.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c41517968.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c41517968
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -33,9 +33,6 @@ function c41517968.initial_effect(c)
e4
:
SetOperation
(
c41517968
.
desop
)
c
:
RegisterEffect
(
e4
)
end
function
c41517968
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c41517968
.
poscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
and
e
:
GetHandler
():
IsRelateToBattle
()
end
...
...
script/c47737087.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c47737087.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c47737087
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -34,9 +34,6 @@ function c47737087.initial_effect(c)
e5
:
SetOperation
(
c47737087
.
rdop
)
c
:
RegisterEffect
(
e5
)
end
function
c47737087
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c47737087
.
dacon
(
e
)
return
e
:
GetHandler
():
IsDefencePos
()
end
...
...
script/c48546368.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c48546368.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c48546368
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -34,9 +34,6 @@ function c48546368.initial_effect(c)
e3
:
SetOperation
(
c48546368
.
disop
)
c
:
RegisterEffect
(
e3
)
end
function
c48546368
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c48546368
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
ep
==
tp
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
...
...
script/c52031567.lua
View file @
5e11912e
...
...
@@ -8,9 +8,6 @@ function c52031567.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c52031567
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
end
function
c52031567
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
script/c52068432.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c52068432.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c52068432
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -34,9 +34,6 @@ function c52068432.initial_effect(c)
e3
:
SetOperation
(
c52068432
.
remop
)
c
:
RegisterEffect
(
e3
)
end
function
c52068432
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c52068432
.
mat_filter
(
c
)
return
c
:
GetLevel
()
~=
9
end
...
...
script/c52846880.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c52846880.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c52846880
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,9 +32,6 @@ function c52846880.initial_effect(c)
e3
:
SetOperation
(
c52846880
.
operation
)
c
:
RegisterEffect
(
e3
)
end
function
c52846880
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c52846880
.
mat_filter
(
c
)
return
not
c
:
IsCode
(
52846880
)
end
...
...
script/c55615891.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c55615891.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c55615891
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c55615891.initial_effect(c)
e2
:
SetOperation
(
c55615891
.
desop
)
c
:
RegisterEffect
(
e2
)
end
function
c55615891
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c55615891
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
...
...
script/c60493189.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c60493189.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c60493189
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -27,9 +27,6 @@ function c60493189.initial_effect(c)
e3
:
SetOperation
(
c60493189
.
desop
)
c
:
RegisterEffect
(
e3
)
end
function
c60493189
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c60493189
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
...
...
script/c61204971.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c61204971.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c61204971
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -23,9 +23,6 @@ function c61204971.initial_effect(c)
e2
:
SetOperation
(
c61204971
.
desop
)
c
:
RegisterEffect
(
e2
)
end
function
c61204971
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c61204971
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
...
...
script/c62873545.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c62873545.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c62873545
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--atk
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -19,9 +19,6 @@ function c62873545.initial_effect(c)
e2
:
SetValue
(
c62873545
.
atkval
)
c
:
RegisterEffect
(
e2
)
end
function
c62873545
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c62873545
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
end
...
...
script/c64599569.lua
View file @
5e11912e
...
...
@@ -14,7 +14,7 @@ function c64599569.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e2
:
SetValue
(
c64599569
.
sp
limit
)
e2
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e2
)
--spsummon success
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -30,9 +30,6 @@ function c64599569.initial_effect(c)
end
c64599569
.
material_count
=
1
c64599569
.
material
=
{
70095154
}
function
c64599569
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c64599569
.
spfilter
(
c
,
mg
)
return
(
c
:
IsCode
(
70095154
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
))
and
mg
:
IsExists
(
Card
.
IsRace
,
1
,
c
,
RACE_MACHINE
)
...
...
script/c68745629.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c68745629.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c68745629
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--atkup
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -20,9 +20,6 @@ function c68745629.initial_effect(c)
e2
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e2
)
end
function
c68745629
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c68745629
.
atkcon
(
e
)
local
ph
=
Duel
.
GetCurrentPhase
()
if
ph
~=
PHASE_DAMAGE
and
ph
~=
PHASE_DAMAGE_CAL
then
return
false
end
...
...
script/c72926163.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c72926163.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c72926163
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--atk
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -35,9 +35,6 @@ function c72926163.initial_effect(c)
e5
:
SetCode
(
EFFECT_NO_BATTLE_DAMAGE
)
c
:
RegisterEffect
(
e5
)
end
function
c72926163
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c72926163
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
atk
=-
1
...
...
script/c73445448.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c73445448.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c73445448
.
sp
limit
)
e1
:
SetValue
(
aux
.
xyz
limit
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -26,9 +26,6 @@ function c73445448.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
c73445448
.
xyz_number
=
22
function
c73445448
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
end
function
c73445448
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
script/c74122412.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c74122412.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c74122412
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,9 +32,6 @@ function c74122412.initial_effect(c)
e3
:
SetOperation
(
c74122412
.
desop
)
c
:
RegisterEffect
(
e3
)
end
function
c74122412
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c74122412
.
mat_filter
(
c
)
return
c
:
GetLevel
()
~=
7
end
...
...
script/c74711057.lua
View file @
5e11912e
...
...
@@ -17,12 +17,9 @@ function c74711057.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e2
:
SetValue
(
c74711057
.
sp
limit
)
e2
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e2
)
end
function
c74711057
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c74711057
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x3008
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
e
:
GetHandler
(),
0x3008
)
...
...
script/c81003500.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c81003500.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c81003500
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c81003500.initial_effect(c)
e2
:
SetOperation
(
c81003500
.
operation
)
c
:
RegisterEffect
(
e2
)
end
function
c81003500
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c81003500
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
...
...
script/c81197327.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c81197327.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c81197327
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--recover
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c81197327.initial_effect(c)
e2
:
SetOperation
(
c81197327
.
recop
)
c
:
RegisterEffect
(
e2
)
end
function
c81197327
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c81197327
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
...
...
script/c83121692.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c83121692.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c83121692
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--set target
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -21,9 +21,6 @@ function c83121692.initial_effect(c)
e1
:
SetOperation
(
c83121692
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c83121692
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c83121692
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
script/c83866861.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c83866861.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c83866861
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--actlimit
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,9 +42,6 @@ end
function
c83866861
.
ffilter
(
c
)
return
c
:
IsSetCard
(
0xad
)
or
c
:
IsHasEffect
(
36693940
)
end
function
c83866861
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c83866861
.
aclimit
(
e
,
re
,
tp
)
return
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
...
...
script/c88240999.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c88240999.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c88240999
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--boost
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -35,9 +35,6 @@ function c88240999.initial_effect(c)
e3
:
SetOperation
(
c88240999
.
desop
)
c
:
RegisterEffect
(
e3
)
end
function
c88240999
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c88240999
.
mat_filter
(
c
)
return
c
:
GetLevel
()
~=
10
end
...
...
script/c88820235.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c88820235.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c88820235
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -25,9 +25,6 @@ function c88820235.initial_effect(c)
e3
:
SetValue
(
c88820235
.
atkup
)
c
:
RegisterEffect
(
e3
)
end
function
c88820235
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c88820235
.
atkup
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsSetCard
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
0x3008
)
*
300
end
script/c89463537.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c89463537.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c89463537
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -29,9 +29,6 @@ function c89463537.initial_effect(c)
e3
:
SetTarget
(
c89463537
.
distg
)
c
:
RegisterEffect
(
e3
)
end
function
c89463537
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c89463537
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
...
...
script/c93368494.lua
View file @
5e11912e
...
...
@@ -22,7 +22,7 @@ function c93368494.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c93368494
.
sp
limit
)
e3
:
SetValue
(
aux
.
pen
limit
)
c
:
RegisterEffect
(
e3
)
--cannot disable
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -81,9 +81,6 @@ function c93368494.atkop(e,tp,eg,ep,ev,re,r,rp)
at
:
RegisterEffect
(
e1
)
end
end
function
c93368494
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c93368494
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsAbleToHand
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
script/c95486586.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c95486586.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c95486586
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--atkup
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,9 +42,6 @@ function c95486586.initial_effect(c)
e4
:
SetOperation
(
c95486586
.
spop
)
c
:
RegisterEffect
(
e4
)
end
function
c95486586
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c95486586
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
...
...
script/c98502113.lua
View file @
5e11912e
...
...
@@ -29,12 +29,9 @@ function c98502113.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c98502113
.
sp
limit
)
e3
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e3
)
end
function
c98502113
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c98502113
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
c98502113
.
filter
,
0
,
0x14
,
0x14
,
nil
)
*
500
end
...
...
script/c98927491.lua
View file @
5e11912e
...
...
@@ -8,7 +8,7 @@ function c98927491.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c98927491
.
sp
limit
)
e1
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,9 +22,6 @@ function c98927491.initial_effect(c)
e2
:
SetOperation
(
c98927491
.
activate
)
c
:
RegisterEffect
(
e2
)
end
function
c98927491
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c98927491
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c99185129.lua
View file @
5e11912e
...
...
@@ -6,7 +6,7 @@ function c99185129.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c99185129
.
sp
limit
)
e1
:
SetValue
(
aux
.
rit
limit
)
c
:
RegisterEffect
(
e1
)
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -35,9 +35,6 @@ function c99185129.initial_effect(c)
e3
:
SetOperation
(
c99185129
.
operation
)
c
:
RegisterEffect
(
e3
)
end
function
c99185129
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
function
c99185129
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
...
...
script/c99267150.lua
View file @
5e11912e
...
...
@@ -14,12 +14,9 @@ function c99267150.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c99267150
.
sp
limit
)
e3
:
SetValue
(
aux
.
fus
limit
)
c
:
RegisterEffect
(
e3
)
end
function
c99267150
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c99267150
.
batfilter
(
e
,
c
)
return
c
:
IsAttribute
(
0x2f
)
end
script/utility.lua
View file @
5e11912e
...
...
@@ -1178,7 +1178,23 @@ function Auxiliary.sumreg(e,tp,eg,ep,ev,re,r,rp)
tc
=
eg
:
GetNext
()
end
end
--sp_summon condition for synchron monster
--sp_summon condition for fusion monster
function
Auxiliary
.
fuslimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
--sp_summon condition for ritual monster
function
Auxiliary
.
ritlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
end
--sp_summon condition for synchro monster
function
Auxiliary
.
synlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
--sp_summon condition for xyz monster
function
Auxiliary
.
xyzlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
end
--sp_summon condition for pendulum monster
function
Auxiliary
.
penlimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment