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
d02c4e98
Commit
d02c4e98
authored
May 03, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
d9499aa2
Pipeline
#35846
passed with stages
in 3 minutes and 13 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
10 deletions
+17
-10
script/c101301042.lua
script/c101301042.lua
+1
-1
script/c101301043.lua
script/c101301043.lua
+5
-4
script/c101301044.lua
script/c101301044.lua
+5
-4
script/c101301050.lua
script/c101301050.lua
+3
-1
script/c101301051.lua
script/c101301051.lua
+3
-0
No files found.
script/c101301042.lua
View file @
d02c4e98
...
@@ -93,7 +93,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,7 +93,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
GetControl
(
tc
,
tp
)
Duel
.
GetControl
(
tc
,
tp
)
end
end
if
c
:
IsRelateTo
Effect
(
e
)
then
if
c
:
IsRelateTo
Chain
(
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
...
...
script/c101301043.lua
View file @
d02c4e98
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetLabelObject
(
c
)
e2
:
SetLabelObject
(
c
)
e2
:
SetCondition
(
s
.
eacon
)
e2
:
SetCondition
(
s
.
eacon
)
e2
:
SetOperation
(
s
.
addop
)
e2
:
SetOperation
(
s
.
addop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x8f
,
0x54
,
0x59
,
0x82
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x8f
,
0x54
,
0x59
,
0x82
)
...
@@ -53,9 +53,10 @@ function s.addop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,9 +53,10 @@ function s.addop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
e
:
GetLabelObject
()
local
ec
=
e
:
GetLabelObject
()
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
eid
=
EVENT_CUSTOM
+
id
+
ec
:
GetFieldID
()
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_CUSTOM
+
id
)
e2
:
SetCode
(
e
id
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
@@ -63,7 +64,7 @@ function s.addop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +64,7 @@ function s.addop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTarget
(
s
.
eatg
)
e2
:
SetTarget
(
s
.
eatg
)
e2
:
SetOperation
(
s
.
eaop
)
e2
:
SetOperation
(
s
.
eaop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
Duel
.
RaiseSingleEvent
(
c
,
EVENT_CUSTOM
+
id
,
re
,
r
,
rp
,
ep
,
ev
)
Duel
.
RaiseSingleEvent
(
c
,
e
id
,
re
,
r
,
rp
,
ep
,
ev
)
end
end
function
s
.
eacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
eacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -75,7 +76,7 @@ function s.eatg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -75,7 +76,7 @@ function s.eatg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
eaop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
eaop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateTo
Effect
(
e
)
then
if
c
:
IsRelateTo
Chain
(
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
...
...
script/c101301044.lua
View file @
d02c4e98
...
@@ -49,7 +49,7 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -49,7 +49,7 @@ function s.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateTo
Effect
(
e
)
and
c
:
IsFaceup
()
then
if
c
:
IsRelateTo
Card
(
)
and
c
:
IsFaceup
()
then
local
atk
=
c
:
GetAttack
()
local
atk
=
c
:
GetAttack
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -76,9 +76,10 @@ end
...
@@ -76,9 +76,10 @@ end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
then
if
c
:
IsRelateToChain
()
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
or
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsLocation
(
LOCATION_MZONE
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
or
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToChain
()
or
not
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
return
end
end
if
not
Duel
.
Equip
(
tp
,
c
,
tc
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
c
,
tc
)
then
return
end
...
...
script/c101301050.lua
View file @
d02c4e98
...
@@ -58,7 +58,9 @@ function s.antg(e,c)
...
@@ -58,7 +58,9 @@ function s.antg(e,c)
return
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
return
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
c
)
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsRelateToChain
()
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
re
:
GetHandler
())
local
rc
=
re
:
GetHandler
()
return
rc
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsRelateToChain
()
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
rc
)
and
rc
:
IsCanBeDisabledByEffect
(
e
)
and
Duel
.
IsChainDisablable
(
ev
)
end
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
...
...
script/c101301051.lua
View file @
d02c4e98
...
@@ -60,6 +60,9 @@ end
...
@@ -60,6 +60,9 @@ end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
nil
)
if
chk
==
0
then
return
ct
>
0
end
if
chk
==
0
then
return
ct
>
0
end
if
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
1500
)
end
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
nil
)
...
...
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