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
12ac5605
Commit
12ac5605
authored
Aug 04, 2018
by
mercury233
Committed by
nanahira
Aug 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ghost(#1085)
parent
cb334fd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
c73642296.lua
c73642296.lua
+4
-1
No files found.
c73642296.lua
View file @
12ac5605
...
...
@@ -15,6 +15,9 @@ function c73642296.initial_effect(c)
e1
:
SetOperation
(
c73642296
.
disop
)
c
:
RegisterEffect
(
e1
)
end
function
c73642296
.
cfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c73642296
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex1
,
g1
,
gc1
,
dp1
,
dv1
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_TOHAND
)
local
ex2
,
g2
,
gc2
,
dp2
,
dv2
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_TODECK
)
...
...
@@ -24,7 +27,7 @@ function c73642296.discon(e,tp,eg,ep,ev,re,r,rp)
return
((
ex1
and
(
bit
.
band
(
dv1
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g1
and
g1
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)))
or
(
ex2
and
(
bit
.
band
(
dv2
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g2
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)))
or
(
ex3
and
(
bit
.
band
(
dv3
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g3
and
g3
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)))
or
(
ex4
and
(
bit
.
band
(
dv4
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g4
and
g4
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)))
or
(
ex4
and
(
bit
.
band
(
dv4
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g4
and
g4
:
IsExists
(
c73642296
.
cfilter
,
1
,
nil
)))
or
(
ex5
and
(
bit
.
band
(
dv5
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g5
and
g5
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
))))
and
Duel
.
IsChainNegatable
(
ev
)
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