User:SerpentofSet/HealthMath: Difference between revisions
SerpentofSet (talk | contribs) m →Math |
SerpentofSet (talk | contribs) |
||
Line 15: | Line 15: | ||
[[Kelvin]] begins the game with 600 Base HP. If Kelvin purchases the tier 1 vitality items [[Extra Health]] and [[Extra Stamina]], the first of which also grants 160 bonus health, his max health becomes: | [[Kelvin]] begins the game with 600 Base HP. If Kelvin purchases the tier 1 vitality items [[Extra Health]] and [[Extra Stamina]], the first of which also grants 160 bonus health, his max health becomes: | ||
<math>HP_{Max} = 600 \times (1 + (0.11 + 0.11)) + 160 = 892</math> | |||
If Kelvin then earns a power increase, his base health increases by 50, and his max health becomes: | If Kelvin then earns a power increase, his base health increases by 50, and his max health becomes: | ||
<math>HP_{Max} = (600 + 50) \times (1 + (0.11 + 0.11)) + 160 = 953</math> |
Revision as of 11:51, 14 October 2024
Math
The formula for max health is:
where is max health, is starting health, is the hero-specific Power Increase from each level, are the implicit base health percent increases from Vitality items, and are the miscellaneous bonus health flat increases from items, Golden Statues, Survival Powerups, the Rejuvenator, etc.
With the purchase of Glass Cannon, the player's max health is reduced by 15% after the above calculations.
Note that the max health presented in-game is rounded to the nearest integer.
Example
Kelvin begins the game with 600 Base HP. If Kelvin purchases the tier 1 vitality items Extra Health and Extra Stamina, the first of which also grants 160 bonus health, his max health becomes:
If Kelvin then earns a power increase, his base health increases by 50, and his max health becomes: