Commit b782b679 authored by Chunchi Che's avatar Chunchi Che Committed by WANG HE

fix StocHsPlayerChange adapt

parent e24bbe73
...@@ -16,6 +16,8 @@ export default class StocHsPlayerChange implements ygoProtobuf { ...@@ -16,6 +16,8 @@ export default class StocHsPlayerChange implements ygoProtobuf {
const pos = (Status >> 4) & 0xf; const pos = (Status >> 4) & 0xf;
const state = Status & 0xf; const state = Status & 0xf;
pb.pos = pos;
if (pos < 4) { if (pos < 4) {
if (state < 8) { if (state < 8) {
pb.state = ygopro.StocHsPlayerChange.State.MOVE; pb.state = ygopro.StocHsPlayerChange.State.MOVE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment