Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
NemoCards
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
NemoCards
Commits
a78e345f
Commit
a78e345f
authored
Dec 16, 2017
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syncing from 222
parent
b02ceba8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
23 deletions
+27
-23
expansions/script/c33700172.lua
expansions/script/c33700172.lua
+1
-1
expansions/script/c33700176.lua
expansions/script/c33700176.lua
+2
-2
expansions/script/c33700186.lua
expansions/script/c33700186.lua
+4
-0
expansions/script/c33700187.lua
expansions/script/c33700187.lua
+16
-16
expansions/script/c33700188.lua
expansions/script/c33700188.lua
+1
-1
expansions/script/c33700189.lua
expansions/script/c33700189.lua
+2
-2
expansions/script/c33700190.lua
expansions/script/c33700190.lua
+1
-1
No files found.
expansions/script/c33700172.lua
View file @
a78e345f
...
@@ -75,7 +75,7 @@ function c33700172.fsplimit(e,se,sp,st)
...
@@ -75,7 +75,7 @@ function c33700172.fsplimit(e,se,sp,st)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
or
se
:
GetHandler
()
==
e
:
GetHandler
()
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
or
se
:
GetHandler
()
==
e
:
GetHandler
()
end
end
function
c33700172
.
ffilter
(
c
)
function
c33700172
.
ffilter
(
c
)
return
(
c
:
IsFusionType
(
TYPE_XYZ
)
or
c
:
IsFusionType
(
TYPE_FUSION
)
or
c
:
IsFusionType
(
TYPE_SYNCHRO
)
or
c
:
IsFusionType
(
TYPE_LINK
)
)
and
c
:
IsFusionSetCard
(
0x442
)
return
c
:
IsFusionType
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
and
c
:
IsFusionSetCard
(
0x442
)
end
end
function
c33700172
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c33700172
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
not
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
not
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
...
...
expansions/script/c33700176.lua
View file @
a78e345f
...
@@ -50,10 +50,10 @@ function c33700176.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,10 +50,10 @@ function c33700176.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
c
)
Duel
.
SSet
(
tp
,
c
)
end
end
end
end
function
c3700176
.
thfilter
(
c
,
tp
)
function
c3
3
700176
.
thfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
return
c
:
IsControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
end
end
function
c3700176
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3
3
700176
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c3700176
.
thfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c3700176
.
thfilter
,
1
,
nil
,
tp
)
end
end
function
c33700176
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33700176
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c33700186.lua
View file @
a78e345f
...
@@ -56,6 +56,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,6 +56,10 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
local
tc
=
e
:
GetLabelObject
()
return
re
:
GetHandler
():
IsCode
(
tc
:
GetCode
())
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
3
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
3
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
expansions/script/c33700187.lua
View file @
a78e345f
...
@@ -12,49 +12,49 @@ function cm.initial_effect(c)
...
@@ -12,49 +12,49 @@ function cm.initial_effect(c)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
==
1
or
ct
==
g
:
GetCount
()
return
ct
==
1
or
ct
==
g
:
GetCount
()
end
)
end
)
e1
:
SetTarget
(
c
45906428
.
target
)
e1
:
SetTarget
(
c
m
.
target
)
e1
:
SetOperation
(
c
45906428
.
activate
)
e1
:
SetOperation
(
c
m
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c
45906428
.
filter0
(
c
)
function
c
m
.
filter0
(
c
)
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
end
end
function
c
45906428
.
filter1
(
c
,
e
)
function
c
m
.
filter1
(
c
,
e
)
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsOnField
()
and
c
:
IsAbleToDeck
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c
45906428
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
function
c
m
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
f
or
f
(
c
))
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
c
45906428
.
filter3
(
c
)
function
c
m
.
filter3
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
end
end
function
c
45906428
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
m
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
chkf
=
tp
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c
45906428
.
filter0
,
nil
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c
m
.
filter0
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c
45906428
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c
m
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
mg1
:
Merge
(
mg2
)
mg1
:
Merge
(
mg2
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c
45906428
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c
m
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
if
ce
~=
nil
then
local
fgroup
=
ce
:
GetTarget
()
local
fgroup
=
ce
:
GetTarget
()
local
mg3
=
fgroup
(
ce
,
e
,
tp
)
local
mg3
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
local
mf
=
ce
:
GetValue
()
res
=
Duel
.
IsExistingMatchingCard
(
c
45906428
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg3
,
mf
,
chkf
)
res
=
Duel
.
IsExistingMatchingCard
(
c
m
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg3
,
mf
,
chkf
)
end
end
end
end
return
res
return
res
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
c
45906428
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c
45906428
.
filter1
,
nil
,
e
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c
m
.
filter1
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c
45906428
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c
m
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
mg1
:
Merge
(
mg2
)
mg1
:
Merge
(
mg2
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c
45906428
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c
m
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg3
=
nil
local
mg3
=
nil
local
sg2
=
nil
local
sg2
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
@@ -62,7 +62,7 @@ function c45906428.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function c45906428.activate(e,tp,eg,ep,ev,re,r,rp)
local
fgroup
=
ce
:
GetTarget
()
local
fgroup
=
ce
:
GetTarget
()
mg3
=
fgroup
(
ce
,
e
,
tp
)
mg3
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
local
mf
=
ce
:
GetValue
()
sg2
=
Duel
.
GetMatchingGroup
(
c
45906428
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg3
,
mf
,
chkf
)
sg2
=
Duel
.
GetMatchingGroup
(
c
m
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg3
,
mf
,
chkf
)
end
end
if
sg1
:
GetCount
()
>
0
or
(
sg2
~=
nil
and
sg2
:
GetCount
()
>
0
)
then
if
sg1
:
GetCount
()
>
0
or
(
sg2
~=
nil
and
sg2
:
GetCount
()
>
0
)
then
local
sg
=
sg1
:
Clone
()
local
sg
=
sg1
:
Clone
()
...
...
expansions/script/c33700188.lua
View file @
a78e345f
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_
FLAG
_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_
TYPE
_TRIGGER_O
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
)
e1
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
)
e1
:
SetTarget
(
cm
.
rmtg
)
e1
:
SetTarget
(
cm
.
rmtg
)
...
...
expansions/script/c33700189.lua
View file @
a78e345f
...
@@ -63,8 +63,8 @@ function cm.initial_effect(c)
...
@@ -63,8 +63,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
if
not
cm
.
check
then
if
not
cm
.
check
then
cm
.
check
=
{
cm
.
check
=
{
[
0
]
=
{}
[
0
]
=
{}
,
[
1
]
=
{}
[
1
]
=
{}
,
}
}
local
ge1
=
Effect
.
GlobalEffect
()
local
ge1
=
Effect
.
GlobalEffect
()
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
expansions/script/c33700190.lua
View file @
a78e345f
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
return
eg
:
GetCount
()
==
1
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsPreviousLocation
(
LOCATION_DECK
)
and
tc
:
GetPreviousControler
()
==
1
-
tp
and
(
not
tc
:
IsReason
(
REASON_DRAW
)
or
tc
:
IsPublic
())
return
eg
:
GetCount
()
==
1
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsPreviousLocation
(
LOCATION_DECK
)
and
tc
:
GetPreviousControler
()
==
1
-
tp
and
(
not
tc
:
IsReason
(
REASON_DRAW
)
or
tc
:
IsPublic
())
end
)
end
)
e3
:
SetTarget
(
cm
.
SelfSpsummonTarget
)
e3
:
SetTarget
(
cm
.
SelfSpsummonTarget
)
e3
:
SetOperation
(
cm
.
SelfSpsummon
Target
)
e3
:
SetOperation
(
cm
.
SelfSpsummon
Operation
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
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