User:SerpentofSet/HealthMath

Revision as of 18:16, 14 October 2024 by SerpentofSet (talk | contribs) (→‎Math)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Math edit

The formula for max health   is:

 

where   is hero-specific starting health,   is the number of Power Increases earned,   is hero-specific added base health from each power increase,   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 edit

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: