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
8af94f87
Commit
8af94f87
authored
Oct 11, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
d0c15b5f
Pipeline
#30349
passed with stages
in 1 minute and 30 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
37 deletions
+47
-37
SUDA.cdb
SUDA.cdb
+0
-0
script/c101206082.lua
script/c101206082.lua
+13
-13
script/c101207009.lua
script/c101207009.lua
+6
-6
script/c101207035.lua
script/c101207035.lua
+17
-11
script/c101207036.lua
script/c101207036.lua
+2
-1
script/c101207044.lua
script/c101207044.lua
+9
-6
No files found.
SUDA.cdb
View file @
8af94f87
No preview for this file type
script/c101206082.lua
View file @
8af94f87
...
...
@@ -13,19 +13,19 @@ function s.initial_effect(c)
e1
:
SetValue
(
aux
.
indoval
)
c
:
RegisterEffect
(
e1
)
--remove
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
1
:
SetCategory
(
CATEGORY_REMOVE
)
e
1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
1
:
SetCode
(
EVENT_FREE_CHAIN
)
e
1
:
SetCountLimit
(
1
,
id
)
e
1
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e
1
:
SetCondition
(
s
.
descon
)
e
1
:
SetTarget
(
s
.
destg
)
e
1
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
2
:
SetCategory
(
CATEGORY_REMOVE
)
e
2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
2
:
SetCode
(
EVENT_FREE_CHAIN
)
e
2
:
SetCountLimit
(
1
,
id
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e
2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e
2
:
SetCondition
(
s
.
descon
)
e
2
:
SetTarget
(
s
.
destg
)
e
2
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e
2
)
end
function
s
.
matfilter
(
c
)
return
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsLevelAbove
(
5
)
...
...
script/c101207009.lua
View file @
8af94f87
...
...
@@ -22,8 +22,8 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TOHAND
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e3
:
SetProperty
(
EFFECT_FLAG_
PLAYER
_TARGET
)
e3
:
SetRange
(
LOCATION_
S
ZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_
CARD
_TARGET
)
e3
:
SetRange
(
LOCATION_
M
ZONE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
thcon
)
e3
:
SetTarget
(
s
.
thtg
)
...
...
@@ -49,13 +49,13 @@ end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
eg
:
GetFirst
()
return
rc
:
IsRelateToBattle
()
and
rc
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
rc
:
IsControler
(
tp
)
and
rc
:
IsFaceup
()
and
rc
:
IsSetCard
(
0x1bc
,
0x1b1
)
and
rc
:
Is
Location
(
LOCATION_MZONE
)
and
rc
:
Is
Faceup
()
and
rc
:
IsSetCard
(
0x1bc
,
0x1b1
)
end
function
s
.
thfilter
(
c
)
return
c
:
Is
Code
(
0x19e
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
Is
SetCard
(
0x19e
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
th
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
...
...
@@ -63,7 +63,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c101207035.lua
View file @
8af94f87
...
...
@@ -31,21 +31,24 @@ end
function
s
.
mfilter2
(
c
)
return
c
:
IsRace
(
RACE_ILLUSION
)
end
function
s
.
sprfilter
(
c
,
tp
,
sc
)
function
s
.
sprfilter
(
c
)
return
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
and
c
:
IsFaceup
()
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
end
function
s
.
sgchk
(
g
,
tp
,
sc
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
end
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
sprfilter
,
tp
,
LOCATION_SZONE
,
0
,
e
:
GetHandler
())
return
g
:
CheckSubGroup
(
function
(
g
,
tp
,
sc
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
end
,
2
,
2
,
tp
,
c
)
return
g
:
CheckSubGroup
(
s
.
sgchk
,
2
,
2
,
tp
,
c
)
end
function
s
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
t
p
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
sprfilter
,
t
p
,
LOCATION_SZONE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
t
p
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
function
(
g
,
tp
,
sc
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
end
,
true
,
2
,
2
,
t
p
,
c
)
local
c
p
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
sprfilter
,
c
p
,
LOCATION_SZONE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
c
p
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
SelectSubGroup
(
cp
,
s
.
sgchk
,
true
,
2
,
2
,
c
p
,
c
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
@@ -59,19 +62,22 @@ function s.hspop(e,tp,eg,ep,ev,re,r,rp,c)
end
function
s
.
mvfilter
(
c
,
tp
)
local
r
=
LOCATION_REASON_TOFIELD
if
not
c
:
IsControler
(
c
:
GetOwner
())
then
r
=
LOCATION_REASON_CONTROL
end
if
not
c
:
IsControler
(
c
:
GetOwner
())
then
if
not
c
:
IsAbleToChangeControler
()
then
return
false
end
r
=
LOCATION_REASON_CONTROL
end
return
c
:
IsFaceup
()
and
Duel
.
GetLocationCount
(
c
:
GetOwner
(),
LOCATION_SZONE
,
tp
,
r
)
>
0
end
function
s
.
mvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
mvfilter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
mvfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
TARGET
)
local
g
=
aux
.
SelectTargetFromFieldFirs
t
(
tp
,
s
.
mvfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
FACEUP
)
Duel
.
SelectTarge
t
(
tp
,
s
.
mvfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
end
function
s
.
mvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
not
tc
:
IsImmuneToEffect
(
e
)
and
Duel
.
MoveToField
(
tc
,
tp
,
tc
:
GetOwner
(),
LOCATION_SZONE
,
POS_FACEUP
,
true
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
...
...
script/c101207036.lua
View file @
8af94f87
...
...
@@ -27,6 +27,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetCondition
(
s
.
spcon
)
...
...
@@ -64,7 +65,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
spfilter
)
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
script/c101207044.lua
View file @
8af94f87
...
...
@@ -36,7 +36,7 @@ function s.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xac
)
end
function
s
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
mtfilter
(
chkc
)
end
if
chk
==
0
then
return
ct
>
0
and
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
1
,
REASON_EFFECT
)
...
...
@@ -44,12 +44,15 @@ function s.mttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
SelectTarget
(
tp
,
s
.
mtfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
ct
,
e
:
GetHandler
())
end
function
s
.
mtopfilter
(
c
,
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
s
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
1
,
1
,
REASON_EFFECT
)
==
0
then
return
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
g
:
Filter
(
aux
.
AND
(
Card
.
IsRelateToEffect
,
aux
.
NOT
(
Card
.
IsImmuneToEffect
)),
nil
,
e
)
if
c
:
IsRelateToEffect
(
e
)
then
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
g
:
Filter
(
s
.
mtopfilter
,
nil
,
e
)
for
tc
in
aux
.
Next
(
tg
)
do
local
og
=
tc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
...
...
@@ -62,11 +65,11 @@ end
function
s
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xac
)
and
c
:
IsType
(
(
TYPE_XYZ
)
)
function
s
.
cfilter
2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xac
)
and
c
:
IsType
(
TYPE_XYZ
)
end
function
s
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter2
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsOnField
()
end
if
chk
==
0
then
return
ct
>
0
and
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
3
,
REASON_EFFECT
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_ONFIELD
,
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