Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
cb1f601e
Commit
cb1f601e
authored
Mar 04, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update NecroValley part 0
parent
4906f6ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
c83764718.lua
c83764718.lua
+1
-1
c87571563.lua
c87571563.lua
+1
-0
utility.lua
utility.lua
+1
-1
No files found.
c83764718.lua
View file @
cb1f601e
...
@@ -23,7 +23,7 @@ function c83764718.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -23,7 +23,7 @@ function c83764718.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c83764718
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c83764718
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
then
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_MONSTER_REBORN
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_VALUE_MONSTER_REBORN
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
c87571563.lua
View file @
cb1f601e
...
@@ -41,6 +41,7 @@ function c87571563.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,6 +41,7 @@ function c87571563.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
if
aux
.
NecroValleyNegateCheck
(
tc
)
then
return
end
if
aux
.
NecroValleyNegateCheck
(
tc
)
then
return
end
if
not
aux
.
NecroValleyFilter
()(
tc
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
not
tc
:
IsAbleToHand
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
)
then
and
(
not
tc
:
IsAbleToHand
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
utility.lua
View file @
cb1f601e
...
@@ -2377,7 +2377,7 @@ end
...
@@ -2377,7 +2377,7 @@ end
--filter for necro_valley test
--filter for necro_valley test
function
Auxiliary
.
NecroValleyFilter
(
f
)
function
Auxiliary
.
NecroValleyFilter
(
f
)
return
function
(
target
,
...
)
return
function
(
target
,
...
)
return
(
not
f
or
f
(
target
,
...
))
and
not
(
target
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
Duel
.
IsChainDisablable
(
0
)
)
return
(
not
f
or
f
(
target
,
...
))
and
not
target
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
end
end
--Necrovalley test for effect with not certain target or not certain action
--Necrovalley test for effect with not certain target or not certain action
...
...
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