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
e116d6a8
Commit
e116d6a8
authored
Jul 25, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
80468fc6
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
87 additions
and
125 deletions
+87
-125
expansions/lflist.conf
expansions/lflist.conf
+10
-0
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/script/c12524002.lua
expansions/script/c12524002.lua
+1
-1
expansions/script/c12524003.lua
expansions/script/c12524003.lua
+3
-27
expansions/script/c12524004.lua
expansions/script/c12524004.lua
+4
-9
expansions/script/c12524007.lua
expansions/script/c12524007.lua
+4
-4
expansions/script/c12524008.lua
expansions/script/c12524008.lua
+1
-8
expansions/script/c12524009.lua
expansions/script/c12524009.lua
+4
-4
expansions/script/c12524010.lua
expansions/script/c12524010.lua
+41
-62
expansions/script/c15000113.lua
expansions/script/c15000113.lua
+1
-1
expansions/script/c70700007.lua
expansions/script/c70700007.lua
+1
-1
expansions/script/c70700010.lua
expansions/script/c70700010.lua
+1
-2
expansions/script/c79029520.lua
expansions/script/c79029520.lua
+1
-0
expansions/script/c79029521.lua
expansions/script/c79029521.lua
+1
-0
expansions/script/c79029525.lua
expansions/script/c79029525.lua
+1
-0
expansions/script/c79029532.lua
expansions/script/c79029532.lua
+1
-0
expansions/script/c79029534.lua
expansions/script/c79029534.lua
+1
-0
expansions/script/c79029561.lua
expansions/script/c79029561.lua
+1
-0
expansions/strings.conf
expansions/strings.conf
+10
-6
No files found.
expansions/lflist.conf
View file @
e116d6a8
...
...
@@ -428,6 +428,16 @@
30002065
0
30010000
0
30012000
0
#210725
12524006
0
22050190
0
22050360
0
70700013
0
79029521
0
79029525
0
12524005
1
12524007
1
70700015
1
#210718
33403503
0
33403508
0
...
...
expansions/no81.cdb
View file @
e116d6a8
No preview for this file type
expansions/script/c12524002.lua
View file @
e116d6a8
...
...
@@ -20,7 +20,7 @@ function c12524002.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x732
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x730
)
or
c
:
IsSetCard
(
0x732
)
)
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c12524003.lua
View file @
e116d6a8
...
...
@@ -39,18 +39,7 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
if
c
:
GetColumnGroup
():
GetCount
()
>=
2
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
e1
:
SetValue
(
TYPE_TUNER
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
if
tc
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x732
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -62,23 +51,10 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
0
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
0
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
Duel
.
BreakEffect
()
Duel
.
Damage
(
tp
,
0
,
REASON_EFFECT
)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
expansions/script/c12524004.lua
View file @
e116d6a8
...
...
@@ -7,7 +7,7 @@ function c12524004.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
12524004
0
)
e1
:
SetCountLimit
(
1
,
12524004
)
e1
:
SetTarget
(
c12524004
.
sptg
)
e1
:
SetOperation
(
c12524004
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -18,14 +18,13 @@ function c12524004.initial_effect(c)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
12524004
,
1
))
e6
:
SetCategory
(
CATEGORY_DRAW
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
F
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
O
)
e6
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e6
:
SetCode
(
EVENT_TO_GRAVE
)
e6
:
SetCountLimit
(
1
,
12524004
)
e6
:
SetTarget
(
c12524004
.
target
)
e6
:
SetOperation
(
c12524004
.
operation
)
c
:
RegisterEffect
(
e6
)
end
function
c12524004
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x732
)
and
not
c
:
IsCode
(
12524004
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
@@ -38,22 +37,18 @@ end
function
c12524004
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524004
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c12524004
.
spfilter
)
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c12524004
.
cfilter
(
c
)
return
true
end
function
c12524004
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
Is
ExistingMatchingCard
(
c12524004
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
Is
PlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c12524004
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
c12524004
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
return
end
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
expansions/script/c12524007.lua
View file @
e116d6a8
...
...
@@ -29,7 +29,7 @@ function c12524007.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c12524007
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c12524007
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c12524007
.
thfilter
)
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -41,13 +41,13 @@ end
function
c12524007
.
desfilter
(
c
)
return
c
:
IsFaceup
()
end
function
c12524007
.
thfilter
(
c
)
function
c12524007
.
thfilter
2
(
c
)
return
c
:
IsSetCard
(
0x732
)
and
c
:
IsAbleToHand
()
end
function
c12524007
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c12524007
.
desfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c12524007
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
c12524007
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
c12524007
.
thfilter
2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c12524007
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
@@ -58,7 +58,7 @@ function c12524007.desop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524007
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524007
.
thfilter
2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
expansions/script/c12524008.lua
View file @
e116d6a8
...
...
@@ -37,11 +37,6 @@ function c12524008.initial_effect(c)
e6
:
SetTarget
(
c12524008
.
sptg
)
e6
:
SetOperation
(
c12524008
.
spop
)
c
:
RegisterEffect
(
e6
)
--activate
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e8
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e8
)
--excavate
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetDescription
(
aux
.
Stringid
(
12524008
,
0
))
...
...
@@ -53,8 +48,6 @@ function c12524008.initial_effect(c)
e7
:
SetTarget
(
c12524008
.
thtg
)
e7
:
SetOperation
(
c12524008
.
thop
)
c
:
RegisterEffect
(
e7
)
end
function
c12524008
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x732
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -67,7 +60,7 @@ end
function
c12524008
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524008
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c12524008
.
spfilter
)
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
expansions/script/c12524009.lua
View file @
e116d6a8
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
--Activate(effect)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
NEGAT
E
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_
DISABL
E
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
...
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegat
able
(
ev
)
return
rp
~=
tp
and
Duel
.
IsChainDisabl
able
(
ev
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x732
)
and
c
:
IsDiscardable
()
...
...
@@ -32,13 +32,13 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
NEGAT
E
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
DISABL
E
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
Negate
Activation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
Negate
Effect
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c12524010.lua
View file @
e116d6a8
...
...
@@ -3,12 +3,6 @@ function c12524010.initial_effect(c)
--link summon
aux
.
AddLinkProcedure
(
c
,
c12524010
.
mfilter
,
1
,
1
)
c
:
EnableReviveLimit
()
--mat check
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e1
:
SetValue
(
c12524010
.
valcheck
)
c
:
RegisterEffect
(
e1
)
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -19,77 +13,62 @@ function c12524010.initial_effect(c)
e2
:
SetCondition
(
c12524010
.
thcon
)
e2
:
SetTarget
(
c12524010
.
thtg
)
e2
:
SetOperation
(
c12524010
.
thop
)
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
end
function
c12524010
.
mfilter
(
c
)
return
not
c
:
IsCode
(
12524010
)
and
c
:
IsSetCard
(
0x730
,
0x732
)
end
function
c12524010
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
op
=
0
local
tc
=
g
:
GetFirst
()
if
tc
:
IsSetCard
(
0x730
)
then
bit
.
bor
(
op
,
TYPE_MONSTER
)
end
if
tc
:
IsSetCard
(
0x732
)
then
bit
.
bor
(
op
,
TYPE_SPELL
)
end
e
:
SetLabel
(
op
)
return
not
c
:
IsCode
(
12524010
)
and
c
:
IsLinkSetCard
(
0x730
,
0x732
)
end
function
c12524010
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
e
:
GetHandler
():
GetMaterial
()
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
(
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x732
)
or
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x730
))
end
function
c12524010
.
thfilter1
(
c
)
return
c
:
IsSetCard
(
0x732
)
and
c
:
IsAbleToHand
()
end
function
c12524010
.
thfilter2
(
c
)
return
c
:
IsSetCard
(
0x730
)
and
c
:
IsAbleToHand
()
function
c12524010
.
thfilter
(
c
,
setname
)
return
c
:
IsSetCard
(
setname
)
and
c
:
IsAbleToHand
()
end
function
c12524010
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12524010
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
mg
=
e
:
GetHandler
():
GetMaterial
()
local
b1
=
Duel
.
IsExistingMatchingCard
(
c12524010
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x730
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c12524010
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x732
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
ct1
=
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x732
)
local
ct2
=
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x730
)
local
ct3
=
g
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x730
,
0x732
)
local
b1
=
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x730
)
and
ct1
>
0
local
b2
=
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x732
)
and
ct2
>
0
if
chk
==
0
then
return
b1
or
b2
end
if
b1
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
local
op
=
0
if
b1
and
b2
then
if
ct3
>
1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
12524010
,
0
),
aux
.
Stringid
(
12524010
,
1
),
aux
.
Stringid
(
12524010
,
2
))
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
12524010
,
0
),
aux
.
Stringid
(
12524010
,
1
))
end
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
12524010
,
0
))
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
12524010
,
1
))
+
1
end
if
b2
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
e
:
SetLabel
(
op
)
if
op
~=
2
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
else
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
end
function
c12524010
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
mg
=
e
:
GetHandler
():
GetMaterial
()
local
b1
=
Duel
.
IsExistingMatchingCard
(
c12524010
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x730
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c12524010
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x732
)
if
b1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524010
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
if
b2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524010
.
thfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
op
=
e
:
GetLabel
()
if
op
~=
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524010
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
0x732
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
if
op
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12524010
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
0x730
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
expansions/script/c15000113.lua
View file @
e116d6a8
...
...
@@ -88,7 +88,7 @@ function cm.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
stop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
stfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c70700007.lua
View file @
e116d6a8
...
...
@@ -31,6 +31,6 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
tg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
):
FilterCount
(
Card
.
IsCode
,
nil
,
m
)
>
0
then
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
nil
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
\ No newline at end of file
expansions/script/c70700010.lua
View file @
e116d6a8
...
...
@@ -14,7 +14,6 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetOperation
(
cm
.
changeop
)
e2
:
SetCountLimit
(
1
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
tgfilter
(
c
)
...
...
@@ -32,7 +31,6 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
changeop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
m
)
>
0
then
return
end
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_EVENT
+
RESET_CHAIN
,
0
,
1
)
local
ex_1
,
tg_1
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DESTROY
)
local
s1
=
(
ex_1
and
tg_1
~=
nil
and
tg_1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_MONSTER
))
local
ex_2
,
tg_2
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_REMOVE
)
...
...
@@ -41,6 +39,7 @@ function cm.changeop(e,tp,eg,ep,ev,re,r,rp)
local
s3
=
(
ex_3
and
tg_3
~=
nil
and
tg_3
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_MONSTER
))
if
not
(
s1
or
s2
or
s3
)
then
return
false
end
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
3
))
then
return
false
end
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
op
if
s1
then
if
s2
then
...
...
expansions/script/c79029520.lua
View file @
e116d6a8
...
...
@@ -40,6 +40,7 @@ function c79029520.initial_effect(c)
e6
:
SetCountLimit
(
1
)
c
:
RegisterEffect
(
e6
)
end
c79029520
.
xyz_number
=
62
function
c79029520
.
atkval
(
e
,
c
)
return
c
:
GetOverlayCount
()
*
500
end
...
...
expansions/script/c79029521.lua
View file @
e116d6a8
...
...
@@ -38,6 +38,7 @@ function c79029521.initial_effect(c)
e5
:
SetCode
(
EVENT_BECOME_TARGET
)
c
:
RegisterEffect
(
e5
)
end
c79029521
.
xyz_number
=
69
function
c79029521
.
effilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
...
...
expansions/script/c79029525.lua
View file @
e116d6a8
...
...
@@ -33,6 +33,7 @@ function c79029525.initial_effect(c)
e3
:
SetOperation
(
c79029525
.
op
)
c
:
RegisterEffect
(
e3
)
end
c79029525
.
xyz_number
=
65
function
c79029525
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetLabelObject
()
return
ec
==
nil
or
ec
:
GetFlagEffect
(
79029525
)
==
0
and
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
...
...
expansions/script/c79029532.lua
View file @
e116d6a8
...
...
@@ -61,6 +61,7 @@ function c79029532.initial_effect(c)
e8
:
SetOperation
(
c79029532
.
atkop
)
c
:
RegisterEffect
(
e8
)
end
c79029532
.
xyz_number
=
96
function
c79029532
.
target
(
e
,
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
end
...
...
expansions/script/c79029534.lua
View file @
e116d6a8
...
...
@@ -25,6 +25,7 @@ function c79029534.initial_effect(c)
e2
:
SetOperation
(
c79029534
.
dcop
)
c
:
RegisterEffect
(
e2
)
end
c79029534
.
xyz_number
=
39
function
c79029534
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
expansions/script/c79029561.lua
View file @
e116d6a8
...
...
@@ -65,6 +65,7 @@ function c79029561.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
c79029561
.
xyz_number
=
92
function
c79029561
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
...
...
expansions/strings.conf
View file @
e116d6a8
...
...
@@ -402,6 +402,7 @@
!
setname
0
x4902
维多利亚
Arknights
!
!
setname
0
x4903
炎国
Arknights
!
!
setname
0
x4904
彩虹小队
Arknights
!
!
setname
0
xa991
构造
!
setname
0
xa9e1
涩域拼图
!
setname
0
xa9f1
星壳
!
setname
0
x2048
CiNo
.
...
...
@@ -536,6 +537,11 @@
!
setname
0
xf3a
Silreticenty
(缄默城)
!
setname
0
xf3b
Deobra
(恶虺)
!
setname
0
x5f3c
Divicale
(神之鳞)
!
setname
0
xf3d
刻证兽
!
setname
0
x3f3d
春之刻证兽
!
setname
0
x5f3d
夏之刻证兽
!
setname
0
x6f3d
秋之刻证兽
!
setname
0
x9f3d
冬之刻证兽
!
counter
0
xf3
陨星指示物
!
counter
0
x1f35
龙鳞指示物
...
...
@@ -721,6 +727,10 @@
!
setname
0
x6a32
真典
!
setname
0
x623
TUB
#MEKK
!
setname
0
x730
圣印
!
setname
0
x732
六角之巅
#???
!
setname
0
x926
机巧人偶|非「机巧」 マシンドール
!
setname
0
x1925
人偶使 人形使い
...
...
@@ -728,9 +738,3 @@
!
setname
0
x930
舰队装姬
Kantai
Collection
!
setname
0
x940
深瞳明星
EyeDrops
!
setname
0
x941
折纸
!
setname
0
xa991
构造
!
setname
0
xf3d
刻证兽
!
setname
0
x3f3d
春之刻证兽
!
setname
0
x5f3d
夏之刻证兽
!
setname
0
x6f3d
秋之刻证兽
!
setname
0
x9f3d
冬之刻证兽
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