Jump to content

User:SerpentofSet/HealthMath

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

Math

The formula for max health HPMax is:

HPMax=(HP0+NPI×PIHP)×(1+HPShop)+HPBonus

where HP0 is hero-specific starting health, NPI is the number of Power Increases earned, PIHP is hero-specific added base health from each power increase, HPShop are the implicit base health percent increases from Vitality items, and HPBonus 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:

HPMax=600×(1+(0.11+0.11))+160=892

If Kelvin then earns a power increase, his base health increases by 50, and his max health becomes:

HPMax=(600+50)×(1+(0.11+0.11))+160=953