Editing
User:SerpentofSet/HealthMath
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Math == The formula for max health <math>HP_{Max}</math> is: <math> HP_{Max} = \left( HP_0 + N_{PI} \times PI_{HP} \right) \times (1 + \textstyle\sum HP_{Shop} ) + \textstyle\sum HP_{Bonus} </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. 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: <math>HP_{Max} = 600 \times (1 + (0.11 + 0.11)) + 160 = 892</math> If Kelvin then earns a power increase, his base health increases by 50, and his max health becomes: <math>HP_{Max} = (600 + 50) \times (1 + (0.11 + 0.11)) + 160 = 953</math>
Summary:
Please note that all contributions to 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)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
User page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Discord community
Recent changes
Random page
Tools
What links here
Related changes
User contributions
Logs
View user groups
Special pages
Page information
Languages