Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
八宫一月
ygopro-scripts
Commits
755d326a
Commit
755d326a
authored
Dec 25, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e4dd8904
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
51 additions
and
41 deletions
+51
-41
c32104431.lua
c32104431.lua
+2
-2
c39980304.lua
c39980304.lua
+1
-1
c41209827.lua
c41209827.lua
+1
-1
c58199906.lua
c58199906.lua
+1
-1
c6417578.lua
c6417578.lua
+3
-3
c65331686.lua
c65331686.lua
+3
-3
c65646587.lua
c65646587.lua
+3
-3
c71490127.lua
c71490127.lua
+17
-10
c72029628.lua
c72029628.lua
+2
-2
c72291412.lua
c72291412.lua
+2
-2
c7394770.lua
c7394770.lua
+5
-2
c74335036.lua
c74335036.lua
+3
-3
c9113513.lua
c9113513.lua
+2
-2
c91584698.lua
c91584698.lua
+3
-3
c94820406.lua
c94820406.lua
+3
-3
No files found.
c32104431.lua
View file @
755d326a
...
...
@@ -49,10 +49,10 @@ function c32104431.fusioncost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
function
c32104431
.
filter0
(
c
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
end
function
c32104431
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c32104431
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsCode
(
86240887
)
and
(
not
f
or
f
(
c
))
...
...
c39980304.lua
View file @
755d326a
...
...
@@ -33,7 +33,7 @@ function c39980304.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c39980304
.
filter
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c39980304
.
chain_target
(
e
,
te
,
tp
)
return
Duel
.
GetMatchingGroup
(
c39980304
.
filter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
+
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
,
te
)
...
...
c41209827.lua
View file @
755d326a
...
...
@@ -38,7 +38,7 @@ function c41209827.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c41209827
.
ffilter
(
c
)
return
c
:
IsFusionAttribute
(
ATTRIBUTE_DARK
)
and
c
:
Is
Location
(
LOCATION_ONFIELD
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
return
c
:
IsFusionAttribute
(
ATTRIBUTE_DARK
)
and
c
:
Is
OnField
(
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
end
function
c41209827
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
...
...
c58199906.lua
View file @
755d326a
...
...
@@ -28,7 +28,7 @@ function c58199906.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c58199906
.
filter
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c58199906
.
chain_target
(
e
,
te
,
tp
)
return
Duel
.
GetMatchingGroup
(
c58199906
.
filter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
,
te
)
...
...
c6417578.lua
View file @
755d326a
...
...
@@ -12,7 +12,7 @@ function c6417578.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c6417578
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c6417578
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x9d
)
and
(
not
f
or
f
(
c
))
...
...
@@ -21,7 +21,7 @@ end
function
c6417578
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
Card
.
IsCanBeFusionMaterial
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c6417578
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -38,7 +38,7 @@ function c6417578.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c6417578
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
c6417578
.
filter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
c6417578
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c6417578
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
...
...
c65331686.lua
View file @
755d326a
...
...
@@ -50,7 +50,7 @@ function c65331686.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
500
)
end
function
c65331686
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c65331686
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0xad
)
and
(
not
f
or
f
(
c
))
...
...
@@ -59,7 +59,7 @@ end
function
c65331686
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
Card
.
IsCanBeFusionMaterial
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c65331686
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -76,7 +76,7 @@ function c65331686.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c65331686
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
c65331686
.
filter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
c65331686
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c65331686
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
...
...
c65646587.lua
View file @
755d326a
...
...
@@ -15,7 +15,7 @@ function c65646587.filter0(c,e)
return
(
seq
==
6
or
seq
==
7
)
and
c
:
IsCanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c65646587
.
filter1
(
c
,
e
)
return
c
:
Is
CanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
OnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c65646587
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
f
or
f
(
c
))
...
...
@@ -24,7 +24,7 @@ end
function
c65646587
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
Card
.
IsCanBeFusionMaterial
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
Card
.
IsOnField
,
nil
)
if
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
6
)
and
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
7
)
then
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
c65646587
.
filter0
,
tp
,
LOCATION_SZONE
,
0
,
nil
,
e
))
end
...
...
@@ -44,7 +44,7 @@ function c65646587.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c65646587
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
c65646587
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
GetFusionMaterial
(
tp
):
Filter
(
c65646587
.
filter1
,
nil
,
e
)
if
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
6
)
and
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
7
)
then
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
c65646587
.
filter0
,
tp
,
LOCATION_SZONE
,
0
,
nil
,
e
))
end
...
...
c71490127.lua
View file @
755d326a
...
...
@@ -10,27 +10,32 @@ function c71490127.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c71490127
.
filter0
(
c
)
return
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
return
c
:
Is
OnField
()
and
c
:
IsAbleToRemove
()
end
function
c71490127
.
filter1
(
c
,
e
)
return
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
OnField
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c71490127
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
function
c71490127
.
filter3
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
end
function
c71490127
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter0
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c71490127
.
filter0
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
mg1
:
Merge
(
mg2
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c71490127
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
local
fgroup
=
ce
:
GetTarget
()
local
mg
2
=
fgroup
(
ce
,
e
,
tp
)
local
mg
3
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
res
=
Duel
.
IsExistingMatchingCard
(
c71490127
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
2
,
mf
,
chkf
)
res
=
Duel
.
IsExistingMatchingCard
(
c71490127
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
3
,
mf
,
chkf
)
end
end
return
res
...
...
@@ -39,16 +44,18 @@ function c71490127.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c71490127
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c71490127
.
filter1
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
mg1
:
Merge
(
mg2
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg
2
=
nil
local
mg
3
=
nil
local
sg2
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
local
fgroup
=
ce
:
GetTarget
()
mg
2
=
fgroup
(
ce
,
e
,
tp
)
mg
3
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
sg2
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg
2
,
mf
,
chkf
)
sg2
=
Duel
.
GetMatchingGroup
(
c71490127
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg
3
,
mf
,
chkf
)
end
if
sg1
:
GetCount
()
>
0
or
(
sg2
~=
nil
and
sg2
:
GetCount
()
>
0
)
then
local
sg
=
sg1
:
Clone
()
...
...
@@ -63,7 +70,7 @@ function c71490127.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
local
mat2
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
2
,
nil
,
chkf
)
local
mat2
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
3
,
nil
,
chkf
)
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
...
...
c72029628.lua
View file @
755d326a
...
...
@@ -10,10 +10,10 @@ function c72029628.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c72029628
.
filter0
(
c
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
end
function
c72029628
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c72029628
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x1047
)
and
(
not
f
or
f
(
c
))
...
...
c72291412.lua
View file @
755d326a
...
...
@@ -11,10 +11,10 @@ function c72291412.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c72291412
.
filter0
(
c
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
end
function
c72291412
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c72291412
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
gc
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x10af
)
and
(
not
f
or
f
(
c
))
...
...
c7394770.lua
View file @
755d326a
...
...
@@ -28,8 +28,11 @@ function c7394770.initial_effect(c)
e3
:
SetOperation
(
c7394770
.
atkop
)
c
:
RegisterEffect
(
e3
)
end
function
c7394770
.
filter0
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
end
function
c7394770
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c7394770
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x1047
)
and
(
not
f
or
f
(
c
))
...
...
@@ -38,7 +41,7 @@ end
function
c7394770
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanBeFusionMaterial
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
mg1
=
Duel
.
GetMatchingGroup
(
c7394770
.
filter0
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c7394770
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
c74335036.lua
View file @
755d326a
...
...
@@ -22,7 +22,7 @@ function c74335036.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c74335036
.
filter1
(
c
,
e
)
return
c
:
Is
CanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
OnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c74335036
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
f
or
f
(
c
))
...
...
@@ -31,7 +31,7 @@ end
function
c74335036
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
c74335036
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
Card
.
IsOnField
,
nil
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c74335036
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -48,7 +48,7 @@ function c74335036.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c74335036
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
c74335036
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
c74335036
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c74335036
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
...
...
c9113513.lua
View file @
755d326a
...
...
@@ -14,12 +14,12 @@ function c9113513.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
end
function
c9113513
.
filter1
(
c
,
e
,
tp
,
mg
,
f
,
chkf
)
return
c
:
IsCanBeFusionMaterial
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
mg
:
IsExists
(
c9113513
.
filter2
,
1
,
c
,
e
,
tp
,
c
,
f
,
chkf
)
end
function
c9113513
.
filter2
(
c
,
e
,
tp
,
mc
,
f
,
chkf
)
local
mg
=
Group
.
FromCards
(
c
,
mc
)
return
c
:
IsCanBeFusionMaterial
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
Duel
.
IsExistingMatchingCard
(
c9113513
.
ffilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
f
,
chkf
)
end
function
c9113513
.
ffilter
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
...
...
c91584698.lua
View file @
755d326a
...
...
@@ -22,7 +22,7 @@ function c91584698.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c91584698
.
filter1
(
c
,
e
)
return
c
:
Is
CanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
OnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c91584698
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
f
or
f
(
c
))
...
...
@@ -31,7 +31,7 @@ end
function
c91584698
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
Card
.
IsCanBeFusionMaterial
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
Card
.
IsOnField
,
nil
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c91584698
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -49,7 +49,7 @@ end
function
c91584698
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
c91584698
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
c91584698
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c91584698
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
...
...
c94820406.lua
View file @
755d326a
...
...
@@ -10,7 +10,7 @@ function c94820406.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c94820406
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c94820406
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_FIEND
)
and
(
not
f
or
f
(
c
))
...
...
@@ -19,7 +19,7 @@ end
function
c94820406
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
Card
.
IsCanBeFusionMaterial
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c94820406
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -36,7 +36,7 @@ function c94820406.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c94820406
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
mg1
=
Duel
.
Get
MatchingGroup
(
c94820406
.
filter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg1
=
Duel
.
Get
FusionMaterial
(
tp
):
Filter
(
c94820406
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c94820406
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment