Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
1
Merge Requests
1
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
MyCard
pre-release-database-cdb
Commits
5e134407
Commit
5e134407
authored
Jan 26, 2026
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
7195ee99
Pipeline
#42733
passed with stages
in 6 minutes and 19 seconds
Changes
13
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
45 additions
and
37 deletions
+45
-37
BLZD.cdb
BLZD.cdb
+0
-0
pics/19144623.jpg
pics/19144623.jpg
+0
-0
script/c100256011.lua
script/c100256011.lua
+2
-0
script/c101304010.lua
script/c101304010.lua
+2
-5
script/c101304015.lua
script/c101304015.lua
+11
-3
script/c101304016.lua
script/c101304016.lua
+5
-5
script/c101304019.lua
script/c101304019.lua
+10
-10
script/c101304020.lua
script/c101304020.lua
+1
-1
script/c101304021.lua
script/c101304021.lua
+1
-0
script/c101304033.lua
script/c101304033.lua
+5
-5
script/c101304034.lua
script/c101304034.lua
+2
-2
script/c101304063.lua
script/c101304063.lua
+4
-4
script/c101304064.lua
script/c101304064.lua
+2
-2
No files found.
BLZD.cdb
View file @
5e134407
No preview for this file type
pics/1
01304116
.jpg
→
pics/1
9144623
.jpg
View file @
5e134407
File moved
script/c100256011.lua
View file @
5e134407
...
@@ -72,6 +72,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,6 +72,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_XYZ_LEVEL
)
e1
:
SetCode
(
EFFECT_XYZ_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
s
.
xyzlv
)
e1
:
SetValue
(
s
.
xyzlv
)
e1
:
SetLabel
(
c
:
GetLevel
())
e1
:
SetLabel
(
c
:
GetLevel
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
@@ -81,6 +82,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,6 +82,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_XYZ_LEVEL
)
e2
:
SetCode
(
EFFECT_XYZ_LEVEL
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
s
.
xyzlv
)
e2
:
SetValue
(
s
.
xyzlv
)
e2
:
SetLabel
(
tc
:
GetLevel
())
e2
:
SetLabel
(
tc
:
GetLevel
())
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
script/c101304010.lua
View file @
5e134407
...
@@ -10,7 +10,7 @@ function s.initial_effect(c)
...
@@ -10,7 +10,7 @@ function s.initial_effect(c)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--s
pecial summon
--s
elf destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_ATKCHANGE
)
...
@@ -80,20 +80,17 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -80,20 +80,17 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
)
elseif
op
==
2
then
elseif
op
==
2
then
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
e
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_ATKCHANGE
)
e
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_ATKCHANGE
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
and
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
>
0
then
if
c
:
IsRelateToChain
()
and
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
>
0
then
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
spfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
spfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
script/c101304015.lua
View file @
5e134407
--道化の一座 ホワイトフェイス
--道化の一座 ホワイトフェイス
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
CATEGORY_MSET
=
0x100000000
--包含盖放怪兽的效果
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--summon with 1 tribute
--summon with 1 tribute
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -25,7 +26,7 @@ function s.initial_effect(c)
...
@@ -25,7 +26,7 @@ function s.initial_effect(c)
--summon
--summon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetCategory
(
CATEGORY_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SUMMON
+
CATEGORY_MSET
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
...
@@ -90,6 +91,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,6 +91,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
if
op
==
1
then
if
op
==
1
then
Duel
.
Draw
(
tp
,
ct
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
ct
,
REASON_EFFECT
)
elseif
op
==
2
then
elseif
op
==
2
then
if
not
Duel
.
IsExistingMatchingCard
(
aux
.
NegateAnyFilter
,
tp
,
0
,
LOCATION_ONFIELD
,
ct
,
nil
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NegateAnyFilter
,
tp
,
0
,
LOCATION_ONFIELD
,
ct
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NegateAnyFilter
,
tp
,
0
,
LOCATION_ONFIELD
,
ct
,
ct
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
@@ -125,7 +127,7 @@ function s.sumcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -125,7 +127,7 @@ function s.sumcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
Duel
.
IsMainPhase
()
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
Duel
.
IsMainPhase
()
end
end
function
s
.
sumfilter
(
c
)
function
s
.
sumfilter
(
c
)
return
c
:
IsSummonable
(
true
,
nil
,
1
)
return
c
:
IsSummonable
(
true
,
nil
,
1
)
or
c
:
IsMSetable
(
true
,
nil
,
1
)
end
end
function
s
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
@@ -136,6 +138,12 @@ function s.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -136,6 +138,12 @@ function s.sumop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
Summon
(
tp
,
tc
,
true
,
nil
,
1
)
local
s1
=
tc
:
IsSummonable
(
true
,
nil
,
1
)
local
s2
=
tc
:
IsMSetable
(
true
,
nil
,
1
)
if
(
s1
and
s2
and
Duel
.
SelectPosition
(
tp
,
tc
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
==
POS_FACEUP_ATTACK
)
or
not
s2
then
Duel
.
Summon
(
tp
,
tc
,
true
,
nil
,
1
)
else
Duel
.
MSet
(
tp
,
tc
,
true
,
nil
,
1
)
end
end
end
end
end
script/c101304016.lua
View file @
5e134407
--妖精伝姫-マチリル
--妖精伝姫-マチリル
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
91957038
,
id
+
o
)
aux
.
AddCodeList
(
c
,
91957038
,
19144623
)
--special suoomn
--special suoomn
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
@@ -51,7 +51,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,7 +51,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
then
if
c
:
IsRelateToChain
()
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
@@ -86,7 +86,7 @@ function s.codecost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -86,7 +86,7 @@ function s.codecost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
end
function
s
.
codefilter
(
c
)
function
s
.
codefilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsCode
(
id
+
o
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsCode
(
19144623
)
end
end
function
s
.
codetg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
codetg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
codefilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
codefilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
...
@@ -96,15 +96,15 @@ function s.codeop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,15 +96,15 @@ function s.codeop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
codefilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
codefilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
HintSelection
(
g
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
id
+
o
)
e1
:
SetValue
(
19144623
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
script/c101304019.lua
View file @
5e134407
...
@@ -132,7 +132,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -132,7 +132,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
e
:
GetHandler
():
IsFacedown
()
return
ep
~=
tp
and
e
:
GetHandler
():
IsFacedown
()
and
(
CATEGORY_MSET
and
re
:
IsHasCategory
(
CATEGORY_MSET
)
or
CATEGORY_SSET
and
re
:
IsHasCategory
(
CATEGORY_SSET
))
and
(
re
:
IsHasCategory
(
CATEGORY_MSET
)
or
re
:
IsHasCategory
(
CATEGORY_SSET
))
end
end
function
s
.
thcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -163,20 +163,20 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -163,20 +163,20 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
local
d
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
if
g
:
GetCount
()
>
0
then
if
d
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
d
g
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Destroy
(
d
g
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
s
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
if
g
:
GetCount
()
>
0
then
if
s
g
:
GetCount
()
>
0
then
local
sc
=
g
:
GetFirst
()
local
sc
=
s
g
:
GetFirst
()
local
hint
=
sc
:
IsPublic
()
local
hint
=
sc
:
IsPublic
()
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
Duel
.
SpecialSummon
(
s
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
hint
then
if
hint
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
s
g
)
end
end
end
end
end
end
...
...
script/c101304020.lua
View file @
5e134407
...
@@ -145,7 +145,7 @@ function s.negcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -145,7 +145,7 @@ function s.negcon(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
rp
~=
1
-
tp
then
return
false
end
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
rp
~=
1
-
tp
then
return
false
end
if
not
c
:
IsFacedown
()
then
return
false
end
if
not
c
:
IsFacedown
()
then
return
false
end
for
i
=
1
,
ev
do
for
i
=
1
,
ev
do
local
t
e
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
t
gp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_PLAYER
)
if
tgp
~=
tp
and
Duel
.
IsChainNegatable
(
i
)
then
if
tgp
~=
tp
and
Duel
.
IsChainNegatable
(
i
)
then
return
Duel
.
GetCurrentChain
()
>
2
return
Duel
.
GetCurrentChain
()
>
2
end
end
...
...
script/c101304021.lua
View file @
5e134407
...
@@ -24,6 +24,7 @@ function s.initial_effect(c)
...
@@ -24,6 +24,7 @@ function s.initial_effect(c)
--Material Effect
--Material Effect
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BE_MATERIAL
)
e3
:
SetCode
(
EVENT_BE_MATERIAL
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
script/c101304033.lua
View file @
5e134407
--妖精伝姫を紡ぐ者
--妖精伝姫を紡ぐ者
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1
01304116
)
aux
.
AddCodeList
(
c
,
1
9144623
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x2db
),
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_SPELLCASTER
),
true
)
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x2db
),
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_SPELLCASTER
),
true
)
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
e4
:
SetCode
(
EFFECT_CHANGE_RACE
)
e4
:
SetCode
(
EFFECT_CHANGE_RACE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e4
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
1
01304116
))
e4
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
1
9144623
))
e4
:
SetValue
(
RACE_SPELLCASTER
)
e4
:
SetValue
(
RACE_SPELLCASTER
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
@@ -64,7 +64,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
end
end
function
s
.
disfilter
(
c
)
function
s
.
disfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
(
aux
.
NegateEffectMonsterFilter
(
c
)
or
not
c
:
IsCode
(
1
01304116
))
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
(
aux
.
NegateEffectMonsterFilter
(
c
)
or
not
c
:
IsCode
(
1
9144623
))
end
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
disfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
disfilter
(
chkc
)
end
...
@@ -76,7 +76,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +76,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToChain
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToChain
()
and
(
tc
:
IsCanBeDisabledByEffect
(
e
)
or
not
tc
:
IsCode
(
1
01304116
))
then
and
(
tc
:
IsCanBeDisabledByEffect
(
e
)
or
not
tc
:
IsCode
(
1
9144623
))
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -96,7 +96,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,7 +96,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EFFECT_CHANGE_CODE
)
e3
:
SetCode
(
EFFECT_CHANGE_CODE
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetValue
(
1
01304116
)
e3
:
SetValue
(
1
9144623
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
end
end
end
end
script/c101304034.lua
View file @
5e134407
--妖精伝姫を語る者
--妖精伝姫を語る者
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1
01304116
)
aux
.
AddCodeList
(
c
,
1
9144623
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFun2
(
c
,
s
.
mfilter
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_SPELLCASTER
),
true
)
aux
.
AddFusionProcFun2
(
c
,
s
.
mfilter
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_SPELLCASTER
),
true
)
...
@@ -70,7 +70,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
valcheck
(
e
,
c
)
function
s
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsFusionCode
,
1
,
nil
,
1
01304116
)
then
if
g
:
IsExists
(
Card
.
IsFusionCode
,
1
,
nil
,
1
9144623
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
e
:
GetLabelObject
():
SetLabel
(
1
)
else
else
e
:
GetLabelObject
():
SetLabel
(
0
)
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
script/c101304063.lua
View file @
5e134407
--妖精伝姫の舞踏会
--妖精伝姫の舞踏会
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
91957038
,
1
01304116
)
aux
.
AddCodeList
(
c
,
91957038
,
1
9144623
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
@@ -48,7 +48,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
-
tp
)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
-
tp
)
end
end
function
s
.
disfilter
(
c
)
function
s
.
disfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
(
aux
.
NegateEffectMonsterFilter
(
c
)
or
not
c
:
IsCode
(
1
01304116
))
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
(
aux
.
NegateEffectMonsterFilter
(
c
)
or
not
c
:
IsCode
(
1
9144623
))
end
end
function
s
.
mfilter
(
c
)
function
s
.
mfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x2db
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x2db
)
...
@@ -64,7 +64,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToChain
()
and
tc
:
IsType
(
TYPE_MONSTER
)
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToChain
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
(
tc
:
IsCanBeDisabledByEffect
(
e
)
or
not
tc
:
IsCode
(
1
01304116
))
then
and
(
tc
:
IsCanBeDisabledByEffect
(
e
)
or
not
tc
:
IsCode
(
1
9144623
))
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -84,7 +84,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EFFECT_CHANGE_CODE
)
e3
:
SetCode
(
EFFECT_CHANGE_CODE
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetValue
(
1
01304116
)
e3
:
SetValue
(
1
9144623
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
end
end
end
end
script/c101304064.lua
View file @
5e134407
--テールズオブ妖精伝姫
--テールズオブ妖精伝姫
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1
01304116
)
aux
.
AddCodeList
(
c
,
1
9144623
)
aux
.
AddEquipSpellEffect
(
c
,
true
,
true
,
Card
.
IsFaceup
,
nil
)
aux
.
AddEquipSpellEffect
(
c
,
true
,
true
,
Card
.
IsFaceup
,
nil
)
--Atk up
--Atk up
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
...
@@ -31,7 +31,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
filter0
(
c
)
function
s
.
filter0
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
1
01304116
)
and
c
:
IsCanBeFusionMaterial
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
1
9144623
)
and
c
:
IsCanBeFusionMaterial
()
end
end
function
s
.
filter1
(
c
,
e
)
function
s
.
filter1
(
c
,
e
)
return
c
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
and
not
c
:
IsImmuneToEffect
(
e
)
...
...
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