Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
43836e25
Commit
43836e25
authored
Nov 19, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3dc65662
Changes
56
Hide whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
150 additions
and
96 deletions
+150
-96
expansions/script/c1000362.lua
expansions/script/c1000362.lua
+1
-0
expansions/script/c1000363.lua
expansions/script/c1000363.lua
+1
-0
expansions/script/c1000625.lua
expansions/script/c1000625.lua
+1
-0
expansions/script/c11901590.lua
expansions/script/c11901590.lua
+2
-2
expansions/script/c15005022.lua
expansions/script/c15005022.lua
+1
-0
expansions/script/c20220648.lua
expansions/script/c20220648.lua
+11
-10
expansions/script/c20220650.lua
expansions/script/c20220650.lua
+71
-69
expansions/script/c21030003.lua
expansions/script/c21030003.lua
+1
-0
expansions/script/c22348130.lua
expansions/script/c22348130.lua
+1
-0
expansions/script/c25800522.lua
expansions/script/c25800522.lua
+1
-0
expansions/script/c29002369.lua
expansions/script/c29002369.lua
+1
-0
expansions/script/c31407003.lua
expansions/script/c31407003.lua
+1
-0
expansions/script/c31407004.lua
expansions/script/c31407004.lua
+1
-0
expansions/script/c31407005.lua
expansions/script/c31407005.lua
+1
-0
expansions/script/c31407016.lua
expansions/script/c31407016.lua
+1
-0
expansions/script/c31407018.lua
expansions/script/c31407018.lua
+1
-0
expansions/script/c33700345.lua
expansions/script/c33700345.lua
+1
-0
expansions/script/c40009136.lua
expansions/script/c40009136.lua
+1
-0
expansions/script/c40009137.lua
expansions/script/c40009137.lua
+1
-0
expansions/script/c40009145.lua
expansions/script/c40009145.lua
+1
-0
expansions/script/c40010022.lua
expansions/script/c40010022.lua
+1
-0
expansions/script/c40010222.lua
expansions/script/c40010222.lua
+1
-0
expansions/script/c40010826.lua
expansions/script/c40010826.lua
+1
-0
expansions/script/c53715014.lua
expansions/script/c53715014.lua
+1
-0
expansions/script/c53715015.lua
expansions/script/c53715015.lua
+1
-0
expansions/script/c53715016.lua
expansions/script/c53715016.lua
+1
-0
expansions/script/c57300205.lua
expansions/script/c57300205.lua
+1
-0
expansions/script/c60001121.lua
expansions/script/c60001121.lua
+1
-1
expansions/script/c60010016.lua
expansions/script/c60010016.lua
+1
-0
expansions/script/c64800022.lua
expansions/script/c64800022.lua
+1
-0
expansions/script/c64800035.lua
expansions/script/c64800035.lua
+1
-0
expansions/script/c64800039.lua
expansions/script/c64800039.lua
+1
-0
expansions/script/c64800044.lua
expansions/script/c64800044.lua
+1
-0
expansions/script/c64800084.lua
expansions/script/c64800084.lua
+1
-0
expansions/script/c64831009.lua
expansions/script/c64831009.lua
+1
-0
expansions/script/c64831010.lua
expansions/script/c64831010.lua
+1
-0
expansions/script/c64831012.lua
expansions/script/c64831012.lua
+1
-0
expansions/script/c64831013.lua
expansions/script/c64831013.lua
+1
-0
expansions/script/c65010588.lua
expansions/script/c65010588.lua
+1
-0
expansions/script/c72411200.lua
expansions/script/c72411200.lua
+1
-0
expansions/script/c76029019.lua
expansions/script/c76029019.lua
+1
-0
expansions/script/c78312415.lua
expansions/script/c78312415.lua
+1
-0
expansions/script/c78312416.lua
expansions/script/c78312416.lua
+1
-0
expansions/script/c82206044.lua
expansions/script/c82206044.lua
+1
-0
expansions/script/c82209095.lua
expansions/script/c82209095.lua
+1
-1
expansions/script/c82567859.lua
expansions/script/c82567859.lua
+1
-0
expansions/script/c82568005.lua
expansions/script/c82568005.lua
+1
-0
expansions/script/c87498646.lua
expansions/script/c87498646.lua
+1
-0
expansions/script/c87498743.lua
expansions/script/c87498743.lua
+14
-13
expansions/script/c88881945.lua
expansions/script/c88881945.lua
+1
-0
expansions/script/c88888006.lua
expansions/script/c88888006.lua
+1
-0
expansions/script/c9310023.lua
expansions/script/c9310023.lua
+1
-0
expansions/script/c93601003.lua
expansions/script/c93601003.lua
+1
-0
expansions/script/c98920036.lua
expansions/script/c98920036.lua
+1
-0
expansions/script/c98921039.lua
expansions/script/c98921039.lua
+1
-0
expansions/script/c9911410.lua
expansions/script/c9911410.lua
+1
-0
No files found.
expansions/script/c1000362.lua
View file @
43836e25
...
@@ -29,6 +29,7 @@ function c1000362.initial_effect(c)
...
@@ -29,6 +29,7 @@ function c1000362.initial_effect(c)
e2
:
SetOperation
(
c1000362
.
operation
)
e2
:
SetOperation
(
c1000362
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c1000362
.
material_type
=
TYPE_SYNCHRO
function
c1000362
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000362
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
aux
.
disfilter1
(
chkc
)
end
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
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
disfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
expansions/script/c1000363.lua
View file @
43836e25
...
@@ -26,6 +26,7 @@ function c1000363.initial_effect(c)
...
@@ -26,6 +26,7 @@ function c1000363.initial_effect(c)
e2
:
SetOperation
(
c1000363
.
operation
)
e2
:
SetOperation
(
c1000363
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c1000363
.
material_type
=
TYPE_SYNCHRO
function
c1000363
.
pmfilter
(
c
)
function
c1000363
.
pmfilter
(
c
)
return
c
:
IsSetCard
(
0xc200
)
return
c
:
IsSetCard
(
0xc200
)
end
end
...
...
expansions/script/c1000625.lua
View file @
43836e25
...
@@ -29,6 +29,7 @@ function c1000625.initial_effect(c)
...
@@ -29,6 +29,7 @@ function c1000625.initial_effect(c)
e99
:
SetCode
(
EFFECT_CANNOT_CHANGE_CONTROL
)
e99
:
SetCode
(
EFFECT_CANNOT_CHANGE_CONTROL
)
c
:
RegisterEffect
(
e99
)
c
:
RegisterEffect
(
e99
)
end
end
c1000625
.
material_type
=
TYPE_SYNCHRO
function
c1000625
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000625
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
end
end
...
...
expansions/script/c11901590.lua
View file @
43836e25
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
...
@@ -22,7 +22,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
actg
)
e2
:
SetTarget
(
s
.
actg
)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--ToDeck and S
pSum
--ToDeck and S
earchCard
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SEARCH
)
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SEARCH
)
...
@@ -76,7 +76,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -76,7 +76,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
3
,
tp
,
507
)
Duel
.
Hint
(
3
,
tp
,
507
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tdfilter
,
tp
,
0x0c
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tdfilter
,
tp
,
0x0c
,
0
,
1
,
1
,
nil
,
tp
)
if
#
tg
>
0
then
if
#
tg
>
0
then
Duel
.
HintSelection
(
tg
)
Duel
.
HintSelection
(
tg
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
...
...
expansions/script/c15005022.lua
View file @
43836e25
...
@@ -62,6 +62,7 @@ function cm.initial_effect(c)
...
@@ -62,6 +62,7 @@ function cm.initial_effect(c)
e6
:
SetOperation
(
cm
.
msop
)
e6
:
SetOperation
(
cm
.
msop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
c1filter
(
c
)
function
cm
.
c1filter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
end
end
...
...
expansions/script/c20220648.lua
View file @
43836e25
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
local
s
,
id
=
GetID
()
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--Synchro Summon
--Synchro Summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
s
.
tfilter
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
s
.
tfilter
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--must first be synchro summoned
--must first be synchro summoned
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
@@ -13,19 +13,19 @@ function s.initial_effect(c)
...
@@ -13,19 +13,19 @@ function s.initial_effect(c)
e0
:
SetValue
(
aux
.
synlimit
)
e0
:
SetValue
(
aux
.
synlimit
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--spsummon
--spsummon
local
e10
=
Effect
.
CreateEffect
(
c
)
local
e10
=
Effect
.
CreateEffect
(
c
)
e10
:
SetType
(
EFFECT_TYPE_SINGLE
)
e10
:
SetType
(
EFFECT_TYPE_SINGLE
)
e10
:
SetCode
(
EFFECT_CANNOT_DISABLE_SPSUMMON
)
e10
:
SetCode
(
EFFECT_CANNOT_DISABLE_SPSUMMON
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
c
:
RegisterEffect
(
e10
)
c
:
RegisterEffect
(
e10
)
--summon success
--summon success
local
e44
=
Effect
.
CreateEffect
(
c
)
local
e44
=
Effect
.
CreateEffect
(
c
)
e44
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e44
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e44
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e44
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e44
:
SetCondition
(
s
.
effcon
)
e44
:
SetCondition
(
s
.
effcon
)
e44
:
SetOperation
(
s
.
spsumsuc
)
e44
:
SetOperation
(
s
.
spsumsuc
)
c
:
RegisterEffect
(
e44
)
c
:
RegisterEffect
(
e44
)
--disable
--disable
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
@@ -40,7 +40,7 @@ function s.initial_effect(c)
...
@@ -40,7 +40,7 @@ function s.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
s
.
operation
)
e2
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--copy
--copy
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetCode
(
EVENT_BE_PRE_MATERIAL
)
e7
:
SetCode
(
EVENT_BE_PRE_MATERIAL
)
...
@@ -56,6 +56,7 @@ function s.initial_effect(c)
...
@@ -56,6 +56,7 @@ function s.initial_effect(c)
e8
:
SetOperation
(
s
.
reset
)
e8
:
SetOperation
(
s
.
reset
)
c
:
RegisterEffect
(
e8
)
c
:
RegisterEffect
(
e8
)
end
end
s
.
material_type
=
TYPE_SYNCHRO
function
s
.
tfilter
(
c
)
function
s
.
tfilter
(
c
)
return
c
:
IsSetCard
(
0x20ab
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsSetCard
(
0x20ab
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c20220650.lua
View file @
43836e25
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
local
s
,
id
=
GetID
()
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--Synchro Summon
--Synchro Summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
s
.
tfilter
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
s
.
tfilter
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--must first be synchro summoned
--must first be synchro summoned
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
@@ -12,77 +12,79 @@ function s.initial_effect(c)
...
@@ -12,77 +12,79 @@ function s.initial_effect(c)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetValue
(
aux
.
synlimit
)
e0
:
SetValue
(
aux
.
synlimit
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--spsummon
--spsummon
local
e10
=
Effect
.
CreateEffect
(
c
)
local
e10
=
Effect
.
CreateEffect
(
c
)
e10
:
SetType
(
EFFECT_TYPE_SINGLE
)
e10
:
SetType
(
EFFECT_TYPE_SINGLE
)
e10
:
SetCode
(
EFFECT_CANNOT_DISABLE_SPSUMMON
)
e10
:
SetCode
(
EFFECT_CANNOT_DISABLE_SPSUMMON
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
c
:
RegisterEffect
(
e10
)
c
:
RegisterEffect
(
e10
)
--immune
--immune
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
s
.
imcon
)
e3
:
SetCondition
(
s
.
imcon
)
e3
:
SetValue
(
s
.
efilter
)
e3
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetValue
(
s
.
aclimit
)
e2
:
SetValue
(
s
.
aclimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--攻击力上升
--攻击力上升
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
id
,
7
))
e6
:
SetDescription
(
aux
.
Stringid
(
id
,
7
))
e6
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e6
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e6
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e6
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e6
:
SetCode
(
EVENT_FREE_CHAIN
)
e6
:
SetCode
(
EVENT_FREE_CHAIN
)
e6
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e6
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCountLimit
(
1
,
id
)
e6
:
SetCountLimit
(
1
,
id
)
e6
:
SetCost
(
s
.
atkcost
)
e6
:
SetCost
(
s
.
atkcost
)
e6
:
SetOperation
(
s
.
atkop
)
e6
:
SetOperation
(
s
.
atkop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
s
.
tfilter
(
c
)
s
.
material_type
=
TYPE_SYNCHRO
return
c
:
IsSetCard
(
0x20ab
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
function
s
.
tfilter
(
c
)
end
return
c
:
IsSetCard
(
0x20ab
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
function
s
.
imckfilter
(
c
)
end
function
s
.
imckfilter
(
c
)
return
c
:
IsSetCard
(
0x20ab
)
return
c
:
IsSetCard
(
0x20ab
)
end
end
function
s
.
imcon
(
e
)
function
s
.
imcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
s
.
imckfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
imckfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
function
s
.
efilter
(
e
,
te
)
function
s
.
efilter
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
end
function
s
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLP
(
tp
)
>
1000
end
function
s
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
chk
==
0
then
return
Duel
.
GetLP
(
tp
)
>
1000
end
e
:
SetLabel
(
lp
-
1000
)
local
lp
=
Duel
.
GetLP
(
tp
)
Duel
.
PayLPCost
(
tp
,
lp
-
1000
)
e
:
SetLabel
(
lp
-
1000
)
end
Duel
.
PayLPCost
(
tp
,
lp
-
1000
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
local
c
=
e
:
GetHandler
()
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
e
:
GetLabel
())
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetValue
(
e
:
GetLabel
())
c
:
RegisterEffect
(
e1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
local
e2
=
e1
:
Clone
()
c
:
RegisterEffect
(
e1
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
local
e2
=
e1
:
Clone
()
c
:
RegisterEffect
(
e2
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
end
c
:
RegisterEffect
(
e2
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
id
,
5
))
end
end
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
id
,
5
))
end
function
s
.
aclimit
(
e
,
re
,
tp
)
function
s
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
return
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
end
end
expansions/script/c21030003.lua
View file @
43836e25
...
@@ -3,3 +3,4 @@ function c21030003.initial_effect(c)
...
@@ -3,3 +3,4 @@ function c21030003.initial_effect(c)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSynchroType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
Card
.
IsSynchroType
,
TYPE_SYNCHRO
),
2
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSynchroType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
Card
.
IsSynchroType
,
TYPE_SYNCHRO
),
2
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
end
end
c21030003
.
material_type
=
TYPE_SYNCHRO
expansions/script/c22348130.lua
View file @
43836e25
...
@@ -49,6 +49,7 @@ function cm.initial_effect(c)
...
@@ -49,6 +49,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c22348130
.
material_type
=
TYPE_SYNCHRO
function
c22348130
.
matfilter1
(
c
)
function
c22348130
.
matfilter1
(
c
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
or
c
:
IsSetCard
(
0x703
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
or
c
:
IsSetCard
(
0x703
)
end
end
...
...
expansions/script/c25800522.lua
View file @
43836e25
...
@@ -47,6 +47,7 @@ function cm.initial_effect(c)
...
@@ -47,6 +47,7 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
thop
)
e4
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
filter1
(
e
,
te
)
function
cm
.
filter1
(
e
,
te
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
te
:
GetHandler
()
local
ec
=
te
:
GetHandler
()
...
...
expansions/script/c29002369.lua
View file @
43836e25
...
@@ -22,6 +22,7 @@ function c29002369.initial_effect(c)
...
@@ -22,6 +22,7 @@ function c29002369.initial_effect(c)
e2
:
SetOperation
(
c29002369
.
seqop
)
e2
:
SetOperation
(
c29002369
.
seqop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c29002369
.
material_type
=
TYPE_SYNCHRO
function
c29002369
.
syf
(
c
,
syc
)
function
c29002369
.
syf
(
c
,
syc
)
local
setcard
=
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
local
setcard
=
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
return
setcard
and
c
:
IsSynchroType
(
TYPE_SYNCHRO
)
return
setcard
and
c
:
IsSynchroType
(
TYPE_SYNCHRO
)
...
...
expansions/script/c31407003.lua
View file @
43836e25
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetTargetRange
(
0
,
1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
efilter
(
e
,
te
)
function
cm
.
efilter
(
e
,
te
)
return
(
te
:
IsActiveType
(
TYPE_SPELL
)
or
te
:
IsActiveType
(
TYPE_TRAP
))
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
return
(
te
:
IsActiveType
(
TYPE_SPELL
)
or
te
:
IsActiveType
(
TYPE_TRAP
))
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
end
\ No newline at end of file
expansions/script/c31407004.lua
View file @
43836e25
...
@@ -33,6 +33,7 @@ function cm.initial_effect(c)
...
@@ -33,6 +33,7 @@ function cm.initial_effect(c)
e4
:
SetValue
(
cm
.
efilter
)
e4
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
then
return
end
if
not
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
then
return
end
Duel
.
SetChainLimitTillChainEnd
(
aux
.
FALSE
)
Duel
.
SetChainLimitTillChainEnd
(
aux
.
FALSE
)
...
...
expansions/script/c31407005.lua
View file @
43836e25
...
@@ -20,6 +20,7 @@ function cm.initial_effect(c)
...
@@ -20,6 +20,7 @@ function cm.initial_effect(c)
e2
:
SetValue
(
cm
.
efilter
)
e2
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
efilter
(
e
,
te
)
function
cm
.
efilter
(
e
,
te
)
return
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsActiveType
(
TYPE_SPELL
))
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
return
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsActiveType
(
TYPE_SPELL
))
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
end
...
...
expansions/script/c31407016.lua
View file @
43836e25
...
@@ -24,6 +24,7 @@ function cm.initial_effect(c)
...
@@ -24,6 +24,7 @@ function cm.initial_effect(c)
e2
:
SetValue
(
cm
.
efilter
)
e2
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
immcon
(
e
)
function
cm
.
immcon
(
e
)
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
end
end
...
...
expansions/script/c31407018.lua
View file @
43836e25
...
@@ -29,6 +29,7 @@ function cm.initial_effect(c)
...
@@ -29,6 +29,7 @@ function cm.initial_effect(c)
e3
:
SetCondition
(
aux
.
NOT
(
cm
.
condition
))
e3
:
SetCondition
(
aux
.
NOT
(
cm
.
condition
))
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
actlimit
(
e
,
re
,
tp
)
function
cm
.
actlimit
(
e
,
re
,
tp
)
local
lp1
,
lp2
=
Duel
.
GetLP
(
tp
),
Duel
.
GetLP
(
1
-
tp
)
local
lp1
,
lp2
=
Duel
.
GetLP
(
tp
),
Duel
.
GetLP
(
1
-
tp
)
if
lp1
<
lp2
then
lp1
,
lp2
=
lp2
,
lp1
end
if
lp1
<
lp2
then
lp1
,
lp2
=
lp2
,
lp1
end
...
...
expansions/script/c33700345.lua
View file @
43836e25
...
@@ -33,3 +33,4 @@ function cm.initial_effect(c)
...
@@ -33,3 +33,4 @@ function cm.initial_effect(c)
end
)
end
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
expansions/script/c40009136.lua
View file @
43836e25
...
@@ -28,6 +28,7 @@ function c40009136.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c40009136.initial_effect(c)
e2
:
SetOperation
(
c40009136
.
drop
)
e2
:
SetOperation
(
c40009136
.
drop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c40009136
.
material_type
=
TYPE_SYNCHRO
function
c40009136
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40009136
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
(
ph
>
PHASE_MAIN1
and
ph
<
PHASE_MAIN2
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
(
ph
>
PHASE_MAIN1
and
ph
<
PHASE_MAIN2
)
...
...
expansions/script/c40009137.lua
View file @
43836e25
...
@@ -32,6 +32,7 @@ function c40009137.initial_effect(c)
...
@@ -32,6 +32,7 @@ function c40009137.initial_effect(c)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c40009137
.
material_type
=
TYPE_SYNCHRO
function
c40009137
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40009137
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
(
ph
>
PHASE_MAIN1
and
ph
<
PHASE_MAIN2
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
(
ph
>
PHASE_MAIN1
and
ph
<
PHASE_MAIN2
)
...
...
expansions/script/c40009145.lua
View file @
43836e25
...
@@ -46,6 +46,7 @@ function c40009145.initial_effect(c)
...
@@ -46,6 +46,7 @@ function c40009145.initial_effect(c)
e6
:
SetOperation
(
c40009145
.
spop
)
e6
:
SetOperation
(
c40009145
.
spop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
c40009145
.
material_type
=
TYPE_SYNCHRO
function
c40009145
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c40009145
.
cost
(
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
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
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
...
...
expansions/script/c40010022.lua
View file @
43836e25
...
@@ -46,6 +46,7 @@ function cm.initial_effect(c)
...
@@ -46,6 +46,7 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
desop
)
e4
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
...
...
expansions/script/c40010222.lua
View file @
43836e25
...
@@ -63,6 +63,7 @@ function cm.initial_effect(c)
...
@@ -63,6 +63,7 @@ function cm.initial_effect(c)
e6
:
SetOperation
(
cm
.
desop
)
e6
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
d
=
c
:
GetBattleTarget
()
local
d
=
c
:
GetBattleTarget
()
...
...
expansions/script/c40010826.lua
View file @
43836e25
...
@@ -36,6 +36,7 @@ function cm.initial_effect(c)
...
@@ -36,6 +36,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
necon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
necon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
expansions/script/c53715014.lua
View file @
43836e25
...
@@ -18,6 +18,7 @@ function cm.initial_effect(c)
...
@@ -18,6 +18,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
thop
)
e5
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
end
end
...
...
expansions/script/c53715015.lua
View file @
43836e25
...
@@ -13,6 +13,7 @@ function cm.initial_effect(c)
...
@@ -13,6 +13,7 @@ function cm.initial_effect(c)
e7
:
SetOperation
(
cm
.
op
)
e7
:
SetOperation
(
cm
.
op
)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
con
(
e
)
function
cm
.
con
(
e
)
return
(
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
())
and
e
:
GetHandler
():
GetBattleTarget
()
return
(
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
())
and
e
:
GetHandler
():
GetBattleTarget
()
end
end
...
...
expansions/script/c53715016.lua
View file @
43836e25
...
@@ -18,6 +18,7 @@ function cm.initial_effect(c)
...
@@ -18,6 +18,7 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
thop
)
e5
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
2
,
nil
)
end
...
...
expansions/script/c57300205.lua
View file @
43836e25
...
@@ -48,6 +48,7 @@ function s.initial_effect(c)
...
@@ -48,6 +48,7 @@ function s.initial_effect(c)
e5
:
SetOperation
(
s
.
spop
)
e5
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
s
.
material_type
=
TYPE_SYNCHRO
function
s
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c60001121.lua
View file @
43836e25
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
e27
:
SetOperation
(
cm
.
gravecheckop
)
e27
:
SetOperation
(
cm
.
gravecheckop
)
Duel
.
RegisterEffect
(
e27
,
tp
)
Duel
.
RegisterEffect
(
e27
,
tp
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
gravecheckop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
gravecheckop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
m
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
m
)
~=
0
then
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
0
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
60001111
,
0
))
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
0
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
60001111
,
0
))
...
...
expansions/script/c60010016.lua
View file @
43836e25
...
@@ -26,6 +26,7 @@ function cm.initial_effect(c)
...
@@ -26,6 +26,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
disop
)
e2
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
...
...
expansions/script/c64800022.lua
View file @
43836e25
...
@@ -52,6 +52,7 @@ function cm.initial_effect(c)
...
@@ -52,6 +52,7 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
spop
)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
mfilter1
(
c
)
function
cm
.
mfilter1
(
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
end
end
...
...
expansions/script/c64800035.lua
View file @
43836e25
...
@@ -33,6 +33,7 @@ function cm.initial_effect(c)
...
@@ -33,6 +33,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
setname
=
"Axisevil"
cm
.
setname
=
"Axisevil"
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c64800039.lua
View file @
43836e25
...
@@ -32,6 +32,7 @@ function cm.initial_effect(c)
...
@@ -32,6 +32,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
setname
=
"Axisevil"
cm
.
setname
=
"Axisevil"
cm
.
material_type
=
TYPE_SYNCHRO
--e1
--e1
function
cm
.
filter1
(
c
)
function
cm
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRank
(
10
)
return
c
:
IsFaceup
()
and
c
:
IsRank
(
10
)
...
...
expansions/script/c64800044.lua
View file @
43836e25
...
@@ -39,6 +39,7 @@ function cm.initial_effect(c)
...
@@ -39,6 +39,7 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
sfilter1
(
c
)
function
cm
.
sfilter1
(
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c64800084.lua
View file @
43836e25
...
@@ -38,6 +38,7 @@ function cm.initial_effect(c)
...
@@ -38,6 +38,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
disop
)
e2
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
tfilter
(
c
)
function
cm
.
tfilter
(
c
)
return
c
:
GetSummonLocation
()
==
LOCATION_GRAVE
return
c
:
GetSummonLocation
()
==
LOCATION_GRAVE
end
end
...
...
expansions/script/c64831009.lua
View file @
43836e25
...
@@ -46,6 +46,7 @@ function c64831009.initial_effect(c)
...
@@ -46,6 +46,7 @@ function c64831009.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c64831009
.
setname
=
"RagnaTravellers"
c64831009
.
setname
=
"RagnaTravellers"
c64831009
.
material_type
=
TYPE_SYNCHRO
function
c64831009
.
matfil
(
c
)
function
c64831009
.
matfil
(
c
)
return
c
.
setname
==
"RagnaTravellers"
and
not
c
:
IsType
(
TYPE_TUNER
)
return
c
.
setname
==
"RagnaTravellers"
and
not
c
:
IsType
(
TYPE_TUNER
)
end
end
...
...
expansions/script/c64831010.lua
View file @
43836e25
...
@@ -34,6 +34,7 @@ function c64831010.initial_effect(c)
...
@@ -34,6 +34,7 @@ function c64831010.initial_effect(c)
e2
:
SetOperation
(
c64831010
.
activate
)
e2
:
SetOperation
(
c64831010
.
activate
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c64831010
.
material_type
=
TYPE_SYNCHRO
function
c64831010
.
matfil
(
c
)
function
c64831010
.
matfil
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
end
...
...
expansions/script/c64831012.lua
View file @
43836e25
...
@@ -44,6 +44,7 @@ function c64831012.initial_effect(c)
...
@@ -44,6 +44,7 @@ function c64831012.initial_effect(c)
e5
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
e5
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
c64831012
.
material_type
=
TYPE_SYNCHRO
function
c64831012
.
tunefil
(
c
)
function
c64831012
.
tunefil
(
c
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsSetCard
(
0x5410
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsSetCard
(
0x5410
)
end
end
...
...
expansions/script/c64831013.lua
View file @
43836e25
...
@@ -37,6 +37,7 @@ function c64831013.initial_effect(c)
...
@@ -37,6 +37,7 @@ function c64831013.initial_effect(c)
e3
:
SetTarget
(
c64831013
.
distg
)
e3
:
SetTarget
(
c64831013
.
distg
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c64831013
.
material_type
=
TYPE_SYNCHRO
function
c64831013
.
matfil
(
c
)
function
c64831013
.
matfil
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
end
...
...
expansions/script/c65010588.lua
View file @
43836e25
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
...
@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
negop
)
e3
:
SetOperation
(
cm
.
negop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
actlimit
(
e
,
re
,
tp
)
function
cm
.
actlimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
end
end
...
...
expansions/script/c72411200.lua
View file @
43836e25
...
@@ -69,6 +69,7 @@ function c72411200.initial_effect(c)
...
@@ -69,6 +69,7 @@ function c72411200.initial_effect(c)
e6
:
SetTarget
(
c72411200
.
reptg
)
e6
:
SetTarget
(
c72411200
.
reptg
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
c72411200
.
material_type
=
TYPE_SYNCHRO
function
c72411200
.
mfilter1
(
c
)
function
c72411200
.
mfilter1
(
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
end
end
...
...
expansions/script/c76029019.lua
View file @
43836e25
...
@@ -47,6 +47,7 @@ function c76029019.initial_effect(c)
...
@@ -47,6 +47,7 @@ function c76029019.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c76029019
.
named_with_Kazimierz
=
true
c76029019
.
named_with_Kazimierz
=
true
c76029019
.
material_type
=
TYPE_SYNCHRO
function
c76029019
.
mfilter
(
c
)
function
c76029019
.
mfilter
(
c
)
return
c
.
named_with_Kazimierz
return
c
.
named_with_Kazimierz
end
end
...
...
expansions/script/c78312415.lua
View file @
43836e25
...
@@ -28,6 +28,7 @@ function c78312415.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c78312415.initial_effect(c)
e2
:
SetOperation
(
c78312415
.
spop
)
e2
:
SetOperation
(
c78312415
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c78312415
.
material_type
=
TYPE_SYNCHRO
function
c78312415
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c78312415
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c78312416.lua
View file @
43836e25
...
@@ -35,6 +35,7 @@ function c78312416.initial_effect(c)
...
@@ -35,6 +35,7 @@ function c78312416.initial_effect(c)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c78312416
.
material_type
=
TYPE_SYNCHRO
function
c78312416
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c78312416
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c82206044.lua
View file @
43836e25
...
@@ -31,6 +31,7 @@ function cm.initial_effect(c)
...
@@ -31,6 +31,7 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
des2op
)
e3
:
SetOperation
(
cm
.
des2op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
valcheck
(
e
,
c
)
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x129d
)
then
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x129d
)
then
...
...
expansions/script/c82209095.lua
View file @
43836e25
...
@@ -54,7 +54,7 @@ function cm.initial_effect(c)
...
@@ -54,7 +54,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
cm
.
toss_coin
=
true
cm
.
toss_coin
=
true
cm
.
material_type
=
TYPE_SYNCHRO
--disable summon
--disable summon
function
cm
.
filter
(
c
,
tp
)
function
cm
.
filter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
return
c
:
GetSummonPlayer
()
==
tp
...
...
expansions/script/c82567859.lua
View file @
43836e25
...
@@ -47,6 +47,7 @@ function c82567859.initial_effect(c)
...
@@ -47,6 +47,7 @@ function c82567859.initial_effect(c)
e9
:
SetValue
(
0x825
)
e9
:
SetValue
(
0x825
)
c
:
RegisterEffect
(
e9
)
c
:
RegisterEffect
(
e9
)
end
end
c82567859
.
material_type
=
TYPE_SYNCHRO
function
c82567859
.
tglimit
(
e
,
re
,
rp
)
function
c82567859
.
tglimit
(
e
,
re
,
rp
)
return
rp
==
1
-
e
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
rp
==
1
-
e
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
...
...
expansions/script/c82568005.lua
View file @
43836e25
...
@@ -66,6 +66,7 @@ function c82568005.initial_effect(c)
...
@@ -66,6 +66,7 @@ function c82568005.initial_effect(c)
e13
:
SetOperation
(
c82568005
.
sumop
)
e13
:
SetOperation
(
c82568005
.
sumop
)
c
:
RegisterEffect
(
e13
)
c
:
RegisterEffect
(
e13
)
end
end
c82568005
.
material_type
=
TYPE_SYNCHRO
function
c82568005
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82568005
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
82568005
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
e
:
GetHandler
():
GetFlagEffect
(
82568005
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
end
...
...
expansions/script/c87498646.lua
View file @
43836e25
...
@@ -29,6 +29,7 @@ function s.initial_effect(c)
...
@@ -29,6 +29,7 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
disop
)
e2
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
s
.
material_type
=
TYPE_SYNCHRO
function
s
.
attcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
attcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c87498743.lua
View file @
43836e25
...
@@ -56,6 +56,7 @@ function c87498743.initial_effect(c)
...
@@ -56,6 +56,7 @@ function c87498743.initial_effect(c)
e5
:
SetOperation
(
s
.
penop
)
e5
:
SetOperation
(
s
.
penop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
s
.
material_type
=
TYPE_SYNCHRO
--limit
--limit
function
s
.
spelimit
(
e
,
se
,
sp
,
st
)
function
s
.
spelimit
(
e
,
se
,
sp
,
st
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -85,7 +86,7 @@ end
...
@@ -85,7 +86,7 @@ end
function
s
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtra
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtra
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
e
:
GetHandler
(),
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
...
@@ -94,18 +95,18 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,18 +95,18 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
and
c
:
IsLocation
(
LOCATION_EXTRA
)
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
and
c
:
IsLocation
(
LOCATION_EXTRA
)
then
local
sg
=
Duel
.
GetMatchingGroup
(
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
nil
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
nil
,
nil
)
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
if
#
sg
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
if
#
sg
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sc
=
sg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
sc
=
sg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
sc
then
if
sc
then
sc
:
SetMaterial
(
nil
)
sc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
sc
:
CompleteProcedure
()
sc
:
CompleteProcedure
()
end
end
end
end
end
end
end
end
end
end
end
end
...
...
expansions/script/c88881945.lua
View file @
43836e25
...
@@ -49,6 +49,7 @@ function s.initial_effect(c)
...
@@ -49,6 +49,7 @@ function s.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
end
s
.
material_type
=
TYPE_SYNCHRO
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsSetCard
(
0xc07
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsSetCard
(
0xc07
)
end
end
...
...
expansions/script/c88888006.lua
View file @
43836e25
...
@@ -24,6 +24,7 @@ function s.initial_effect(c)
...
@@ -24,6 +24,7 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
regop
)
e3
:
SetOperation
(
s
.
regop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
s
.
material_type
=
TYPE_SYNCHRO
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
not
c
:
IsForbidden
()
and
c
:
IsSetCard
(
0x207a
)
return
not
c
:
IsForbidden
()
and
c
:
IsSetCard
(
0x207a
)
end
end
...
...
expansions/script/c9310023.lua
View file @
43836e25
...
@@ -51,6 +51,7 @@ function c9310023.initial_effect(c)
...
@@ -51,6 +51,7 @@ function c9310023.initial_effect(c)
e5
:
SetCode
(
21142671
)
e5
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
c9310023
.
material_type
=
TYPE_SYNCHRO
function
c9310023
.
splimit
(
e
,
se
,
sp
,
st
)
function
c9310023
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
(
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
and
(
not
se
or
not
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)))
(
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
and
(
not
se
or
not
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)))
...
...
expansions/script/c93601003.lua
View file @
43836e25
...
@@ -39,6 +39,7 @@ function cm.initial_effect(c)
...
@@ -39,6 +39,7 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
thop
)
e4
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
imcon
(
e
)
function
cm
.
imcon
(
e
)
return
e
:
GetHandler
():
GetSequence
()
>
4
return
e
:
GetHandler
():
GetSequence
()
>
4
end
end
...
...
expansions/script/c98920036.lua
View file @
43836e25
...
@@ -26,6 +26,7 @@ function c98920036.initial_effect(c)
...
@@ -26,6 +26,7 @@ function c98920036.initial_effect(c)
e2
:
SetOperation
(
c98920036
.
operation
)
e2
:
SetOperation
(
c98920036
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c98920036
.
material_type
=
TYPE_SYNCHRO
function
c98920036
.
atkfilter
(
c
)
function
c98920036
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
)
end
end
...
...
expansions/script/c98921039.lua
View file @
43836e25
...
@@ -28,6 +28,7 @@ function c98921039.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c98921039.initial_effect(c)
e4
:
SetOperation
(
c98921039
.
spop
)
e4
:
SetOperation
(
c98921039
.
spop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c98921039
.
material_type
=
TYPE_SYNCHRO
function
c98921039
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98921039
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
...
...
expansions/script/c9911410.lua
View file @
43836e25
...
@@ -22,6 +22,7 @@ function c9911410.initial_effect(c)
...
@@ -22,6 +22,7 @@ function c9911410.initial_effect(c)
e2
:
SetOperation
(
c9911410
.
spop
)
e2
:
SetOperation
(
c9911410
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c9911410
.
material_type
=
TYPE_SYNCHRO
function
c9911410
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9911410
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsRelateToEffect
(
re
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsRelateToEffect
(
re
)
...
...
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