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
ba3d42ea
Commit
ba3d42ea
authored
Mar 04, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Apophis the Serpent
parent
fc008adc
Pipeline
#33438
passed with stages
in 1 minute and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
MZTM.cdb
MZTM.cdb
+0
-0
script/c100237010.lua
script/c100237010.lua
+17
-15
No files found.
MZTM.cdb
View file @
ba3d42ea
No preview for this file type
script/c100237010.lua
View file @
ba3d42ea
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetHintTiming
(
0
,
TIMING_
MAIN_END
)
e1
:
SetHintTiming
(
0
,
TIMING_
END_PHASE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
...
@@ -36,20 +36,22 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,20 +36,22 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
TYPES_NORMAL_TRAP_MONSTER
,
1600
,
1800
,
4
,
RACE_REPTILE
,
ATTRIBUTE_EARTH
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
TYPES_NORMAL_TRAP_MONSTER
,
1600
,
1800
,
4
,
RACE_REPTILE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TRAP
)
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TRAP
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
local
g
=
Duel
.
GetMatchingGroup
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
Duel
.
BreakEffect
()
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
BreakEffect
()
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tc
=
sg
:
GetFirst
()
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
local
tc
=
sg
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
if
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
tc
:
RegisterEffect
(
e1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
end
end
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