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
ef871c41
Commit
ef871c41
authored
Dec 21, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
8c025bfc
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
22 deletions
+31
-22
SUDA-EN.cdb
SUDA-EN.cdb
+0
-0
script/c101207090.lua
script/c101207090.lua
+5
-4
script/c101207091.lua
script/c101207091.lua
+4
-3
script/c101207092.lua
script/c101207092.lua
+2
-2
script/c101207093.lua
script/c101207093.lua
+6
-4
script/c101207094.lua
script/c101207094.lua
+1
-1
script/c101207095.lua
script/c101207095.lua
+10
-6
script/c101207096.lua
script/c101207096.lua
+3
-2
No files found.
SUDA-EN.cdb
View file @
ef871c41
No preview for this file type
script/c101207090.lua
View file @
ef871c41
...
...
@@ -41,23 +41,24 @@ 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
function
s
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsRace
(
RACE_REPTILE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_
BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_
EFFECT
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
function
s
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
repfilter
,
1
,
c
,
tp
)
and
c
:
IsReleasable
()
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
and
c
:
IsReleasable
ByEffect
()
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
return
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
end
function
s
.
repval
(
e
,
c
)
return
s
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
function
s
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
\ No newline at end of file
end
script/c101207091.lua
View file @
ef871c41
...
...
@@ -46,17 +46,18 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsRace
(
RACE_REPTILE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_
BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_
EFFECT
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
function
s
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
repfilter
,
1
,
c
,
tp
)
and
c
:
IsReleasable
()
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
and
c
:
IsReleasable
ByEffect
()
and
not
c
:
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
return
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
end
function
s
.
repval
(
e
,
c
)
return
s
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
function
s
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
\ No newline at end of file
end
script/c101207092.lua
View file @
ef871c41
...
...
@@ -55,7 +55,6 @@ end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
DiscardHand
(
1
-
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
Duel
.
BreakEffect
()
else
Duel
.
NegateEffect
(
ev
)
end
...
...
@@ -77,9 +76,10 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
aux
.
NecroValleyFilter
()(
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
4
))
then
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
\ No newline at end of file
end
script/c101207093.lua
View file @
ef871c41
...
...
@@ -4,6 +4,7 @@ function s.initial_effect(c)
c
:
EnableReviveLimit
()
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -16,7 +17,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
...
...
@@ -42,7 +43,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
spop
(
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
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
@@ -63,9 +64,10 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
4
))
then
and
aux
.
NecroValleyFilter
()(
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
\ No newline at end of file
end
script/c101207094.lua
View file @
ef871c41
...
...
@@ -133,4 +133,4 @@ function s.activate2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
\ No newline at end of file
end
script/c101207095.lua
View file @
ef871c41
...
...
@@ -6,7 +6,6 @@ function s.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
s
.
target
)
c
:
RegisterEffect
(
e1
)
end
...
...
@@ -20,24 +19,29 @@ function s.gfilter(g)
return
g
:
GetCount
()
<
3
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_REPTILE
)
local
mg2
=
Duel
.
GetMatchingGroup
(
s
.
mfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
s
.
filter
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
aux
.
GCheckAdditional
=
s
.
gfilter
local
b2
=
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
s
.
filter
,
e
,
tp
,
mg1
,
mg2
,
Card
.
GetLevel
,
"Equal"
)
aux
.
GCheckAdditional
=
nil
if
chk
==
0
then
return
b1
and
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
or
b2
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
end
if
chk
==
0
then
return
b1
and
(
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
or
not
c
:
IsCostChecked
())
or
b2
and
(
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
or
not
c
:
IsCostChecked
())
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
id
,
1
)},
{
b2
,
aux
.
Stringid
(
id
,
2
)})
if
op
==
1
then
if
not
c
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetOperation
(
s
.
spop1
)
elseif
op
==
2
then
if
not
c
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetOperation
(
s
.
spop2
)
end
end
...
...
@@ -97,4 +101,4 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
end
aux
.
GCheckAdditional
=
nil
end
\ No newline at end of file
end
script/c101207096.lua
View file @
ef871c41
...
...
@@ -28,7 +28,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsChainNegat
able
(
ev
)
return
ep
~=
tp
and
Duel
.
IsChainDisabl
able
(
ev
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsRace
(
RACE_REPTILE
)
and
c
:
IsLevelAbove
(
5
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
...
...
@@ -68,7 +68,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsReleasableByEffect
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
tc
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Release
(
g
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
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