Health: Difference between revisions

m Example: Edited to reflect new vitality item % increases based on investment
Health Bars: add note about half health vfx on the healthbar
 
(27 intermediate revisions by 8 users not shown)
Line 3: Line 3:


== Maximum Health ==
== Maximum Health ==
[[File:Kelvin base health 1.png|thumb|263x263px|Kelvin's starting base health at {{Souls|0}}]]
[[File:Kelvin base health 1.png|thumb|263x263px|A healthbar on [[Kelvin]].]]
The formula for maximum health <math>HP_{Max}</math> is:


<math>
Max health is calculated as follows:
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 base health, <math>N_{PI}</math> is the number of [[Boons]] earned, <math>PI_{HP}</math> is hero-specific added base health from each boon, <math>HP_{Shop}</math> are implicit base health percent increases from [[Vitality]] items, and <math>HP_{Bonus}</math> are bonus health flat increases from various sources. Note that the max health presented in-game is rounded up to the nearest integer.
<math>\text{Max HP} = (\text{Base HP} + \text{Boons Earned} \times \text{HP per Boon}) \times (1 + \text{Vitality Bonuses}) + \text{Bonus HP}</math>
 
Where:
* '''Base HP''' is the hero's starting health value.
* '''Boons Earned''' is the number of [[Boons]] the hero has earned, multiplied by the hero's hero-specific HP gained per Boon.
* '''Vitality Bonuses''' are the percentage-based health increases from [[Vitality]] items, starting at 8% and increasing with further Vitality investment.
* '''Bonus HP''' is flat health added from items, map pickups, and other sources, applied after the Vitality multiplier.
 
Note that the max health presented in-game is rounded up to the nearest integer.


=== Base Health ===
=== Base Health ===
[[File:Kelvin base health 2.png|thumb|247x247px|Kelvin's base health at {{Souls|20.0k}}]]
Base health is the sum of starting base health and added base health from boons. It is scaled by the inherent increased base health stats of Vitality items. Different heroes have different amounts of starting base health and added base health from boons.
Base health is the sum of starting base health and added base health from boons. It is scaled by the inherent increased base health stats of Vitality items. Different heroes have different amounts of starting base health and added base health from boons.


Values referenced from [[Hero Attributes Table]].
=== Health scaling ===
To see all [[Heroes]] health scaling by [[Boon]] please visit the [[Hero Comparison Table]].


{{#invoke:HeroDataArrays|heroHealthTable}}
{{#invoke:HeroDataArrays|heroHealthTable}}


{{#invoke:LevelTables|write_power_increase_table|MaxHealth|title=Base Health based on Boons}}


=== Bonus Health ===
=== Bonus Health ===
Line 27: Line 31:


* Items are the most common source of added bonus health. Bonus health can be found on all three item types, but Vitality items tend to provide the largest amounts.
* Items are the most common source of added bonus health. Bonus health can be found on all three item types, but Vitality items tend to provide the largest amounts.
* [[Golden Statue|Golden statues]] occasionally drop small but permanent added bonus health buffs: '''+20''' before 10 minutes, '''+30''' between 10 and 30 minutes, or '''+40''' after 30 minutes.
* [[Golden Statue|Golden statues]] occasionally drop small but permanent added bonus health buffs: '''+{{MiscData|hp_permanent_pickup|Modifer|ScriptValues|1|value}}''' before 10 minutes, '''+{{MiscData|hp_permanent_pickup_lv2|Modifer|ScriptValues|1|value}}''' between 10 and 30 minutes, or '''+{{MiscData|hp_permanent_pickup_lv3|Modifer|ScriptValues|1|value}}''' after 30 minutes.
* The [[Powerup|Survival Powerup]] immediately grants '''+200''' to '''+700''' bonus health (scales as game goes on), but only for 160 seconds or until death.
* The [[Powerup|Survival Powerup]] immediately grants '''+{{MiscData|survival_powerup_pickup|Modifer|ModifierValues|1|valueMin}}''' to '''+{{MiscData|survival_powerup_pickup|Modifer|ModifierValues|1|valueMax}}''' bonus health (scales as game goes on), but only for 160 seconds or until death.
* The [[Rejuvenator]] immediately grants '''+200''' bonus health, but only for 4 minutes or until death.


Bonus Health is not scaled by increased base health. Bonus health is added after the increased base health multiplier has been applied to base health.
Bonus Health is not scaled by increased base health. Bonus health is added after the increased base health multiplier has been applied to base health.
=== Miscellaneous Health Modifiers ===
With the purchase of [[Glass Cannon]], the hero's max health is reduced by 15% after the above calculations.


=== Example ===
=== Example ===
[[Kelvin]] begins the game with 600 Base HP. If Kelvin purchases two tier 1 vitality items, one of which grants 100 bonus health, his max health becomes:
[[Kelvin]] begins the game with 600 Base HP. If Kelvin purchases two tier 1 vitality items, one of which grants 100 bonus health, his max health becomes:


<math>HP_{Max} = 600 \times (1 + (0.10 + 0.10)) + 100 = 820</math>
<math>\text{Max HP} = 600 \times (1 + 0.10 + 0.10) + 100 = 820</math>


If Kelvin then earns a power increase, his base health increases by 50, and his max health becomes:
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.10 + 0.10)) + 100 = 880</math>
<math>\text{Max HP} = (600 + 50) \times (1 + 0.10 + 0.10) + 100 = 880</math>


== Regaining Health ==
== Regaining Health ==
{{Main|Healing|Health Regen}}
{{Main|Healing|Health Regen}}
From the start of the match, heroes will regenerate health slowly over time, typically 2 HP per second. This rate can be increased by purchasing items such as [[Extra Regen]] and [[Fortitude]]. Health can be regained quickly by returning to the spawn room of the team's base. Various hero abilities can heal, such as Dynamo's [[Dynamo#3(3)_Rejuvenating_Aurora|Rejuvenating Aurora]]. Sources of [[Spirit Lifesteal|spirit]] and [[Bullet Lifesteal|bullet lifesteal]] grant heroes the opportunity to regain health by dealing the respective damage type.
From the start of the match, heroes will regenerate health slowly over time, typically 2 HP per second. This rate can be increased by purchasing items such as {{ItemIcon|Extra Regen}} and {{ItemIcon|Fortitude}}. Health can be regained quickly by returning to the spawn room of the team's base. Various hero abilities can heal, such as {{HeroIcon|Dynamo}}'s {{AbilityIcon|Rejuvenating Aurora}}. Sources of [[Spirit Lifesteal|spirit]] and [[Bullet Lifesteal|bullet lifesteal]] grant heroes the opportunity to regain health by dealing the respective damage type.


== Health Bars ==
== Health Bars ==
Line 56: Line 56:
The small yellow and blue bars above the health bar represent bullet [[Damage Shield|shields]] and spirit shields, respectively.
The small yellow and blue bars above the health bar represent bullet [[Damage Shield|shields]] and spirit shields, respectively.


=== Alternate health bar ===
When the player goes below 50% health, their health bar will enlarge, begin pulsating, and the text will turn sickly green until their health is restored above 50%.
 
=== Command Line Alternate health bar ===
The alternate health bar is an experimental bar that can be tested by players. This bar always has the same size, and the health count is displayed as markings instead of rectangles. One marking represents 100 health, and a line represents 500 health (from left to right).
The alternate health bar is an experimental bar that can be tested by players. This bar always has the same size, and the health count is displayed as markings instead of rectangles. One marking represents 100 health, and a line represents 500 health (from left to right).
This health bar also indicates when other players have ultimates ready, represented by an eye icon that fills up when the ultimate is recharged. Shields are represented by a purple bar.[[File:Small healthbars.png|thumb|227x227px|enabled healthbars from gameinfo.gi]]The alternate health bar can be enabled with the console command <code>citadel_unit_status_use_new true</code>. The command can be added with a <code>+</code> to the game launch options on Steam to be enabled on startup.
=== Gameinfo.gi Alternate health Bar ===
There is another experimental health bar accessible to players. Inside the <code>gameinfo.gi</code> in the game's files, under the ConVars block, adding the 2 lines <code>"citadel_unit_status_use_v2" "true"</code> and <code>"citadel_unit_status_use_v2_for_nonplayers" "true"</code> applies this health bar. When at critical health, the 'critical' text will appear above the hero.


This health bar also indicates when other players have ultimates ready, represented by an eye icon that fills up when the ultimate is recharged. Shields are represented by a purple bar.
The healthbar scales on the heroes maximum health, with 1 segment for every 1000 health points. A segment that does not represent 1000 health will be shorter than other segments. If a hero uses stamina bar, a stamina pool appears over their head, represented by dots. A filled dot is stamina the hero can use, and an empty dot is stamina that has to be regenerated.  


The alternate health bar can be enabled with the console command <code>citadel_unit_status_use_new true</code>. The command can be added with a <code>+</code> to the game launch options on Steam to be enabled on startup.
If this health bar is enabled, the health bar given by <code>citadel_unit_status_use_new true will</code> be overridden.


== Sources ==
== Sources ==
All [[Vitality|vitality items]] provide an increase in base health based on the player's total investment in the category.
All [[Vitality|vitality items]] provide bonus health based on the player's total investment in the category.
{| class="wikitable"
 
!Souls
{{#invoke:ItemInvestmentTable|write_vitality}}
!Health Increases
 
|-
|{{Souls|800}}
| +8%
|-
|{{Souls|1,600}}
| +10%
|-
|{{Souls|2,400}}
| +13%
|-
|{{Souls|3,200}}
| +17%
|-
|{{Souls|4,800}}
| +22%
|-
|{{Souls|7,200}}
| +27%
|-
|{{Souls|9,600}}
| +32%
|-
|{{Souls|16,000}}
| +36%
|-
|{{Souls|22,400}}
| +40%
|-
|{{Souls|28,800}}
| +44%
|}
The following items explicitly grant increased bonus health:
The following items explicitly grant increased bonus health:
{{Item stat table|Bonus Health}}
{{Item stat table|Bonus Health}}
* {{ItemIcon|Golden Goose Egg}} grants random [[Permanent Buffs]], including Max Health.
 
The following items increase or decrease base health based on percentage:
{{Item stat table|Bonus Base Health}}
=== Map spawns ===
=== Map spawns ===
* [[Golden Statue]]s can provide a permanent increase: +<b>20</b> Health before 10 minutes, +<b>30</b> Health before 30 minutes, or +<b>40</b> Health after 30 minutes.
* [[Golden Statue]]s can provide a permanent increase: +<b>{{MiscData|hp_permanent_pickup|Modifer|ScriptValues|1|value}}</b> Health before 10 minutes, +<b>{{MiscData|hp_permanent_pickup_lv2|Modifer|ScriptValues|1|value}}</b> Health before 30 minutes, or +<b>{{MiscData|hp_permanent_pickup_lv3|Modifer|ScriptValues|1|value}}</b> Health after 30 minutes.
* [[Powerup]] runes can provide a temporary Survival buff that provides +'''200''' to +'''700''' Bonus Health for 160 seconds (scaling with game time from 5 to 40 minutes).
* [[Powerup]] runes can provide a temporary Survival buff that provides +'''{{MiscData|survival_powerup_pickup|Modifer|ModifierValues|1|valueMin}}''' to +'''{{MiscData|survival_powerup_pickup|Modifer|ModifierValues|1|valueMax}}''' Bonus Health for 160 seconds (scaling with game time from 5 to 40 minutes).
* [[Mid-Boss]] can provide a temporary Rejuvenator Credit buff that provides +200 Bonus Health for four minutes or until death, whichever comes first.


{{Stat navbox}}
{{Stat navbox}}
{{Navbox gameplay}}
{{Navbox gameplay}}