Anonymous user
Armor: Difference between revisions
m
→Protection: Change .99 to .01, hopefully the last math edit
imported>TofuBytes (Crafting Recipes for armors) |
imported>FG6 m (→Protection: Change .99 to .01, hopefully the last math edit) |
||
| (15 intermediate revisions by 4 users not shown) | |||
| Line 8: | Line 8: | ||
{{Crafting table|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Helmet|RESULT=Leather Cap;Iron Helmet;Golden Helmet;Diamond Helmet;Steel Helmet|foot=y}}{{Crafting table|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot||Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Chestplate|RESULT=Leather Tunic;Iron Chestplate;Golden Chestplate;Diamond Chestplate;Steel Chestplate|foot=y|7=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|9=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|8=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot}}{{Crafting table|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Leggings|RESULT=Leather Pants;Iron Leggings;Golden Leggings;Diamond Leggings;Steel Leggings|foot=y|7=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|9=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot||8=}}{{Crafting table||||Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Boots|RESULT=Leather Boots;Iron Boots;Golden Boots;Diamond Boots;Steel Boots|foot=y|7=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|9=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot||8=}} | {{Crafting table|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Helmet|RESULT=Leather Cap;Iron Helmet;Golden Helmet;Diamond Helmet;Steel Helmet|foot=y}}{{Crafting table|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot||Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Chestplate|RESULT=Leather Tunic;Iron Chestplate;Golden Chestplate;Diamond Chestplate;Steel Chestplate|foot=y|7=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|9=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|8=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot}}{{Crafting table|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Leggings|RESULT=Leather Pants;Iron Leggings;Golden Leggings;Diamond Leggings;Steel Leggings|foot=y|7=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|9=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot||8=}}{{Crafting table||||Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|6=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|name=Boots|RESULT=Leather Boots;Iron Boots;Golden Boots;Diamond Boots;Steel Boots|foot=y|7=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot|9=Leather;Iron Ingot;Gold Ingot;Diamond;Steel Ingot||8=}} | ||
===Natural generation=== | ===Natural generation=== | ||
[[File:Inventory-armor-stats.png|thumb|A player inventory showcasing the armor stats window. ]] | Armor can be found in loot chests of generated structures such as the [[dungeons]] or [[Labyrinth|labyrinths]]. Chainmail armor being one of the only armors obtainable through loot chests. | ||
== Repairing == | |||
Chainmail armor can only be found in [[dungeons]] or [[Labyrinth|labyrinths]]. Chainmail armor can be repaired using [[chainlinks]]. The more chainlinks used to repair the armor, the more durability it receives.{{Crafting table | |||
|type=workbench | |||
|1=Chainlinks|2=Chainlinks|3=Chainlinks | |||
|4=Chainlinks|5=Damaged Chainmail Armor|6=Chainlinks | |||
|RESULT=Chainmail Armor | |||
|shapeless=y | |||
|foot=y | |||
}}[[File:Inventory-armor-stats.png|thumb|A player inventory showcasing the armor stats window. ]] | |||
==Protection== | ==Protection== | ||
| Line 21: | Line 32: | ||
Damage is calculated using this formula: | Damage is calculated using this formula: | ||
: <math>\mathsf{ | : <math> | ||
\begin{align} | |||
& \mathsf{damageTotal} = \mathsf{damageBase}\times\mathsf{max}\left(1-\frac{\mathsf{protectionType}}{100}, 0.01\right)\\ | |||
& \mathsf{rand} = \mathsf{random}\left(\right)\\ | |||
& \mathsf{damageTaken} = \begin{cases} | |||
\mathsf{floor}\left(\mathsf{damageTotal}\right)\text{ if } \mathsf{rand} > 0.5\\ | |||
\mathsf{ceil}\left(\mathsf{damageTotal}\right)\text{ if } \mathsf{rand} \leq 0.5\\ | |||
\end{cases} | |||
\end{align} | |||
</math> | |||
==Durability== | ==Durability== | ||