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
0e21e940
Commit
0e21e940
authored
May 15, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-3' into 'master'
Fix エクシーズ・ポセイドン・スプラッシュ See merge request
!28
parents
bb24938a
43c747c6
Pipeline
#27141
passed with stages
in 55 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
script/c101206209.lua
script/c101206209.lua
+18
-18
No files found.
script/c101206209.lua
View file @
0e21e940
...
...
@@ -10,17 +10,17 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
destg
)
e1
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e1
)
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
1
:
SetCode
(
EVENT_FREE_CHAIN
)
e
1
:
SetRange
(
LOCATION_GRAVE
)
e
1
:
SetCountLimit
(
1
,
id
)
e
1
:
SetCost
(
s
.
spcost
)
e
1
:
SetTarget
(
s
.
sptg
)
e
1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e
2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
2
:
SetCode
(
EVENT_FREE_CHAIN
)
e
2
:
SetRange
(
LOCATION_GRAVE
)
e
2
:
SetCountLimit
(
1
,
id
)
e
2
:
SetCost
(
s
.
spcost
)
e
2
:
SetTarget
(
s
.
sptg
)
e
2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
2
)
end
function
s
.
mfilter
(
c
)
return
c
:
IsType
(
TYPE_XYZ
)
...
...
@@ -32,14 +32,14 @@ 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
not
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
attr
)
and
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
):
GetCount
()
==
0
end
function
s
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
GetEquipGroup
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
)
function
s
.
dm
filter
(
c
)
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
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
dm
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
dm
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
attr
=
0
for
tc
in
aux
.
Next
(
g
)
do
attr
=
attr
|
tc
:
GetAttribute
()
...
...
@@ -63,7 +63,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
1
,
1
,
REASON_COST
)
end
function
s
.
filter
(
c
,
e
,
tp
)
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
tp
)
local
b2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
return
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
and
(
b1
or
b2
)
end
...
...
@@ -71,7 +71,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
s
.
sp
t
p
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sp
o
p
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
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