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
51cc862a
Commit
51cc862a
authored
Sep 14, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
1e8013f6
Pipeline
#40571
passed with stages
in 3 minutes and 14 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
22 deletions
+29
-22
TW03.cdb
TW03.cdb
+0
-0
script/c100250201.lua
script/c100250201.lua
+4
-8
script/c100250202.lua
script/c100250202.lua
+15
-4
script/c100250203.lua
script/c100250203.lua
+10
-10
No files found.
TW03.cdb
View file @
51cc862a
No preview for this file type
script/c100250201.lua
View file @
51cc862a
...
...
@@ -27,7 +27,6 @@ function s.initial_effect(c)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
s
.
discon
)
e4
:
SetCost
(
s
.
discost
)
e4
:
SetTarget
(
s
.
distg
)
e4
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e4
)
...
...
@@ -66,12 +65,8 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainDisablable
(
ev
)
end
function
s
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
2
,
REASON_COST
)
end
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
2
,
2
,
REASON_COST
)
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
2
,
REASON_EFFECT
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
...
...
@@ -79,7 +74,8 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateEffect
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
2
,
2
,
REASON_EFFECT
)
>
0
and
Duel
.
NegateEffect
(
ev
)
and
re
:
GetHandler
():
IsRelateToChain
(
ev
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
script/c100250202.lua
View file @
51cc862a
...
...
@@ -59,20 +59,31 @@ function s.lvfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
s
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
lvfilter
(
chkc
)
and
chkc
:
IsControler
(
tp
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
and
c
:
IsLevelAbove
(
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
end
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToChain
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
tc
:
IsRelateToChain
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsFaceup
()
and
c
:
IsRelateToChain
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
1
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
sxyzfilter
(
e
,
c
)
...
...
script/c100250203.lua
View file @
51cc862a
...
...
@@ -5,14 +5,14 @@ function s.initial_effect(c)
aux
.
AddXyzProcedure
(
c
,
nil
,
7
,
3
,
s
.
ovfilter
,
aux
.
Stringid
(
id
,
0
),
3
,
s
.
xyzop
)
c
:
EnableReviveLimit
()
--immune
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e
3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetCondition
(
s
.
efcon
)
e
3
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e
3
)
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e
1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e
1
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetCondition
(
s
.
efcon
)
e
1
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e
1
)
--atk up
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -44,7 +44,7 @@ function s.ovfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9c
,
0x53
)
and
c
:
IsXyzType
(
TYPE_XYZ
)
end
function
s
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
Get
TurnPlayer
()
==
tp
and
Duel
.
Get
CurrentPhase
()
==
PHASE_MAIN2
end
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
s
.
cfilter
(
c
)
...
...
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