User:SerpentofSet/HealthMath: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
m →‎Math: removed mention of levels
 
Line 1: Line 1:
== Math ==
== Math ==
The formula for max health is:  
The formula for max health <math>HP_{Max}</math> is:  


<math>
<math>
Line 6: Line 6:
</math>
</math>


where <math>HP_{Max}</math> is max health, <math>HP_0</math> is starting health, <math>N_{PI}</math> is the number of [[Level|Power Increases]] earned, <math>PI_{HP}</math> is the hero-specific added base health from each power increase, <math>HP_{Shop}</math> are the implicit base health percent increases from [[Vitality]] items, and <math>HP_{Bonus}</math> are the miscellaneous bonus health flat increases from items, [[Golden Statue|Golden Statues]], [[Powerup Buff|Survival Powerups]], the [[Rejuvenator]], etc.
where <math>HP_0</math> is hero-specific starting health, <math>N_{PI}</math> is the number of [[Level|Power Increases]] earned, <math>PI_{HP}</math> is hero-specific added base health from each power increase, <math>HP_{Shop}</math> are the implicit base health percent increases from [[Vitality]] items, and <math>HP_{Bonus}</math> are the miscellaneous bonus health flat increases from items, [[Golden Statue|Golden Statues]], [[Powerup Buff|Survival Powerups]], the [[Rejuvenator]], etc.


With the purchase of [[Glass Cannon]], the player's max health is reduced by 15% after the above calculations.
With the purchase of [[Glass Cannon]], the player's max health is reduced by 15% after the above calculations.

Latest revision as of 18:16, 14 October 2024

Math[edit | edit source]

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 | edit source]

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: