Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Adren health regen feels wrong #82

Open
a-beyblade opened this issue Nov 12, 2023 · 0 comments
Open

Adren health regen feels wrong #82

a-beyblade opened this issue Nov 12, 2023 · 0 comments

Comments

@a-beyblade
Copy link

These values don't feel right:

if (p.boost > 0) p.boost -= 0.01136;
// Health regeneration from adrenaline
if (p.boost > 0 && p.boost <= 25) p.health += 0.0050303;
else if (p.boost > 25 && p.boost <= 50) p.health += 0.012624;
else if (p.boost > 50 && p.boost <= 87.5) p.health += 0.01515;
else if (p.boost > 87.5 && p.boost <= 100) p.health += 0.01766;

Based on the wiki article (https://survivio.fandom.com/wiki/Adrenaline), it should be

 if (p.boost > 0) p.boost -= 0.01125; 
  
 // Health regeneration from adrenaline 
 if (p.boost > 0 && p.boost <= 25) p.health += 0.03; 
 else if (p.boost > 25 && p.boost <= 50) p.health += 0.1125; 
 else if (p.boost > 50 && p.boost <= 87.5) p.health += 0.1425; 
 else if (p.boost > 87.5 && p.boost <= 100) p.health += 0.15; 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant