No death damage: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino (Created page with "'''No death damage''' is the maximum damage that Link can take without dying even when he would normally not survive. This is used to implement '''one-hit kill protection'''....") |
(No difference)
|
Revision as of 00:59, 12 January 2020
No death damage is the maximum damage that Link can take without dying even when he would normally not survive. This is used to implement one-hit kill protection.
Calculation
The no death damage value is calculated as follows:
NoDeathDamageBase + floor(PlayerMaxLife × NoDeathDamageAdd) / 4
where NoDeathDamageBase and NoDeathDamageAdd are parameters in Link's bgparamlist. In 1.5.0, those values are 20 (= 5 hearts) and 4 (= 1 heart) respectively.