Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
GuGu
ygopro-THC-cards
Commits
ee3a149e
Commit
ee3a149e
authored
May 26, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 86379658
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
43f70886
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
2 deletions
+29
-2
script/c86379658.lua
script/c86379658.lua
+29
-2
No files found.
script/c86379658.lua
View file @
ee3a149e
...
@@ -232,6 +232,33 @@ function c86379658.rmtop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -232,6 +232,33 @@ function c86379658.rmtop2(e,tp,eg,ep,ev,re,r,rp)
end
end
--
--
function
c86379658
.
disval
(
e
)
function
c86379658
.
disval
(
e
)
local
c
=
e
:
GetHandler
()
local
zone
=
e
:
GetHandler
():
GetColumnZone
(
LOCATION_ONFIELD
,
0
)
return
c
:
GetColumnZone
(
LOCATION_ONFIELD
,
0
)
local
g
=
Duel
.
GetMatchingGroup
(
tp
,
nil
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
GetGlobalLocation
=
function
(
c
)
local
p
=
c
:
GetControler
()
local
seq
=
c
:
GetSequence
()
if
c
:
IsLocation
(
LOCATION_SZONE
)
then
if
seq
==
6
then
seq
=
0
end
if
seq
==
7
then
seq
=
4
end
if
seq
<=
4
then
return
0x0100
<<
(
16
*
p
+
seq
)
end
elseif
c
:
IsLocation
(
LOCATION_MZONE
)
then
if
seq
==
5
then
return
(
0x0001
<<
(
16
*
p
+
5
))
|
(
0x0001
<<
(
16
*
(
1
-
p
)
+
6
))
elseif
seq
==
6
then
return
(
0x0001
<<
(
16
*
p
+
6
))
|
(
0x0001
<<
(
16
*
(
1
-
p
)
+
5
))
else
return
0x0001
<<
(
16
*
p
+
seq
)
end
end
end
g
:
ForEach
(
function
(
c
)
local
czone
=
GetGlobalLocation
(
c
)
if
czone
&
zone
~=
0
then
zone
=
zone
&
(
~
czone
)
end
end
)
return
zone
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