User:SerpentofSet/HealthMath: Difference between revisionsGive feedback
SerpentofSet (talk | contribs) m →Example |
SerpentofSet (talk | contribs) m →Math |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Math == | == Math == | ||
The formula for max health is: | The formula for max health <math>HP_{Max}</math> is: | ||
<math> | <math> | ||
HP_{Max} = \left( HP_0 + | HP_{Max} = \left( HP_0 + N_{PI} \times PI_{HP} \right) \times (1 + \textstyle\sum HP_{Shop} ) + \textstyle\sum HP_{Bonus} | ||
</math> | </math> | ||
where <math> | 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. | ||