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
9702ccb8
Commit
9702ccb8
authored
Oct 18, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 剣闘獣クラウディウス
parent
d4e1722f
Pipeline
#30557
passed with stages
in 1 minute and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
19 deletions
+13
-19
script/c101207038.lua
script/c101207038.lua
+13
-19
No files found.
script/c101207038.lua
View file @
9702ccb8
...
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
--fusion summon
aux
.
AddFusionProcFunRep
(
c
,
s
.
matfilter
,
5
,
true
)
c
:
EnableReviveLimit
()
aux
.
AddContactFusionProcedure
(
c
,
s
.
cfilter
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
s
.
sprop
(
c
)
)
aux
.
AddContactFusionProcedure
(
c
,
s
.
cfilter
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
aux
.
tdcfop
(
c
)):
SetValue
(
SUMMON_VALUE_SELF
)
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -12,9 +12,9 @@ function s.initial_effect(c)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetValue
(
s
.
splimit
)
c
:
RegisterEffect
(
e0
)
--
--
twice battle phase
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -23,7 +23,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
...
...
@@ -44,15 +44,8 @@ end
function
s
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
s
.
sprop
(
c
)
return
function
(
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
--spsummon condition
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
0xff0000
,
0
,
0
)
end
end
function
s
.
btcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
Get
FlagEffect
(
id
)
~=
0
return
e
:
GetHandler
():
Get
SummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
function
s
.
btop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -78,11 +71,9 @@ end
function
s
.
spfilter
(
c
,
e
,
tp
)
if
not
c
:
IsSetCard
(
0x1019
)
or
not
c
:
IsType
(
TYPE_MONSTER
)
then
return
false
end
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
then
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelBelow
(
11
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
c
:
IsLevelBelow
(
11
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
else
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -96,11 +87,14 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
then
loc
=
LOCATION_EXTRA
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
loc
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
if
tc
then
if
loc
==
LOCATION_EXTRA
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
else
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
tc
:
GetOriginalCode
(),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
end
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