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
28e4c93a
Commit
28e4c93a
authored
Aug 04, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
20e8698e
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
26 additions
and
22 deletions
+26
-22
script/c101302057.lua
script/c101302057.lua
+11
-6
script/c101302058.lua
script/c101302058.lua
+2
-2
script/c101302059.lua
script/c101302059.lua
+0
-1
script/c101302060.lua
script/c101302060.lua
+1
-0
script/c101302063.lua
script/c101302063.lua
+1
-1
script/c101302064.lua
script/c101302064.lua
+1
-1
script/c101302065.lua
script/c101302065.lua
+3
-3
script/c101302066.lua
script/c101302066.lua
+1
-0
script/c101302067.lua
script/c101302067.lua
+1
-1
script/c101302068.lua
script/c101302068.lua
+3
-5
script/c101302069.lua
script/c101302069.lua
+2
-2
No files found.
script/c101302057.lua
View file @
28e4c93a
...
...
@@ -29,23 +29,28 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
cfilter
(
c
,
e
,
tp
)
function
s
.
cfilter
(
c
,
e
,
tp
,
chk
)
return
c
:
IsSetCard
(
0x2d3
)
and
c
:
IsFaceupEx
()
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
(
not
chk
or
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
,
chk
)
)
end
function
s
.
thfilter
(
c
,
e
,
tp
,
ec
)
return
c
:
IsSetCard
(
0x2d3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToHand
()
or
(
Duel
.
GetMZoneCount
(
tp
,
ec
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
(),
e
,
tp
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
,
true
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
(),
e
,
tp
,
true
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dg
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
e
,
tp
)
if
dg
:
GetCount
()
>
0
then
if
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
,
e
,
tp
,
true
)
then
dg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
e
,
tp
,
true
)
else
dg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
e
,
tp
,
false
)
end
if
dg
and
dg
:
GetCount
()
>
0
then
local
fg
=
dg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_ONFIELD
)
if
fg
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
fg
)
...
...
script/c101302058.lua
View file @
28e4c93a
...
...
@@ -34,11 +34,11 @@ function s.initial_effect(c)
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetCategory
(
CATEGORY_D
ISABL
E
)
e4
:
SetCategory
(
CATEGORY_D
ESTROY
+
CATEGORY_ATKCHANG
E
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetTarget
(
s
.
atktg
)
...
...
script/c101302059.lua
View file @
28e4c93a
...
...
@@ -56,7 +56,6 @@ function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e
:
SetLabel
(
Duel
.
AnnounceLevel
(
tp
,
1
,
10
,
lv
))
end
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToChain
()
and
not
tc
:
IsLevel
(
e
:
GetLabel
())
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c101302060.lua
View file @
28e4c93a
...
...
@@ -4,6 +4,7 @@ function s.initial_effect(c)
aux
.
AddCodeList
(
c
,
74733322
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
script/c101302063.lua
View file @
28e4c93a
...
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
TIMING_DRAW_PHASE
,
TIMING_DRAW_PHASE
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
script/c101302064.lua
View file @
28e4c93a
...
...
@@ -9,7 +9,7 @@ function s.initial_effect(c)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
--
set
--
place
local
custom_code
=
aux
.
RegisterMergedDelayedEvent_ToSingleCard
(
c
,
id
,
EVENT_DESTROYED
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
...
...
script/c101302065.lua
View file @
28e4c93a
...
...
@@ -85,11 +85,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsExistingMatchingCard
(
s
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
ft
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
4
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
local
s
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
ft
,
nil
,
e
,
tp
)
if
s
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
ShuffleHand
(
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
s
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
...
...
script/c101302066.lua
View file @
28e4c93a
...
...
@@ -98,6 +98,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetLabel
()
==
1
then
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
if
Duel
.
Draw
(
p
,
2
,
REASON_EFFECT
)
==
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
dg
=
Duel
.
SelectMatchingCard
(
p
,
Card
.
IsDiscardable
,
p
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
REASON_EFFECT
+
REASON_DISCARD
)
if
dg
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
...
...
script/c101302067.lua
View file @
28e4c93a
...
...
@@ -76,7 +76,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
rg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
,
e
,
tp
)
and
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_T
ARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_T
OGRAVE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
2
,
e
,
tp
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
sg
,
2
,
0
,
0
)
...
...
script/c101302068.lua
View file @
28e4c93a
...
...
@@ -33,7 +33,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
tg
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
_
,
maxlink
=
tg
:
GetMaxGroup
(
Card
.
GetLink
)
local
b2
=#
tg
>
0
and
cg
:
CheckSubGroup
(
s
.
fselect
,
1
,
maxlink
,
tg
)
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
and
e
:
IsCostChecked
()
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
0
if
b1
or
b2
then
...
...
@@ -49,10 +49,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
op
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
elseif
op
==
2
then
if
e
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
cg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
1
,
maxlink
,
tg
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_COST
)
...
...
script/c101302069.lua
View file @
28e4c93a
...
...
@@ -37,16 +37,16 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
e
:
IsCostChecked
()
then
e
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_SPECIAL_SUMMON
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SEARCH
+
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SEARCH
+
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
elseif
op
==
2
then
if
e
:
IsCostChecked
()
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
s
.
costfilter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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