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

Create RegenAuthoritySystem for handling regen #6

Merged
merged 1 commit into from Jun 3, 2019

Conversation

e-aakash
Copy link
Member

@e-aakash e-aakash commented Jun 1, 2019

Regen is throttled by 100 ms in this system, and regeneration happens at an interval of 1 sec for every entity.

Currently can't be tested directly, as only underlying system is changed.

How to test that regen still works:

  1. Add player.prefab in Health/deltas/engine/prefabs/player from deltas in Core module.
  2. Check out PR#3677 branch in Terasology repo.
  3. Activate Health module in a new game, execute console command damage 30.
  4. See that regen starts after 10 secs and full health is attained after further 10 secs (20 secs from time when damage is inflicted).

@Cervator Cervator merged commit f5ce613 into Terasology:master Jun 3, 2019
@e-aakash e-aakash deleted the Regen branch June 5, 2019 10:30
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

Successfully merging this pull request may close these issues.

None yet

2 participants