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
780decc1
Commit
780decc1
authored
Feb 01, 2021
by
mercury233
Committed by
GitHub
Feb 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 王家の眠る谷-ネクロバレー
parent
f2d796b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c47355498.lua
c47355498.lua
+3
-3
No files found.
c47355498.lua
View file @
780decc1
...
@@ -85,11 +85,11 @@ function c47355498.discheck(ev,category,re,im0,im1)
...
@@ -85,11 +85,11 @@ function c47355498.discheck(ev,category,re,im0,im1)
end
end
return
false
return
false
end
end
function
c47355498
.
discheck2
(
ev
,
category
)
function
c47355498
.
discheck2
(
ev
,
category
,
re
)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
category
)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
category
)
if
not
ex
then
return
false
end
if
not
ex
then
return
false
end
if
v
==
LOCATION_GRAVE
and
ct
>
0
and
tg
then
if
v
==
LOCATION_GRAVE
and
ct
>
0
and
tg
then
return
tg
:
IsExists
(
c47355498
.
disfilter
,
1
,
nil
)
return
tg
:
IsExists
(
c47355498
.
disfilter
,
1
,
nil
,
re
)
end
end
return
false
return
false
end
end
...
@@ -104,6 +104,6 @@ function c47355498.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,6 +104,6 @@ function c47355498.disop(e,tp,eg,ep,ev,re,r,rp)
if
not
res
and
c47355498
.
discheck
(
ev
,
CATEGORY_TODECK
,
re
,
im0
,
im1
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck
(
ev
,
CATEGORY_TODECK
,
re
,
im0
,
im1
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck
(
ev
,
CATEGORY_TOEXTRA
,
re
,
im0
,
im1
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck
(
ev
,
CATEGORY_TOEXTRA
,
re
,
im0
,
im1
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck
(
ev
,
CATEGORY_LEAVE_GRAVE
,
re
,
im0
,
im1
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck
(
ev
,
CATEGORY_LEAVE_GRAVE
,
re
,
im0
,
im1
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck2
(
ev
,
CATEGORY_REMOVE
)
then
res
=
true
end
if
not
res
and
c47355498
.
discheck2
(
ev
,
CATEGORY_REMOVE
,
re
)
then
res
=
true
end
if
res
then
Duel
.
NegateEffect
(
ev
)
end
if
res
then
Duel
.
NegateEffect
(
ev
)
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