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

Setting health/energy #329

Open
SiriusAshling opened this issue Mar 1, 2023 · 1 comment
Open

Setting health/energy #329

SiriusAshling opened this issue Mar 1, 2023 · 1 comment

Comments

@SiriusAshling
Copy link
Member

Currently there are three competing systems to set the current or maximum health and energy.
Using the example of current health:

  • The system command 4|12|<value>
  • The virtual UberState: 8|15|11|float|<value>
  • The "gameState" UberState 8|3|105|float|<value>

Only the system command seems to work correctly.
The virtual state ignores negative values (which is useful for killing Ori) and the gameState truncates floating point values

@timoschwarzer
Copy link
Member

Is this still an issue on the current dev version?

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

No branches or pull requests

2 participants