Jump to content

Armor: Difference between revisions

32 bytes added ,  8 August 2023
Corrected the damage formula to actually be accurate. No more misinformation!
imported>Denatidum
mNo edit summary
imported>Bonesofmagic
(Corrected the damage formula to actually be accurate. No more misinformation!)
Line 12: Line 12:
* Fire reduces damage from burning, fire, and lava.
* Fire reduces damage from burning, fire, and lava.


The protection values can be viewed in the inventory screen by pressing the chestplate button in the top right of the player model's area. Once pressed it will bring up a window to the left of the inventory showcasing each value as a bar from 0 to 100. Although bars can be maxed out by wearing certain armor combinations, ''each value will cap out at '''96%''''', meaning it is impossible to be fully immune to any type of damage.
The protection values can be viewed in the inventory screen by pressing the chestplate button in the top right of the player-model's area. Once pressed it will bring up a window to the left of the inventory showcasing each value as a bar from 0 to 100. Although bars can be maxed out by wearing certain armor combinations, ''each value will cap out at '''99''''', meaning it is impossible to be fully immune to any type of damage.


Damage is calculated using this formula:
Damage is calculated using this formula:
:<math>\mathsf{totalDamage} = \mathsf{damage} - \left(\mathsf{damage}\times \left(\frac{\mathsf{protectionValue}}{100}\right)\right)</math>
:<math>\mathsf{damageTaken} = \mathsf{damageBase}\times \left(\mathsf{Max}\left(\frac{\mathsf{protectionType}}{100}\right)0.01\right)</math>


Note that <math>\mathsf{protectionValue}</math> cannot exceed 96.
Note that at maximum protection value, you will always have a 50% chance to take {{Hp|1}} damage.


== Durability ==
== Durability ==
Anonymous user