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
Mr.Tan
pre-release-database-cdb
Commits
e20a98e2
Commit
e20a98e2
authored
Oct 18, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 剣闘獣ギステル
parent
e5f00f10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
script/c101207017.lua
script/c101207017.lua
+7
-3
script/utility.lua
script/utility.lua
+1
-1
No files found.
script/c101207017.lua
View file @
e20a98e2
...
...
@@ -37,13 +37,14 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
costfilter
(
c
,
e
c
,
e
,
tp
)
function
s
.
costfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x1019
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
,
c
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
,
e
,
tp
)
and
not
c
:
IsPublic
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
c
,
c
,
e
,
tp
):
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
...
...
@@ -57,11 +58,14 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_HAND
)
end
function
s
.
spopfilter
(
c
,
e
,
tp
)
return
e
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_GLADIATOR
,
tp
,
false
,
false
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
sc
=
e
:
GetLabelObject
()
local
g
=
Group
.
FromCards
(
c
,
sc
)
local
fg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
fg
=
g
:
Filter
(
s
.
spopfilter
,
nil
,
e
,
tp
)
if
fg
:
GetCount
()
~=
2
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
Duel
.
SpecialSummon
(
fg
,
SUMMON_VALUE_GLADIATOR
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/utility.lua
View file @
e20a98e2
...
...
@@ -863,7 +863,7 @@ end
function
Auxiliary
.
gbspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
typ
=
c
:
GetSpecialSummonInfo
(
SUMMON_INFO_TYPE
)
return
c
:
IsSummonType
(
SUMMON_VALUE_GLADIATOR
)
or
(
typ
&
TYPE_MONSTER
~=
0
and
c
:
IsSpecialSummonSetCard
(
0x19
))
return
c
:
IsSummonType
(
SUMMON_VALUE_GLADIATOR
)
or
(
typ
&
TYPE_MONSTER
~=
0
and
c
:
IsSpecialSummonSetCard
(
0x1
01
9
))
end
--sp_summon condition for evolsaur monsters
function
Auxiliary
.
evospcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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