Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
YGOProUnity_V2
Commits
f3cfdd59
Commit
f3cfdd59
authored
Aug 31, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix SelectPlace field zone
parent
155bd87f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+20
-4
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
f3cfdd59
...
...
@@ -3313,9 +3313,9 @@ public class Ocgcore : ServantWithCardDescription
binaryMaster.writer.Write(positions);
sendReturn(binaryMaster.get());
}
if
(
positions
==
(
0x1
|
0x4
|
0x8
))
{
RMSshow_position3
(
"return"
,
code
);
if (positions == (0x1 | 0x4 | 0x8))
{
RMSshow_position3("return", code);
}
else
{
...
...
@@ -3536,7 +3536,13 @@ public class Ocgcore : ServantWithCardDescription
createPlaceSelector(resp);
}
}
if ((field & 0x2000) != 0)
{
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
resp[2] = 5;
createPlaceSelector(resp);
}
if ((field & 0xc000) != 0)
{
resp[1] = (byte) CardLocation.SpellZone;
...
...
@@ -3616,6 +3622,12 @@ public class Ocgcore : ServantWithCardDescription
resp[1] = (byte) CardLocation.SpellZone;
filter = (field >> 8) & 0x1f;
}
else if ((field & 0x2000) != 0)
{
resp[0] = (byte)player;
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
}
else
{
resp[0] = (byte) player;
...
...
@@ -3653,6 +3665,10 @@ public class Ocgcore : ServantWithCardDescription
if ((filter & 0x20) != 0) resp[2] = 5;
else if ((filter & 0x40) != 0) resp[2] = 6;
}
else
{
if ((filter & 0x20) != 0) resp[2] = 5;
}
}
}
else
...
...
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