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
Vury Leo
pre-release-database-cdb
Commits
7fa46329
Commit
7fa46329
authored
Feb 09, 2026
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support to WP+Goddess
parent
03478237
Pipeline
#42963
failed with stages
in 3 minutes and 27 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
179 additions
and
15 deletions
+179
-15
script/c100201001.lua
script/c100201001.lua
+27
-15
script/c98127546.lua
script/c98127546.lua
+152
-0
test-update.cdb
test-update.cdb
+0
-0
No files found.
script/c100201001.lua
View file @
7fa46329
...
...
@@ -82,7 +82,6 @@ end
function
s
.
lktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
fid
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
le
=
Effect
.
CreateEffect
(
c
)
le
:
SetType
(
EFFECT_TYPE_FIELD
)
le
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
...
...
@@ -106,7 +105,6 @@ function s.lkop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
and
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
then
local
fid
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
le
=
Effect
.
CreateEffect
(
c
)
le
:
SetType
(
EFFECT_TYPE_FIELD
)
le
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
...
...
@@ -125,19 +123,33 @@ function s.lkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
LinkSummon
(
tp
,
tc
,
nil
)
end
end
function
s
.
exmatcheck
(
c
,
lc
,
tp
)
if
not
c
:
IsControler
(
1
-
tp
)
then
return
false
end
local
le
=
{
c
:
IsHasEffect
(
EFFECT_EXTRA_LINK_MATERIAL
,
tp
)}
for
_
,
te
in
pairs
(
le
)
do
local
f
=
te
:
GetValue
()
local
related
,
valid
=
f
(
te
,
lc
,
nil
,
c
,
tp
)
if
related
and
not
te
:
GetHandler
():
IsCode
(
id
)
then
return
false
end
end
return
true
end
function
s
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
local
ct
=
e
:
GetLabelObject
()
local
wp
=
e
:
GetLabelObject
()
local
fid
=
e
:
GetLabel
()
if
ct
:
GetFlagEffectLabel
(
id
)
~=
fid
then
return
false
,
nil
end
return
true
,
not
mg
or
mg
:
IsContains
(
ct
)
and
mg
:
IsContains
(
e
:
GetHandler
())
and
not
mg
:
IsExists
(
s
.
exmatcheck
,
1
,
nil
,
lc
,
tp
)
if
wp
:
GetFieldID
()
~=
fid
then
return
false
,
nil
end
-- W:Pファンシーボール only relates to opponent face-up Link<=2
if
not
s
.
wp_eligible_opp_link2
(
c
,
tp
)
then
return
false
,
nil
end
-- W:Pファンシーボール must actually be used in the material group
if
not
mg
or
not
mg
:
IsContains
(
wp
)
then
return
true
,
false
end
-- Explicit: W:Pファンシーボール provides at most ONE opponent Link<=2.
-- If mg already contains another opponent Link<=2 (besides this candidate), W:Pファンシーボール will not provide it.
if
mg
:
IsExists
(
function
(
mc
)
return
mc
~=
c
and
s
.
wp_eligible_opp_link2
(
mc
,
tp
)
end
,
1
,
nil
)
then
return
true
,
false
end
return
true
,
true
end
function
s
.
wp_eligible_opp_link2
(
c
,
tp
)
return
c
:
IsControler
(
1
-
tp
)
and
c
:
IsFaceup
()
and
c
:
IsLinkBelow
(
2
)
end
script/c98127546.lua
0 → 100644
View file @
7fa46329
--閉ザサレシ世界ノ冥神
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_EFFECT
),
4
)
c
:
EnableReviveLimit
()
--extra material
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetValue
(
s
.
matval
)
c
:
RegisterEffect
(
e1
)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
s
.
discon
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e2
)
--immune
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCondition
(
s
.
immcon
)
e3
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e3
)
--negate
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetCategory
(
CATEGORY_NEGATE
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
s
.
negcon
)
e4
:
SetTarget
(
s
.
negtg
)
e4
:
SetOperation
(
s
.
negop
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
is_external_exmat
(
c
,
lc
,
mg
,
tp
)
local
le
=
{
c
:
IsHasEffect
(
EFFECT_EXTRA_LINK_MATERIAL
,
tp
)}
for
_
,
te
in
ipairs
(
le
)
do
local
h
=
te
:
GetHandler
()
-- external = any ex-mat effect not created by 閉ザサレシ世界ノ冥神 herself
if
h
and
not
h
:
IsCode
(
id
)
then
local
f
=
te
:
GetValue
()
if
f
then
local
related
,
valid
=
f
(
te
,
lc
,
mg
,
c
,
tp
)
if
related
and
valid
~=
false
then
return
true
end
end
end
end
return
false
end
function
s
.
count_goddess_opp
(
mg
,
lc
,
tp
)
return
mg
:
FilterCount
(
function
(
mc
)
return
mc
:
IsControler
(
1
-
tp
)
and
not
s
.
is_external_exmat
(
mc
,
lc
,
mg
,
tp
)
end
,
nil
)
end
function
s
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
-- Only while Link Summoning this card
if
e
:
GetHandler
()
~=
lc
then
return
false
,
nil
end
-- 閉ザサレシ世界ノ冥神 only concerns opponent monsters
if
not
c
:
IsControler
(
1
-
tp
)
then
return
false
,
nil
end
-- related=true
if
not
mg
then
return
true
,
true
end
-- If this opponent monster is already permitted by some OTHER ex-mat effect,
-- 閉ザサレシ世界ノ冥神 should not block it and should not count it as "her 1".
if
s
.
is_external_exmat
(
c
,
lc
,
mg
,
tp
)
then
return
true
,
true
end
-- Otherwise this would be "via 閉ザサレシ世界ノ冥神": allow at most one such opponent monster.
if
s
.
count_goddess_opp
(
mg
,
lc
,
tp
)
>=
1
then
return
true
,
false
end
return
true
,
true
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NegateMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NegateMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NegateMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetValue
(
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
end
end
function
s
.
immcon
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
s
.
efilter
(
e
,
te
)
if
te
:
GetOwnerPlayer
()
==
e
:
GetHandlerPlayer
()
or
not
te
:
IsActivated
()
then
return
false
end
if
not
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
true
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
return
not
g
or
not
g
:
IsContains
(
e
:
GetHandler
())
end
function
s
.
cfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex
,
g
,
gc
,
dp
,
dv
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_SPECIAL_SUMMON
)
return
Duel
.
IsChainNegatable
(
ev
)
and
rp
==
1
-
tp
and
(
ex
and
(
dv
&
LOCATION_GRAVE
==
LOCATION_GRAVE
or
g
and
g
:
IsExists
(
s
.
cfilter
,
1
,
nil
))
or
re
:
IsHasCategory
(
CATEGORY_GRAVE_SPSUMMON
))
end
function
s
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
end
test-update.cdb
View file @
7fa46329
No preview for this file type
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