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
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
MyCard
ygopro-scripts
Commits
dc40ce98
Commit
dc40ce98
authored
Jul 14, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dbdbb671
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
c5043010.lua
c5043010.lua
+2
-5
No files found.
c5043010.lua
View file @
dc40ce98
...
@@ -70,11 +70,8 @@ function c5043010.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,11 +70,8 @@ function c5043010.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c5043010
.
cfilter
(
c
,
tp
,
zone
)
function
c5043010
.
cfilter
(
c
,
tp
,
zone
)
local
seq
=
c
:
GetPreviousSequence
()
local
seq
=
c
:
GetPreviousSequence
()
if
c
:
GetPreviousControler
()
==
tp
then
if
c
:
GetPreviousControler
()
~=
tp
then
seq
=
seq
+
16
end
return
bit
.
band
(
zone
,
bit
.
lshift
(
1
,
seq
))
~=
0
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
bit
.
extract
(
zone
,
seq
)
~=
0
else
return
bit
.
band
(
bit
.
rshift
(
zone
,
16
),
bit
.
lshift
(
1
,
seq
))
~=
0
end
end
end
function
c5043010
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c5043010
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c5043010
.
cfilter
,
1
,
nil
,
tp
,
e
:
GetHandler
():
GetLinkedZone
())
return
eg
:
IsExists
(
c5043010
.
cfilter
,
1
,
nil
,
tp
,
e
:
GetHandler
():
GetLinkedZone
())
...
...
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