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
11c6c560
Commit
11c6c560
authored
Nov 18, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
197c362b
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
71 additions
and
52 deletions
+71
-52
expansions/script/c11451414.lua
expansions/script/c11451414.lua
+5
-2
expansions/script/c11451456.lua
expansions/script/c11451456.lua
+1
-1
expansions/script/c115017.lua
expansions/script/c115017.lua
+8
-0
expansions/script/c115018.lua
expansions/script/c115018.lua
+7
-0
expansions/script/c115020.lua
expansions/script/c115020.lua
+3
-3
expansions/script/c115023.lua
expansions/script/c115023.lua
+3
-3
expansions/script/c115025.lua
expansions/script/c115025.lua
+4
-4
expansions/script/c115027.lua
expansions/script/c115027.lua
+2
-2
expansions/script/c115029.lua
expansions/script/c115029.lua
+1
-1
expansions/script/c115031.lua
expansions/script/c115031.lua
+2
-2
expansions/script/c115034.lua
expansions/script/c115034.lua
+3
-3
expansions/script/c115036.lua
expansions/script/c115036.lua
+2
-2
expansions/script/c115039.lua
expansions/script/c115039.lua
+4
-4
expansions/script/c115042.lua
expansions/script/c115042.lua
+1
-1
expansions/script/c115043.lua
expansions/script/c115043.lua
+2
-2
expansions/script/c115045.lua
expansions/script/c115045.lua
+1
-1
expansions/script/c29065500.lua
expansions/script/c29065500.lua
+2
-2
expansions/script/c29065501.lua
expansions/script/c29065501.lua
+3
-3
expansions/script/c29065503.lua
expansions/script/c29065503.lua
+2
-2
expansions/script/c29065505.lua
expansions/script/c29065505.lua
+1
-1
expansions/script/c29065506.lua
expansions/script/c29065506.lua
+2
-2
expansions/script/c29065510.lua
expansions/script/c29065510.lua
+2
-2
expansions/script/c29065511.lua
expansions/script/c29065511.lua
+2
-2
expansions/script/c29065512.lua
expansions/script/c29065512.lua
+1
-1
expansions/script/c29065518.lua
expansions/script/c29065518.lua
+2
-2
expansions/script/c29065521.lua
expansions/script/c29065521.lua
+1
-1
expansions/script/c29065523.lua
expansions/script/c29065523.lua
+1
-1
expansions/script/c31400092.lua
expansions/script/c31400092.lua
+2
-2
expansions/script/c33700966.lua
expansions/script/c33700966.lua
+1
-0
No files found.
expansions/script/c11451414.lua
View file @
11c6c560
...
...
@@ -56,9 +56,12 @@ end
function
cm
.
filter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x6978
)
end
function
cm
.
mfilter
(
c
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
(
c
:
GetPreviousLocation
()
&
LOCATION_ONFIELD
==
0
and
c
:
GetOriginalType
()
&
0x1
>
0
)
end
function
cm
.
check
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
local
g2
=
g
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x6978
)
local
g
=
eg
:
Filter
(
cm
.
mfilter
,
nil
)
local
g2
=
g
:
Filter
(
Card
.
Is
Previous
SetCard
,
nil
,
0x6978
)
local
count0
=
g2
:
FilterCount
(
Card
.
GetPreviousControler
,
nil
,
0
)
local
count1
=
g2
:
FilterCount
(
Card
.
GetPreviousControler
,
nil
,
1
)
cm
[
0
]
=
cm
[
0
]
+
count0
...
...
expansions/script/c11451456.lua
View file @
11c6c560
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_
FREE_CHAIN
)
e2
:
SetCode
(
EVENT_
PHASE_START
+
PHASE_DRAW
)
e2
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_DUEL
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetOperation
(
cm
.
hint
)
...
...
expansions/script/c115017.lua
0 → 100644
View file @
11c6c560
--编外容器 衾翼
local
m
=
115017
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
end
expansions/script/c115018.lua
0 → 100644
View file @
11c6c560
--编外容器 其空葵
local
m
=
115018
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
end
expansions/script/c115020.lua
View file @
11c6c560
...
...
@@ -37,14 +37,14 @@ function c115020.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c115020
.
thfil
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
end
function
c115020
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
Duel
.
GetLP
(
tp
)
/
2
)
end
Duel
.
PayLPCost
(
tp
,
Duel
.
GetLP
(
tp
)
/
2
)
end
function
c115020
.
spfil
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
c115020
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
check
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -102,5 +102,5 @@ function c115020.recop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c115020
.
imtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
end
\ No newline at end of file
expansions/script/c115023.lua
View file @
11c6c560
...
...
@@ -28,7 +28,7 @@ function c115023.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c115023
.
cfilter2
(
c
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
function
c115023
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -49,7 +49,7 @@ function c115023.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c115023
.
spfil
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c115023
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115023
.
spfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
...
...
@@ -72,5 +72,5 @@ function c115023.spop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c115023
.
actfilter
(
e
,
c
)
return
c
:
GetControler
()
==
e
:
GetHandlerPlayer
()
and
not
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
GetControler
()
==
e
:
GetHandlerPlayer
()
and
not
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
\ No newline at end of file
expansions/script/c115025.lua
View file @
11c6c560
...
...
@@ -31,7 +31,7 @@ function c115025.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c115025
.
thfil
(
c
)
return
c
:
IsAbleToHand
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
return
c
:
IsAbleToHand
()
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
end
function
c115025
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115025
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -48,13 +48,13 @@ function c115025.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Recover
(
tp
,
tc
:
GetAttack
()
/
2
,
REASON_EFFECT
)
end
function
c115025
.
stfil
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
function
c115025
.
xgfilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
end
function
c115025
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115025
.
xgfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
ep
==
tp
and
re
:
GetHandler
():
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
re
:
GetHandler
():
GetCode
()].
named_with_Arknight
and
Duel
.
IsExistingMatchingCard
(
c115025
.
stfil
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115025
.
xgfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
ep
==
tp
and
(
re
:
GetHandler
():
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
re
:
GetHandler
():
GetCode
()]
and
_G
[
"c"
..
re
:
GetHandler
():
GetCode
()].
named_with_Arknight
))
and
Duel
.
IsExistingMatchingCard
(
c115025
.
stfil
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_PZONE
,
0
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
2
,
tp
,
LOCATION_PZONE
)
...
...
expansions/script/c115027.lua
View file @
11c6c560
...
...
@@ -47,7 +47,7 @@ function c115027.recop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
end
function
c115027
.
cfilter2
(
c
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
(
c
:
IsReason
(
REASON_EFFECT
)
or
c
:
IsReason
(
REASON_BATTLE
))
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
(
c
:
IsReason
(
REASON_EFFECT
)
or
c
:
IsReason
(
REASON_BATTLE
))
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
function
c115027
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -64,7 +64,7 @@ function c115027.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c115027
.
rthfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsFaceup
()
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsFaceup
(
))
end
function
c115027
.
rectg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115027
.
rthfil
,
tp
,
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
...
...
expansions/script/c115029.lua
View file @
11c6c560
...
...
@@ -34,7 +34,7 @@ function c115029.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c115029
.
thfil
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
end
function
c115029
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115029
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c115031.lua
View file @
11c6c560
...
...
@@ -38,10 +38,10 @@ function c115031.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c115031
.
myfilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
end
function
c115031
.
spfil
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
((
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_GRAVE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsFaceup
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
))
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
((
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_GRAVE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsFaceup
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
))
end
function
c115031
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115031
.
myfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c115031
.
spfil
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c115034.lua
View file @
11c6c560
...
...
@@ -46,13 +46,13 @@ function c115034.valcheck(e,c)
end
end
function
c115034
.
lmfilter
(
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
end
function
c115034
.
lcheck
(
g
)
return
g
:
IsExists
(
c115034
.
lmfilter
,
1
,
nil
)
end
function
c115034
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_SPELL
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_SPELL
)
end
function
c115034
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetLabel
()
==
1
...
...
@@ -73,7 +73,7 @@ function c115034.desfilter(c)
return
c
:
IsFaceup
()
end
function
c115034
.
tefilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
end
function
c115034
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c115036.lua
View file @
11c6c560
...
...
@@ -58,11 +58,11 @@ function c115036.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c115036
.
atktg
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c115036
.
cfilter
(
c
,
tp
,
rp
)
return
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_DESTROY
)))
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
end
function
c115036
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c115039.lua
View file @
11c6c560
...
...
@@ -59,11 +59,11 @@ function c115039.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c115039
.
atktg
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c115039
.
cfilter
(
c
,
tp
,
rp
)
return
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_DESTROY
)))
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
end
function
c115039
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -84,7 +84,7 @@ function c115039.codecon(e)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
()
end
function
c115039
.
negfilter
(
c
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsControler
(
tp
)
end
function
c115039
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -97,7 +97,7 @@ function c115039.negcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c115039
.
tdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToDeckAsCost
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
end
function
c115039
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c115039
.
tdfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
...
expansions/script/c115042.lua
View file @
11c6c560
...
...
@@ -50,7 +50,7 @@ function c115042.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c115042
.
filter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
end
function
c115042
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c115042
.
filter
(
chkc
)
end
...
...
expansions/script/c115043.lua
View file @
11c6c560
...
...
@@ -65,10 +65,10 @@ function c115043.mat_filter(c)
return
not
c
:
IsLevel
(
11
)
end
function
c115043
.
imtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c115043
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
end
function
c115043
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c115045.lua
View file @
11c6c560
...
...
@@ -12,7 +12,7 @@ function c115045.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c115045
.
exfilter0
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToGrave
()
end
function
c115045
.
filter
(
c
)
...
...
expansions/script/c29065500.lua
View file @
11c6c560
...
...
@@ -30,7 +30,7 @@ function c29065500.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c29065500
.
efil
(
c
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
((
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
and
not
c
:
IsCode
(
29065500
))
then
return
false
end
if
not
((
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
and
not
c
:
IsCode
(
29065500
))
then
return
false
end
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
if
not
m
then
return
false
end
local
te
=
m
.
summon_effect
if
not
te
then
return
false
end
...
...
@@ -64,7 +64,7 @@ function c29065500.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c29065500
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
end
function
c29065500
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c29065500
.
thfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
expansions/script/c29065501.lua
View file @
11c6c560
...
...
@@ -44,7 +44,7 @@ function c29065501.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c29065501
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c29065501
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c29065501
.
thfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
@@ -66,7 +66,7 @@ function c29065501.thtg1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c29065501
.
athfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x87af
)
and
c
:
GetType
()
==
0x20002
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
GetType
()
==
0x20002
end
function
c29065501
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
29065500
)
...
...
@@ -80,7 +80,7 @@ function c29065501.thop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c29065501
.
stfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x87af
)
and
c
:
GetType
()
==
0x20002
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
GetType
()
==
0x20002
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
function
c29065501
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c29065501
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
...
...
expansions/script/c29065503.lua
View file @
11c6c560
...
...
@@ -41,7 +41,7 @@ function c29065503.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c29065503
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c29065503
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -86,7 +86,7 @@ function c29065503.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c29065503
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c29065503
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c29065503
.
thfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
expansions/script/c29065505.lua
View file @
11c6c560
...
...
@@ -50,7 +50,7 @@ function c29065505.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c29065505
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c29065505
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c29065505
.
thfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
expansions/script/c29065506.lua
View file @
11c6c560
...
...
@@ -50,7 +50,7 @@ function cm.spcon(e,c)
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
tdfilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsAbleToDeck
()
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
...
...
@@ -74,7 +74,7 @@ function cm.ctcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
ctfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
end
function
cm
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
expansions/script/c29065510.lua
View file @
11c6c560
...
...
@@ -33,7 +33,7 @@ function c29065510.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c29065510
.
atktg
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c29065510
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
@@ -50,7 +50,7 @@ function c29065510.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
0x10ae
,
1
,
REASON_COST
)
end
function
c29065510
.
spfilter
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c29065510
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c29065511.lua
View file @
11c6c560
...
...
@@ -27,7 +27,7 @@ function c29065511.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c29065511
.
tdfil
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
c
:
IsAbleToHand
()
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c29065511
.
spfil
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -59,7 +59,7 @@ function c29065511.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c29065511
.
target
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
c29065511
.
indct
(
e
,
re
,
r
,
rp
)
if
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
then
...
...
expansions/script/c29065512.lua
View file @
11c6c560
...
...
@@ -12,7 +12,7 @@ function c29065512.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c29065512
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c29065512
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
,
c
:
GetOriginalCode
())
end
function
c29065512
.
filter2
(
c
,
e
,
tp
,
mc
,
code
)
...
...
expansions/script/c29065518.lua
View file @
11c6c560
...
...
@@ -61,10 +61,10 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
detg
(
e
,
c
)
return
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
...
...
expansions/script/c29065521.lua
View file @
11c6c560
...
...
@@ -26,7 +26,7 @@ function c29065521.initial_effect(c)
c29065521
.
summon_effect
=
e2
end
function
c29065521
.
spfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
(
)
end
function
c29065521
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c29065523.lua
View file @
11c6c560
...
...
@@ -41,7 +41,7 @@ function c29065523.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
n
,
0
,
0x10ae
)
end
function
c29065523
.
refilter
(
c
)
return
(
c
:
IsSetCard
(
0x87af
)
or
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
and
c
:
GetBaseAttack
()
>
0
return
(
c
:
IsSetCard
(
0x87af
)
or
(
_G
[
"c"
..
c
:
GetCode
()]
and
_G
[
"c"
..
c
:
GetCode
()].
named_with_Arknight
)
)
and
c
:
GetBaseAttack
()
>
0
end
function
c29065523
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
...
...
expansions/script/c31400092.lua
View file @
11c6c560
...
...
@@ -32,7 +32,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValley
thf
ilter
(
cm
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValley
F
ilter
(
cm
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
@@ -47,7 +47,7 @@ function cm.tkop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
31400098
,
0xa3
,
0x4011
,
0
,
0
,
4
,
RACE_SPELLCASTER
,
ATTRIBUTE_LIGHT
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
31400098
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c33700966.lua
View file @
11c6c560
...
...
@@ -48,6 +48,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp,chk)
e2
:
SetTargetRange
(
LOCATION_GRAVE
,
LOCATION_GRAVE
)
e2
:
SetCode
(
EFFECT_CHANGE_CODE
)
e2
:
SetValue
(
m
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
cm
.
xyzcheck
(
g
)
...
...
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