Editing User:SerpentofSet/HealthMath

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
== Math ==
== Math ==
The formula for max health <math>HP_{Max}</math> is:  
The formula for max health is:  


<math>
<math>
HP_{Max} = \left( HP_0 + N_{PI} \times PI_{HP} \right) \times (1 + \textstyle\sum HP_{Shop} ) + \textstyle\sum HP_{Bonus}
HP_{Max} = \left( HP_0 + \text{Level} \times PI \right) \times (1 + \textstyle\sum HP_{Shop} ) + \textstyle\sum HP_{Bonus}
</math>
</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.
where <math>HP_{Max}</math> is max health, <math>HP_0</math> is starting health, <math>PI</math> is the hero-specific [[Level#Power Increase Tables|Power Increase]] from each level, <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.
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)