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
3eb98c07
Commit
3eb98c07
authored
Oct 24, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 万物の始源-「水」
parent
04ba2782
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
script/c101207043.lua
script/c101207043.lua
+1
-1
script/c101207064.lua
script/c101207064.lua
+10
-8
No files found.
script/c101207043.lua
View file @
3eb98c07
...
...
@@ -57,7 +57,7 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
and
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c101207064.lua
View file @
3eb98c07
...
...
@@ -26,15 +26,15 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
activate
(
ATTRIBUTE_WATER
))
c
:
RegisterEffect
(
e2
)
end
function
s
.
spfilter
(
c
,
e
,
tp
,
att
)
function
s
.
spfilter
(
c
,
e
,
tp
,
att
,
rp
)
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
)
and
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
c
:
GetOwner
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
c
:
GetOwner
(),
att
,
rp
)
end
function
s
.
desfilter
(
c
,
tp
,
att
)
function
s
.
desfilter
(
c
,
tp
,
att
,
rp
)
if
not
att
and
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
then
return
false
end
return
c
:
IsFaceup
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
GetMZoneCount
(
tp
,
c
,
rp
)
>
0
end
function
s
.
target
(
att
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -51,10 +51,12 @@ function s.activate(att)
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
sp
=
tc
:
GetOwner
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
desfilter
,
sp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
sp
,
att
)
if
g
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
sp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
desfilter
,
sp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
sp
,
att
,
tp
)
if
g
then
Duel
.
HintSelection
(
g
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
sp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
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