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
d53b78b7
Commit
d53b78b7
authored
Mar 18, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
necro valley
parent
97dff7c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
c47355498.lua
c47355498.lua
+4
-8
No files found.
c47355498.lua
View file @
d53b78b7
...
...
@@ -67,11 +67,7 @@ end
function
c47355498
.
conntp
(
e
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
e
:
GetHandler
():
GetControler
(),
EFFECT_NECRO_VALLEY_IM
)
end
function
c47355498
.
disfilter1
(
c
,
im0
,
im1
,
targets
)
if
c
:
IsControler
(
0
)
then
return
im0
and
targets
:
IsContains
(
c
)
and
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
else
return
im1
and
targets
:
IsContains
(
c
)
and
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c47355498
.
disfilter2
(
c
,
im0
,
im1
)
function
c47355498
.
disfilter
(
c
,
im0
,
im1
)
if
c
:
IsControler
(
0
)
then
return
im0
and
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
else
return
im1
and
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
...
...
@@ -79,10 +75,10 @@ function c47355498.discheck(ev,category,re,im0,im1,targets)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
category
)
if
not
ex
then
return
false
end
if
tg
and
tg
:
GetCount
()
>
0
then
if
targets
then
return
tg
:
IsExists
(
c47355498
.
disfilter
1
,
1
,
nil
,
im0
,
im1
,
targets
)
if
targets
and
targets
:
IsContains
(
re
:
GetHandler
())
then
return
tg
:
IsExists
(
c47355498
.
disfilter
,
1
,
nil
,
im0
,
im1
)
else
return
tg
:
IsExists
(
c47355498
.
disfilter
2
,
1
,
re
:
GetHandler
(),
im0
,
im1
)
return
tg
:
IsExists
(
c47355498
.
disfilter
,
1
,
re
:
GetHandler
(),
im0
,
im1
)
end
end
if
v
~=
LOCATION_GRAVE
then
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