Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
1ef97136
Commit
1ef97136
authored
Jun 23, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
2d61390c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
utility.lua
utility.lua
+13
-3
No files found.
utility.lua
View file @
1ef97136
...
@@ -2119,11 +2119,21 @@ end
...
@@ -2119,11 +2119,21 @@ end
function
Auxiliary
.
GetColumn
(
c
,
p
)
function
Auxiliary
.
GetColumn
(
c
,
p
)
local
seq
=
c
:
GetSequence
()
local
seq
=
c
:
GetSequence
()
if
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
seq
==
5
then
seq
=
1
elseif
seq
==
6
then
seq
=
3
end
if
seq
==
5
then
seq
=
1
elseif
seq
==
6
then
seq
=
3
end
elseif
c
:
IsLocation
(
LOCATION_SZONE
)
then
elseif
c
:
IsLocation
(
LOCATION_SZONE
)
then
if
seq
>
4
then
return
nil
end
if
seq
>
4
then
return
nil
end
else
return
nil
end
else
if
c
:
IsControler
(
p
or
0
)
then
return
seq
else
return
4
-
seq
end
return
nil
end
if
c
:
IsControler
(
p
or
0
)
then
return
seq
else
return
4
-
seq
end
end
end
--return the column of monster zone seq (from the viewpoint of controller)
--return the column of monster zone seq (from the viewpoint of controller)
function
Auxiliary
.
MZoneSequence
(
seq
)
function
Auxiliary
.
MZoneSequence
(
seq
)
...
...
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