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
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
perfectdicky
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
Show 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
...
@@ -3536,7 +3536,13 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -3536,7 +3536,13 @@ public class Ocgcore : ServantWithCardDescription
createPlaceSelector(resp);
createPlaceSelector(resp);
}
}
}
}
if ((field & 0x2000) != 0)
{
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
resp[2] = 5;
createPlaceSelector(resp);
}
if ((field & 0xc000) != 0)
if ((field & 0xc000) != 0)
{
{
resp[1] = (byte) CardLocation.SpellZone;
resp[1] = (byte) CardLocation.SpellZone;
...
@@ -3616,6 +3622,12 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -3616,6 +3622,12 @@ public class Ocgcore : ServantWithCardDescription
resp[1] = (byte) CardLocation.SpellZone;
resp[1] = (byte) CardLocation.SpellZone;
filter = (field >> 8) & 0x1f;
filter = (field >> 8) & 0x1f;
}
}
else if ((field & 0x2000) != 0)
{
resp[0] = (byte)player;
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
}
else
else
{
{
resp[0] = (byte) player;
resp[0] = (byte) player;
...
@@ -3653,6 +3665,10 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -3653,6 +3665,10 @@ public class Ocgcore : ServantWithCardDescription
if ((filter & 0x20) != 0) resp[2] = 5;
if ((filter & 0x20) != 0) resp[2] = 5;
else if ((filter & 0x40) != 0) resp[2] = 6;
else if ((filter & 0x40) != 0) resp[2] = 6;
}
}
else
{
if ((filter & 0x20) != 0) resp[2] = 5;
}
}
}
}
}
else
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