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
c53be726
Commit
c53be726
authored
Oct 30, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 万物の始源-「水」
parent
3bd8fe25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
script/c101207064.lua
script/c101207064.lua
+7
-5
No files found.
script/c101207064.lua
View file @
c53be726
...
...
@@ -26,15 +26,14 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
activate
(
ATTRIBUTE_WATER
))
c
:
RegisterEffect
(
e2
)
end
function
s
.
spfilter
(
c
,
e
,
tp
,
att
,
rp
)
function
s
.
spfilter
(
c
,
e
,
tp
,
att
)
if
att
and
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
then
return
false
end
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
c
:
GetOwner
())
and
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
c
:
GetOwner
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
c
:
GetOwner
(),
att
,
r
p
)
and
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
c
:
GetOwner
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
c
:
GetOwner
(),
att
,
t
p
)
end
function
s
.
desfilter
(
c
,
t
p
,
att
,
rp
)
function
s
.
desfilter
(
c
,
p
,
att
,
rp
)
if
not
att
and
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
then
return
false
end
return
c
:
IsFaceup
()
and
Duel
.
GetMZoneCount
(
tp
,
c
,
rp
)
>
0
return
c
:
IsFaceup
()
and
Duel
.
GetMZoneCount
(
p
,
c
,
rp
)
>
0
end
function
s
.
target
(
att
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -42,6 +41,9 @@ function s.target(att)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
,
att
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
,
att
)
local
gc
=
g
:
GetFirst
()
local
dg
=
Duel
.
GetFieldGroup
(
gc
:
GetOwner
(),
LOCATION_MZONE
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
dg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
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