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
463adbeb
Commit
463adbeb
authored
Aug 29, 2019
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7cf870f6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/script/c1008001.lua
expansions/script/c1008001.lua
+5
-5
No files found.
expansions/no81.cdb
View file @
463adbeb
No preview for this file type
expansions/script/c1008001.lua
View file @
463adbeb
...
@@ -63,7 +63,7 @@ function c1008001.tgcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c1008001.tgcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetLabelObject
():
IsAbleToDeck
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetLabelObject
():
IsAbleToDeck
()
end
end
function
c1008001
.
dfilter
(
c
)
function
c1008001
.
dfilter
(
c
)
return
c
:
IsDestructable
()
and
not
((
c
:
IsSetCard
(
0x
f9
)
or
c
:
IsSetCard
(
0xf5
))
and
c
:
IsFaceup
())
return
c
:
IsDestructable
()
and
not
((
c
:
IsSetCard
(
0x
320e
)
or
c
:
IsSetCard
(
0x520e
))
and
c
:
IsFaceup
())
end
end
function
c1008001
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1008001
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
...
@@ -84,7 +84,7 @@ function c1008001.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function c1008001.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c1008001
.
sfilter
(
c
,
e
,
tp
)
function
c1008001
.
sfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
f9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsCode
(
1008001
)
return
c
:
IsSetCard
(
0x
320e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsCode
(
1008001
)
end
end
function
c1008001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1008001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -101,12 +101,12 @@ function c1008001.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,12 +101,12 @@ function c1008001.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c1008001
.
vfilter
(
c
,
e
,
tp
)
function
c1008001
.
vfilter
(
c
,
e
,
tp
)
return
(
c
:
IsCode
(
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
)
return
(
c
:
IsCode
(
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
)
or
((
c
:
IsSetCard
(
0x
f9
)
and
c
:
GetCode
()
~=
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
or
((
c
:
IsSetCard
(
0x
320e
)
and
c
:
GetCode
()
~=
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
and
c
:
GetFlagEffect
(
10080011
)
==
0
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetCode
()
~=
1008001
and
c
:
GetFlagEffect
(
10080011
)
==
0
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetCode
()
~=
1008001
end
end
function
c1008001
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1008001
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
(
chkc
:
IsCode
(
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
(
chkc
:
IsCode
(
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
)
or
((
chkc
:
IsSetCard
(
0x
f9
)
and
chkc
:
GetCode
()
~=
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
or
((
chkc
:
IsSetCard
(
0x
320e
)
and
chkc
:
GetCode
()
~=
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
and
chkc
:
GetFlagEffect
(
10080011
)
==
0
and
chkc
:
IsFaceup
()
and
chkc
:
IsType
(
TYPE_MONSTER
)
and
chkc
:
GetCode
()
~=
1008001
end
and
chkc
:
GetFlagEffect
(
10080011
)
==
0
and
chkc
:
IsFaceup
()
and
chkc
:
IsType
(
TYPE_MONSTER
)
and
chkc
:
GetCode
()
~=
1008001
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c1008001
.
vfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c1008001
.
vfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
local
g
=
Duel
.
SelectTarget
(
tp
,
c1008001
.
vfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c1008001
.
vfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
...
@@ -114,7 +114,7 @@ end
...
@@ -114,7 +114,7 @@ end
function
c1008001
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1008001
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
(
tc
:
IsCode
(
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
2
)
if
(
tc
:
IsCode
(
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
2
)
or
((
tc
:
IsSetCard
(
0x
f9
)
and
tc
:
GetCode
()
~=
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<
1
)
then
return
false
end
or
((
tc
:
IsSetCard
(
0x
320e
)
and
tc
:
GetCode
()
~=
1008014
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<
1
)
then
return
false
end
if
tc
:
IsFaceup
()
then
if
tc
:
IsFaceup
()
then
Duel
.
RaiseSingleEvent
(
tc
,
1008001
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseSingleEvent
(
tc
,
1008001
,
e
,
0
,
0
,
0
,
0
)
end
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