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
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
八宫一月
ygopro-scripts
Commits
7fd19f2d
Commit
7fd19f2d
authored
Sep 21, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Fluorohydride/ygopro-scripts
parents
cad3627f
5c009879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
c53143898.lua
c53143898.lua
+2
-1
utility.lua
utility.lua
+1
-1
No files found.
c53143898.lua
View file @
7fd19f2d
...
@@ -72,7 +72,8 @@ function c53143898.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,7 +72,8 @@ function c53143898.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc1
,
tc2
=
Duel
.
GetFirstTarget
()
local
tc1
,
tc2
=
Duel
.
GetFirstTarget
()
if
tc1
~=
e
:
GetLabelObject
()
then
tc1
,
tc2
=
tc2
,
tc1
end
if
tc1
~=
e
:
GetLabelObject
()
then
tc1
,
tc2
=
tc2
,
tc1
end
if
tc1
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoGrave
(
tc1
,
REASON_EFFECT
)
>
0
if
tc1
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoGrave
(
tc1
,
REASON_EFFECT
)
>
0
and
tc1
:
IsLocation
(
LOCATION_GRAVE
)
and
tc2
:
IsRelateToEffect
(
e
)
then
and
tc1
:
IsLocation
(
LOCATION_GRAVE
)
and
tc2
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc2
)
then
Duel
.
SpecialSummon
(
tc2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
utility.lua
View file @
7fd19f2d
...
@@ -2101,7 +2101,7 @@ end
...
@@ -2101,7 +2101,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
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
)
and
Duel
.
IsChainDisablable
(
0
))
end
end
end
end
--shortcut for self-banish costs
--shortcut for self-banish costs
...
...
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