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
b757199e
Commit
b757199e
authored
Mar 04, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix The Man with the Mark
parent
e0e0b203
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
24 deletions
+14
-24
MZTM.cdb
MZTM.cdb
+0
-0
script/c100237001.lua
script/c100237001.lua
+14
-24
No files found.
MZTM.cdb
View file @
b757199e
No preview for this file type
script/c100237001.lua
View file @
b757199e
...
@@ -16,42 +16,32 @@ function s.initial_effect(c)
...
@@ -16,42 +16,32 @@ function s.initial_effect(c)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--indes
--
monster
indes
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetCondition
(
s
.
indcon
)
e3
:
SetCondition
(
s
.
indcon
)
e3
:
SetTarget
(
s
.
indtg
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--indes
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EFFECT_INDESTRUCTABLE_
BATTLE
)
e5
:
SetCode
(
EFFECT_INDESTRUCTABLE_
EFFECT
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e5
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e5
:
SetCondition
(
s
.
indcon
)
e5
:
SetTarget
(
s
.
indtg2
)
e5
:
SetTarget
(
s
.
indtg
)
e5
:
SetValue
(
1
)
e5
:
SetValue
(
1
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e6
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
)
e7
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e7
:
SetCondition
(
s
.
indcon
)
e7
:
SetTarget
(
s
.
indtg2
)
e7
:
SetValue
(
1
)
c
:
RegisterEffect
(
e7
)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
(
c
:
IsCode
(
29762407
)
or
aux
.
IsCodeListed
(
c
,
29762407
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
and
(
c
:
IsAbleToHand
()
or
c
:
IsAbleToGrave
())
return
(
c
:
IsCode
(
29762407
)
or
aux
.
IsCodeListed
(
c
,
29762407
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
and
(
c
:
IsAbleToHand
()
or
c
:
IsAbleToGrave
())
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -64,15 +54,15 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,15 +54,15 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsAbleToHand
()
and
(
not
tc
:
IsAbleToGrave
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1191
)
==
0
)
then
if
tc
:
IsAbleToHand
()
and
(
not
tc
:
IsAbleToGrave
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1191
)
==
0
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
else
if
tc
:
IsAbleToGrave
()
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
function
s
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsCode
),
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
29762407
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsCode
),
e
:
GetHandlerPlayer
()
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
29762407
)
end
end
function
s
.
indtg
(
e
,
c
)
function
s
.
indtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x2c9
)
return
c
:
IsSetCard
(
0x2c9
)
or
e
:
GetHandler
()
==
c
end
end
function
s
.
indtg2
(
e
,
c
)
function
s
.
indtg2
(
e
,
c
)
return
c
:
IsCode
(
29762407
)
return
c
:
IsCode
(
29762407
)
...
...
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