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
4fb5d1f3
Commit
4fb5d1f3
authored
Dec 21, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
6e979463
Pipeline
#42069
failed with stages
in 2 minutes and 33 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
60 deletions
+51
-60
script/c101304005.lua
script/c101304005.lua
+1
-2
script/c101304009.lua
script/c101304009.lua
+1
-1
script/c101304031.lua
script/c101304031.lua
+1
-1
script/c101304053.lua
script/c101304053.lua
+48
-56
No files found.
script/c101304005.lua
View file @
4fb5d1f3
...
...
@@ -30,9 +30,8 @@ function s.initial_effect(c)
--addattack
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e4
:
SetCategory
(
CATEGORY_TOGRAVE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCode
(
EVENT_BE_MATERIAL
)
e4
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e4
:
SetCondition
(
s
.
atkcon
)
...
...
script/c101304009.lua
View file @
4fb5d1f3
...
...
@@ -71,7 +71,7 @@ end
function
s
.
effop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
e
:
GetLabel
()
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
0x1041
,
1
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanAddCounter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
0x1041
,
1
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
HintSelection
(
g
)
...
...
script/c101304031.lua
View file @
4fb5d1f3
...
...
@@ -87,7 +87,7 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
sg
=
g
:
Clone
()
Duel
.
SetTargetCard
(
sg
)
else
Duel
.
Hint
(
HINT
MSG_DESTROY
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT
_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
sg
=
Duel
.
SelectTarget
(
tp
,
aux
.
IsInGroup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
g
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
sg
,
1
,
0
,
0
)
...
...
script/c101304053.lua
View file @
4fb5d1f3
...
...
@@ -5,50 +5,56 @@ function s.initial_effect(c)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DISABLE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
+
TIMING_CHAIN_END
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e2
:
SetCondition
(
s
.
discon
)
e2
:
SetTarget
(
s
.
distg
)
e2
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
1
,
1
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rg
=
g
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
false
,
1
,
1
,
tp
)
aux
.
UseExtraReleaseCount
(
rg
,
tp
)
Duel
.
Release
(
rg
,
REASON_COST
)
function
s
.
resfilter
(
c
,
e
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
c
,
e
,
tp
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
s
.
filter
(
c
,
e
,
tp
)
return
(
c
:
IsCode
(
60800381
)
or
aux
.
IsCodeListed
(
c
,
60800381
)
or
c
:
IsCode
(
44508094
)
or
aux
.
IsCodeListed
(
c
,
44508094
))
return
(
aux
.
IsCodeOrListed
(
c
,
60800381
)
or
aux
.
IsCodeOrListed
(
c
,
44508094
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
)
local
b1
=
Duel
.
CheckReleaseGroup
(
tp
,
s
.
resfilter
,
1
,
nil
,
e
,
tp
)
local
ch
=
Duel
.
GetCurrentChain
()
local
b2
=
false
if
e
:
GetHandler
():
IsStatus
(
STATUS_CHAINING
)
then
ch
=
ch
-
1
end
local
tse
=
nil
if
ch
>
1
then
local
se
,
p
=
Duel
.
GetChainInfo
(
ch
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
tse
=
Duel
.
GetChainInfo
(
ch
,
CHAININFO_TRIGGERING_EFFECT
)
local
tep
=
Duel
.
GetChainInfo
(
ch
,
CHAININFO_TRIGGERING_PLAYER
)
b2
=
se
and
se
:
GetHandler
():
IsType
(
TYPE_SYNCHRO
)
and
se
:
IsActiveType
(
TYPE_MONSTER
)
and
p
==
tp
and
tep
==
1
-
tp
and
Duel
.
IsChainDisablable
(
ev
)
end
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
id
,
1
),
1
},
{
b2
,
aux
.
Stringid
(
id
,
2
),
2
})
e
:
SetLabel
(
op
)
if
op
==
1
then
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
s
.
resfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabelObject
(
g
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
)
elseif
op
==
2
then
e
:
SetCategory
(
CATEGORY_DISABLE
)
if
tse
then
local
og
=
Group
.
FromCards
(
tse
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
og
,
1
,
0
,
0
)
end
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
--splimit
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
...
@@ -57,34 +63,20 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetTarget
(
s
.
splimit
)
e0
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e0
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_DECK
+
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
)
local
op
=
e
:
GetLabel
()
if
op
==
1
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
rcg
=
e
:
GetLabelObject
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
rcg
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
elseif
op
==
2
then
local
ch
=
Duel
.
GetCurrentChain
()
Duel
.
NegateEffect
(
ch
-
1
)
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsChainDisablable
(
ev
)
then
return
false
end
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
return
te
and
te
:
GetHandler
():
IsType
(
TYPE_SYNCHRO
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
and
p
==
tp
and
rp
==
1
-
tp
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--splimit
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e0
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e0
:
SetTargetRange
(
1
,
0
)
e0
:
SetTarget
(
s
.
splimit
)
e0
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e0
,
tp
)
Duel
.
NegateEffect
(
ev
)
end
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
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