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
5f525e17
Commit
5f525e17
authored
Jul 08, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
14a0871f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
script/c101206074.lua
script/c101206074.lua
+4
-1
script/c101206075.lua
script/c101206075.lua
+6
-4
No files found.
script/c101206074.lua
View file @
5f525e17
...
...
@@ -33,8 +33,11 @@ end
function
s
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsSummonPlayer
(
1
-
tp
)
and
c
:
IsSummonLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
end
function
s
.
confilter
(
c
)
return
c
:
IsSetCard
(
0x19b
)
and
c
:
IsFaceup
()
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsSetCard
,
Card
.
IsFaceup
),
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
0x19b
)
return
Duel
.
IsExistingMatchingCard
(
s
.
confilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
function
s
.
tdfilter
(
c
)
...
...
script/c101206075.lua
View file @
5f525e17
...
...
@@ -71,16 +71,18 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xac
)
and
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xac
)
and
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeEffectTarget
(
e
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
s
.
spfilter
(
chkc
,
e
,
tp
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
chk
==
0
then
return
ft
>=
5
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
5
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
ft
>=
5
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
5
,
nil
,
e
,
tp
)
and
g
:
GetClassCount
(
Card
.
GetCode
)
>=
5
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
):
Filter
(
Card
.
IsCanBeEffectTarget
,
nil
,
e
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
5
,
5
)
aux
.
GCheckAdditional
=
aux
.
dncheck
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
TRUE
,
false
,
5
,
5
)
aux
.
GCheckAdditional
=
nil
Duel
.
SetTargetCard
(
tg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
tg
,
tg
:
GetCount
(),
0
,
0
)
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