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

Decrease remainingPhases for attributes #89

Closed
antoinezanardi opened this issue Jan 2, 2021 · 0 comments
Closed

Decrease remainingPhases for attributes #89

antoinezanardi opened this issue Jan 2, 2021 · 0 comments
Assignees
Labels
refactor Refactor code, doesn't change any features

Comments

@antoinezanardi
Copy link
Owner

When an attribute is attached to a player, it has a life time represented by the remainingPhases field.

If the attribute is endless, then the remainingPhases attribute won't be set.

If remainingPhases is set, the counter attached to it will decrease each time a phase passes. When set to 0, the attribute will disappear from the player.

@antoinezanardi antoinezanardi added the refactor Refactor code, doesn't change any features label Jan 2, 2021
@antoinezanardi antoinezanardi self-assigned this Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactor code, doesn't change any features
Projects
None yet
Development

No branches or pull requests

1 participant