Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SaveActor::status vector handled incorrectly #670

Closed
Ghabry opened this issue Dec 12, 2015 · 0 comments
Closed

SaveActor::status vector handled incorrectly #670

Ghabry opened this issue Dec 12, 2015 · 0 comments

Comments

@Ghabry
Copy link
Member

Ghabry commented Dec 12, 2015

Cherry pointed out weeks ago that the way we implement the status data structure is wrong.

Our status struct contains the id of the status the actor has, e.g. [1, 3].

Actually the struct contains all statusses with [0,0 .... 0] and when one of the states is set the value is 1 + the number of battle turns (for status that auto heals).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant