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
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
MyCard
pre-release-database-cdb
Commits
48ac7eb7
Commit
48ac7eb7
authored
Mar 10, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix K9-66b号 ランタン
parent
605b361c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
18 deletions
+19
-18
DBJH.cdb
DBJH.cdb
+0
-0
script/c100236033.lua
script/c100236033.lua
+19
-18
No files found.
DBJH.cdb
View file @
48ac7eb7
No preview for this file type
script/c100236033.lua
View file @
48ac7eb7
...
...
@@ -10,16 +10,16 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
ntcon
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
1
:
SetRange
(
LOCATION_HAND
)
e
1
:
SetCountLimit
(
1
,
id
)
e
1
:
SetTarget
(
s
.
sptg
)
e
1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
2
:
SetRange
(
LOCATION_HAND
)
e
2
:
SetCountLimit
(
1
,
id
)
e
2
:
SetTarget
(
s
.
sptg
)
e
2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
2
)
--tohand
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
...
...
@@ -37,7 +37,7 @@ function s.ntcon(e,c,minc)
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
c
:
GetControler
(),
0
,
LOCATION_HAND
,
2
,
nil
)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x2cb
)
and
c
:
IsLevel
(
5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x2cb
)
and
c
:
IsLevel
(
5
)
and
not
c
:
IsRace
(
RACE_PYRO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
@@ -54,28 +54,29 @@ end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
s
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
then
if
c
:
IsRelateToChain
()
and
tc
:
IsRelateToChain
()
and
aux
.
NecroValleyFilter
()(
tc
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
then
local
g
=
Group
.
FromCards
(
c
,
tc
)
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
for
t
c
in
aux
.
Next
(
g
)
do
for
s
c
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetValue
(
s
.
xyzlimit
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
sc
:
RegisterEffect
(
e1
,
true
)
sc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
id
,
3
))
end
end
end
end
function
s
.
xyzlimit
(
e
,
c
)
if
not
c
then
return
false
end
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
return
c
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x2cb
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
c
:
IsRace
(
RACE_AQUA
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x2cb
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
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