User:SerpentofSet/HealthMath: Difference between revisions

Jump to navigation Jump to search
Created page with "== Math == The formula for max health is: <math> HP_{Max} = \left\lceil \left( HP_0 + \text{Level} \times PI \right) \times (1 + \textstyle\sum HP_{Shop} ) + \textstyle\sum HP_{Bonus} \right\rceil </math> where HP<sub>Max</sub> is max health, HP<sub>0</sub> is starting health, PI is the hero-specific Power Increase from each level, HP<sub>Shop</sub> are the implicit base health percent increases from Vitality items, and HP<sub>Bonus..."
 
Line 8: Line 8:
where HP<sub>Max</sub> is max health, HP<sub>0</sub> is starting health, PI is the hero-specific [[Level#Power Increase Tables|Power Increase]] from each level, HP<sub>Shop</sub> are the implicit base health percent increases from [[Vitality]] items, and HP<sub>Bonus</sub> are the miscellaneous bonus health flat increases from items, [[Golden Statue|Golden Statues]], [[Powerup Buff|Survival Powerups]], the [[Rejuvenator]], etc.
where HP<sub>Max</sub> is max health, HP<sub>0</sub> is starting health, PI is the hero-specific [[Level#Power Increase Tables|Power Increase]] from each level, HP<sub>Shop</sub> are the implicit base health percent increases from [[Vitality]] items, and HP<sub>Bonus</sub> 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% before rounding down.
With the purchase of [[Glass Cannon]], the player's max health is reduced by 15% before rounding up.


===Example===
===Example===