Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
ygopro-scripts
Commits
46debde4
Commit
46debde4
authored
Jan 12, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 王家の眠る谷-ネクロバレー
parent
31881780
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
c12247206.lua
c12247206.lua
+6
-6
c47355498.lua
c47355498.lua
+3
-3
No files found.
c12247206.lua
View file @
46debde4
...
...
@@ -21,19 +21,19 @@ end
function
c12247206
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
eg
:
GetFirst
()
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
nfilter
,
tp
,
0x13
,
0
,
nil
,
tc
)
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
nfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
tc
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
g
:
GetCount
()
>
0
and
g
:
GetCount
()
==
g
:
FilterCount
(
Card
.
IsCanBeSpecialSummoned
,
nil
,
e
,
0
,
tp
,
false
,
false
)
end
tc
:
CreateEffectRelation
(
e
)
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
filter
,
tp
,
0x13
,
0
,
nil
,
tc
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
PLAYER_ALL
,
0x13
)
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
tc
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
PLAYER_ALL
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
)
end
function
c12247206
.
filter
(
c
,
tc
,
e
,
tp
)
return
c12247206
.
nfilter
(
c
,
tc
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c12247206
.
selfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c12247206
.
filter
,
tp
,
0x13
,
0
,
1
,
nil
,
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c12247206
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
,
e
,
tp
)
end
function
c12247206
.
sp
(
g
,
tp
,
pos
)
local
sc
=
g
:
GetFirst
()
...
...
@@ -47,7 +47,7 @@ function c12247206.activate(e,tp,eg,ep,ev,re,r,rp)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft1
>
1
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft1
=
1
end
local
gg
=
Group
.
CreateGroup
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c12247206
.
filter
),
tp
,
0x13
,
0
,
nil
,
tc
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c12247206
.
filter
),
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
tc
,
e
,
tp
)
if
ft1
>
0
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
g
:
GetCount
()
<=
ft1
then
c12247206
.
sp
(
g
,
tp
,
POS_FACEUP_ATTACK
)
else
...
...
@@ -63,7 +63,7 @@ function c12247206.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_FACEUP
)
local
sg
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c12247206
.
selfilter
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
1
-
tp
)
if
ft2
>
0
and
sg
:
GetCount
()
>
0
then
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c12247206
.
filter
),
1
-
tp
,
0x13
,
0
,
nil
,
sg
:
GetFirst
(),
e
,
1
-
tp
)
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c12247206
.
filter
),
1
-
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
sg
:
GetFirst
(),
e
,
1
-
tp
)
if
g2
:
GetCount
()
>
0
then
if
g2
:
GetCount
()
<=
ft2
then
c12247206
.
sp
(
g2
,
1
-
tp
,
POS_FACEUP
)
...
...
c47355498.lua
View file @
46debde4
...
...
@@ -68,8 +68,8 @@ end
function
c47355498
.
conntp
(
e
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
e
:
GetHandler
():
GetControler
(),
EFFECT_NECRO_VALLEY_IM
)
end
function
c47355498
.
disfilter
(
c
)
return
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
function
c47355498
.
disfilter
(
c
,
re
)
return
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
c
:
IsRelateToEffect
(
re
)
end
function
c47355498
.
discheck
(
ev
,
category
,
re
,
im0
,
im1
)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
category
)
...
...
@@ -81,7 +81,7 @@ function c47355498.discheck(ev,category,re,im0,im1)
end
end
if
tg
and
tg
:
GetCount
()
>
0
then
return
tg
:
IsExists
(
c47355498
.
disfilter
,
1
,
nil
)
return
tg
:
IsExists
(
c47355498
.
disfilter
,
1
,
nil
,
re
)
end
return
false
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