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
Crescent/毛虫
pre-release-database-cdb
Commits
e51f84bb
Commit
e51f84bb
authored
Jul 31, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix エクシーズ・ポセイドン・スプラッシュ
parent
4b43120e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
script/c101206209.lua
script/c101206209.lua
+7
-4
No files found.
script/c101206209.lua
View file @
e51f84bb
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -28,16 +29,16 @@ function s.mfilter(c)
return
c
:
IsType
(
TYPE_XYZ
)
end
function
s
.
ffilter
(
c
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetOverlayGroup
():
IsExists
(
s
.
mfilter
,
1
,
nil
)
return
c
:
Is
Faceup
()
and
c
:
Is
Type
(
TYPE_XYZ
)
and
c
:
GetOverlayGroup
():
IsExists
(
s
.
mfilter
,
1
,
nil
)
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
ffilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
desfilter
(
c
,
attr
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
attr
)
and
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
):
GetCount
()
==
0
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
attr
)
and
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
):
GetCount
()
==
0
end
function
s
.
dmfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
):
GetCount
()
==
0
return
c
:
IsFaceup
()
and
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
):
GetCount
()
==
0
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
dmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
@@ -80,7 +81,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
HintSelection
(
g
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
not
(
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
))
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
and
(
not
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
)))
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
else
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
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