Difference between revisions of "Protection"

From DoomRL Wiki

Jump to: navigation, search
(Created page with "Protection (often called armor) is a way for the player and his enemies to reduce the amount of damage they take. For the purposes of protection, there are two kinds of damage: ...")
 
m
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Protection (often called armor) is a way for the player and his enemies to reduce the amount of damage they take.
+
{{infostrat switch}}
 +
Protection (often called armor) is a way for the player and enemies to reduce the amount of damage they take. In damage calculation, the amount of protection is flatly subtracted from the damage (e.g. if the player is hit by an attack that rolls 10 damage while wearing armor with a protection value of 2, the player will sustain 8 damage). Certain [[damage type]]s will change how much protection reduces damage however; if the damage type is [[shrapnel]], protection will be doubled in damage calculation (e.g. if the player is hit by a shrapnel attack that rolls 10 damage while wearing armor with 2 protection, the effective protection will be doubled to 4 and thus the player will sustain 6 damage), while if the damage type is [[plasma]], protection will be halved in damage calculation, and rounded down if the initial protection is an odd number (e.g. if the player is hit by a plasma attack that rolls 10 damage while wearing armor with 3 protection, the effective protection will be halved to 1 and thus the player will sustain 9 damage). When it comes to attacks that strike multiple times in a single action (such as from firing a [[chaingun]]), protection is applied separately to each individual strike in damage calculation. When [[resistance]]s are factored, protection will be applied in damage calculation after resistances are applied (e.g. if the player is hit by a 16 damage attack while having 4 protection and also possessing 50% resistance to the attack, the resistance will first reduce it to 8 damage and then protection will be subtracted from it to result in the player sustaining 4 damage). No matter how high protection is, it will never reduce the damage sustained below 1 (unless the player has the [[Survivalist]] trait, where then they'll have a random 50% chance to take no damage from an attack that they would have enough protection to reduce to 0 or below).
  
For the purposes of protection, there are two kinds of damage: damage from attacks and damage from hazardous terrain such as [[acid]] and [[lava]]. Protection from [[Armor#Body Armor|armor]] only applies to damage from attack, while protection from [[Armor#Foot Armor (Boots)|boots]] only applies to damage from hazardous terrain. All other sources of protection apply to both kinds of damage.
+
Protection from [[armor]] only applies when a being is hit by any attack, while protection from boots only applies to the damage from hazardous tiles like [[Fluids|acid and lava]]. There are a few sources of damage (kill levers and teleports) that don't use protection from either armor or boots. Inherent protection that most enemies have, and the player can obtain from the [[Tough as Nails]] trait, apply to all sources of damage.
  
Each point of protection a player has against a source of damage reduces the amount of damage by 1. However, every source of damage will always do 1 point of damage regardless of protection. For example, suppose a [[Lost Soul]] attacks the player and rolls a 4 for damage. If the player is wearing [[green armor]] and has 1 level of [[Traits#Tough as Nails|Tough as Nails]], the actual to the player damage will be reduced from 4 to 2.  If the player were instead wearing [[red armor]], the damage would be reduced to 1, even though the player would have 5 points of protection.
+
Sometimes the protection value of a piece of armor changes when it is damaged. In this case, the initial protection value before the armor is damaged is still applied against the damage from the same attack that damaged the armor.
 
+
It is important to note that sometimes some actions, like a [[chaingun]] blast, consist of multiple attacks. In this case, protection is applied to each attack separately.
+
 
+
Armor and boots also lose durability whenever the player is damaged by a source that their protection could apply to. The amount of durability lost is equal to the amount of damage reduced by the protection value of the armor or boots. Like damage, the durability lost in this way cannot be reduced below 1. Continuing the example above, an attack for 4 damage against a player with green armor and 1 level of Tough as Nails will damage the player's armor by 3. If the player had been wearing red armor, the armor would have been damaged by 1.  Note that other sources of protection like Tough as Nails have no effect on the durability lost by the armor.
+
 
+
Sometimes the protection value of a piece of armor changes when it is damaged. In this case, the initial protection value before the armor is damaged is applied to the entire attack that damages the armor.
+
 
+
The most common sources of protection are:
+
* Wearing [[Armor#Body Armor|armor]] (only against enemy attacks)
+
* Wearing [[Armor#Foot Armor (Boots)|boots]] (only against hazardous terrain)
+
* The [[Traits#Tough as Nails|Tough as Nails]] trait
+

Latest revision as of 18:21, 8 June 2025

Game Data Strategy

Protection (often called armor) is a way for the player and enemies to reduce the amount of damage they take. In damage calculation, the amount of protection is flatly subtracted from the damage (e.g. if the player is hit by an attack that rolls 10 damage while wearing armor with a protection value of 2, the player will sustain 8 damage). Certain damage types will change how much protection reduces damage however; if the damage type is shrapnel, protection will be doubled in damage calculation (e.g. if the player is hit by a shrapnel attack that rolls 10 damage while wearing armor with 2 protection, the effective protection will be doubled to 4 and thus the player will sustain 6 damage), while if the damage type is plasma, protection will be halved in damage calculation, and rounded down if the initial protection is an odd number (e.g. if the player is hit by a plasma attack that rolls 10 damage while wearing armor with 3 protection, the effective protection will be halved to 1 and thus the player will sustain 9 damage). When it comes to attacks that strike multiple times in a single action (such as from firing a chaingun), protection is applied separately to each individual strike in damage calculation. When resistances are factored, protection will be applied in damage calculation after resistances are applied (e.g. if the player is hit by a 16 damage attack while having 4 protection and also possessing 50% resistance to the attack, the resistance will first reduce it to 8 damage and then protection will be subtracted from it to result in the player sustaining 4 damage). No matter how high protection is, it will never reduce the damage sustained below 1 (unless the player has the Survivalist trait, where then they'll have a random 50% chance to take no damage from an attack that they would have enough protection to reduce to 0 or below).

Protection from armor only applies when a being is hit by any attack, while protection from boots only applies to the damage from hazardous tiles like acid and lava. There are a few sources of damage (kill levers and teleports) that don't use protection from either armor or boots. Inherent protection that most enemies have, and the player can obtain from the Tough as Nails trait, apply to all sources of damage.

Sometimes the protection value of a piece of armor changes when it is damaged. In this case, the initial protection value before the armor is damaged is still applied against the damage from the same attack that damaged the armor.

Personal tools