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
e44a1638
Commit
e44a1638
authored
May 26, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix duel_rule
parent
b8df8acf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+1
-1
Assets/SibylSystem/coreWrapper.cs
Assets/SibylSystem/coreWrapper.cs
+1
-0
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
e44a1638
...
...
@@ -1317,7 +1317,7 @@ public class Ocgcore : ServantWithCardDescription
gameInfo
.
swaped
=
false
;
isObserver
=
((
playertype
&
0xf0
)
>
0
)
?
true
:
false
;
if
(
r
.
BaseStream
.
Length
>
17
)
// dumb fix for yrp3d replay older than v1.034.9
r.ReadByte(); // duel_rule
MasterRule
=
r
.
ReadByte
();
// duel_rule
life_0
=
r
.
ReadInt32
();
life_1
=
r
.
ReadInt32
();
lpLimit
=
life_0
;
...
...
Assets/SibylSystem/coreWrapper.cs
View file @
e44a1638
...
...
@@ -623,6 +623,7 @@ namespace Percy
BinaryMaster
master
=
new
BinaryMaster
();
master
.
writer
.
Write
((
char
)
GameMessage
.
Start
);
master
.
writer
.
Write
((
byte
)
0
);
master
.
writer
.
Write
((
byte
)(
yrp
.
opt
>>
16
));
master
.
writer
.
Write
(
yrp
.
StartLp
);
master
.
writer
.
Write
(
yrp
.
StartLp
);
master
.
writer
.
Write
((
UInt16
)
dll
.
query_field_count
(
duel
,
0
,
0x1
));
...
...
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