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
a60053f9
Commit
a60053f9
authored
Aug 24, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Dragon Gate
parent
6bc288f0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
44 deletions
+50
-44
MP25.cdb
MP25.cdb
+0
-0
pack/etc.ydk
pack/etc.ydk
+1
-0
pics/100247148.jpg
pics/100247148.jpg
+0
-0
script/c100247148.lua
script/c100247148.lua
+49
-44
No files found.
MP25.cdb
View file @
a60053f9
No preview for this file type
pack/etc.ydk
View file @
a60053f9
...
@@ -6,5 +6,6 @@
...
@@ -6,5 +6,6 @@
100246001
100246001
100246002
100246002
100247147
100247147
100247148
100247149
100247149
100248001
100248001
\ No newline at end of file
pics/100247148.jpg
0 → 100644
View file @
a60053f9
90.3 KB
script/c100247148.lua
View file @
a60053f9
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
operation
)
e1
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
xyzcon
(
e
)
function
s
.
xyzcon
(
e
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -31,58 +31,63 @@ function s.ovfilter(c)
...
@@ -31,58 +31,63 @@ function s.ovfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsRankBelow
(
3
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsRankBelow
(
3
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
s
.
xyzop
(
e
,
tp
,
chk
)
function
s
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
end
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
and
not
e
:
GetHandler
():
IsHasEffect
(
EFFECT_ATTACK_ALL
)
return
Duel
.
IsAbleToEnterBP
()
and
not
e
:
GetHandler
():
IsHasEffect
(
EFFECT_ATTACK_ALL
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
og
=
e
:
GetHandler
():
GetOverlayGroup
()
local
og
=
c
:
GetOverlayGroup
()
local
ct
=
0
if
c
:
IsRelateToChain
()
then
if
#
og
>
0
then
--atkall
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVEXYZ
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
sg
=
og
:
Select
(
tp
,
1
,
#
og
,
nil
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
if
#
sg
>
0
and
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
then
e1
:
SetCode
(
EFFECT_ATTACK_ALL
)
Duel
.
RaiseSingleEvent
(
c
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
e1
:
SetValue
(
1
)
for
i
,
type
in
ipairs
({
TYPE_MONSTER
,
TYPE_SPELL
,
TYPE_TRAP
})
do
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
if
sg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
type
)
then
c
:
RegisterEffect
(
e1
)
ct
=
ct
+
1
if
#
og
>
0
then
local
ct
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVEXYZ
)
local
sg
=
og
:
Select
(
tp
,
1
,
#
og
,
nil
)
if
#
sg
>
0
and
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
>
0
then
Duel
.
RaiseSingleEvent
(
c
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
for
_
,
type
in
ipairs
({
TYPE_MONSTER
,
TYPE_SPELL
,
TYPE_TRAP
})
do
if
sg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
type
)
then
ct
=
ct
+
1
end
end
end
if
ct
>
0
and
c
:
IsFaceup
()
then
--atkup
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetValue
(
ct
*
1000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
--atkdown
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
tc
=
g
:
GetFirst
()
while
tc
do
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetValue
(
-
ct
*
1000
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e3
)
tc
=
g
:
GetNext
()
end
end
end
end
end
end
end
end
end
if
ct
>
0
then
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetValue
(
-
ct
*
1000
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
ct
>
0
then
--atkup
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
ct
*
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
--atkall
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_ATTACK_ALL
)
e2
:
SetValue
(
1
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
end
end
\ No newline at end of file
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