From Dark and Darker Wiki
This is the documentation page for Module:Armor
Overview
Functions for making Armor table. Data comes from Data:Armor.json.
Functions
draw_table
Creates a table of armors
Parameters
- 1 - <Slot Type>
- 2 - Craftable or Uncraftable
draw_table examples
Back
{{#invoke:Armor|draw_table|Back|Craftable}}
| Name | Armor/magical Rating | Attributes | Other |
|---|---|---|---|
Armor Rating 11 | Will 2 | Spell Casting Speed 3% | |
Armor Rating 10 | Agility 3 | Action Speed 1% | |
Armor Rating 15 | Dexterity 1 Vigor 1 Will 1 Resourcefulness 1 | Luck 40 All Attributes 1 | |
Armor Rating 13 | Knowledge 3 | Armor Penetration 3.5% Magical Penetration 3.5% | |
Armor Rating 19 | Strength 2 Dexterity 2 Will 2 | ||
Armor Rating 8 | Vigor 3 | Debuff Duration Bonus 2% |
Head
{{#invoke:Armor|draw_table|Head|Uncraftable}}
| Name | Class Requirements | Movement Speed | Armor/magical Rating | Attributes | Other |
|---|---|---|---|---|---|
| Wizard Warlock Druid Sorcerer | -2 | Armor Rating 21 22 23 24~25 26~27 28 29 | Will 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Fighter | -5 | Armor Rating 48 51 54 57 60 63 66 | Strength 1 2 2 3 4 5 5 | Projectile Damage Reduction 2.1% Headshot Damage Reduction 23% | |
| Fighter Barbarian | -4 | Armor Rating 20 23 26 29 32 35 38 Magical Resistance 30 | Dexterity 1 2 2 3 4 5 5 | Projectile Damage Reduction 1.2% Headshot Damage Reduction 15% | |
| Warlock | -3 | Armor Rating 27 30 33 36 39 42 45 | Will 1 1 1 2 2 3 3 | Projectile Damage Reduction 1.8% Headshot Damage Reduction 15% Headshot Damage Modifier 2.5% 3% 3% 3% 3.5% 3.5% 4% | |
| Ranger | -2 | Armor Rating 24 25 26 27 28 29 30 | Dexterity 1 1 1 2 2 3 3 | Headshot Damage Reduction 8% Headshot Damage Modifier 2.5% 3% 3% 3% 3.5% 3.5% 4% | |
| Cleric Sorcerer | -2 | Armor Rating 21 22 23 24~25 26~27 28 29 Magical Resistance 20 | Resourcefulness 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Fighter Cleric | -3 | Armor Rating 33 36 39 42 45 48 51 Magical Resistance 10 | Agility 1 2 2 3 4 5 5 | Projectile Damage Reduction 0.6% Headshot Damage Reduction 13% | |
| Cleric Sorcerer | -2 | Armor Rating 23 24 25 26~27 28~29 30 31 Magical Resistance 20 | Will 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Wizard Cleric Druid Sorcerer | -1 | Armor Rating 17 18 19 20~21 22~23 24 25 | Knowledge 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Fighter Cleric | -5 | Armor Rating 46 49 52 55 58 61 64 | Strength 1 1 1 2 2 3 3 Vigor 0 1 1 1 2 2 2 | Projectile Damage Reduction 1.8% Headshot Damage Reduction 20% | |
| Druid | -2 | Armor Rating 24 25 26 27~28 29~30 31 32 | Strength 1 1 1 2 2 3 3 Will 0 1 1 1 2 2 2 | Headshot Damage Reduction 8% | |
| Warlock Druid | -2 | Armor Rating 26 27 28 29~30 31~32 33 34 | Strength 1 1 1 2 2 2 2 Knowledge 1 1 1 1 2 2 2 Agility 0 1 1 1 1 2 2 | Headshot Damage Reduction 10% | |
| Druid | -3 | Armor Rating 31 32 33~34 35~36 37~38 39 40 | Dexterity 0 1 1 1 2 2 2 Vigor 1 1 1 2 2 3 3 | Headshot Damage Reduction 11% | |
| Bard | -2 | Armor Rating 28 29 30 31~32 33~34 35 36 | Knowledge 1 2 2 3 4 5 5 | Headshot Damage Reduction 9% | |
| Ranger Druid | -2 | Armor Rating 25 26 27 28~29 30~31 32 33 Magical Resistance 15 | Strength 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Barbarian | -4 | Armor Rating 35 38 41 44 47 50 53 Magical Resistance 15 | Vigor 1 2 2 3 4 5 5 | Projectile Damage Reduction 1.2% Headshot Damage Reduction 15% | |
| Fighter Cleric | -5 | Armor Rating 49 52 55 58 61 64 67 | Knowledge 1 2 2 3 4 5 5 | Projectile Damage Reduction 2.1% Headshot Damage Reduction 22% | |
| Fighter Cleric | -5 | Armor Rating 52 55 58 61 64 67 70 Magical Resistance -5 | Vigor 1 2 2 3 4 5 5 | Projectile Damage Reduction 2.1% Headshot Damage Reduction 24% | |
| Rogue Bard | -2 | Armor Rating 24 25 26 27 28 29 30 | Dexterity 1 1 1 2 2 3 3 | Headshot Damage Reduction 8% Headshot Damage Modifier 2.5% 3% 3% 3% 3.5% 3.5% 4% | |
| Fighter Cleric | -3 | Armor Rating 30 33 36 39 42 45 48 Magical Resistance 10 | Knowledge 1 2 2 3 4 5 5 | Projectile Damage Reduction 0.6% Headshot Damage Reduction 13% | |
| Bard | -2 | Armor Rating 29 30 31 32~33 34~35 36 37 | Resourcefulness 1 2 2 3 4 5 5 | Headshot Damage Reduction 10% | |
| -3 | Armor Rating 31 32 33~34 35~36 37~38 39 40 | Vigor 1 2 2 3 4 5 5 | Headshot Damage Reduction 11% | ||
| Cleric | -2 | Armor Rating 28 29 30 31 32 33 34 | Will 1 1 1 2 2 3 3 | Headshot Damage Reduction 11% Undead Race Damage Bonus 5% 6% 6% 6% 7% 7% 8% | |
| Barbarian | -3 | Armor Rating 31 34 37 40 43 46 49 | Strength 0 1 1 1 2 2 2 Vigor 1 1 1 2 2 3 3 | Projectile Damage Reduction 0.9% Headshot Damage Reduction 13% | |
| Warlock | -2 | Armor Rating 25 26 27 28~29 30~31 32 33 | Headshot Damage Reduction 8% Outgoing Magical Healing Add 1 1 1 2 2 3 3 Magical Power 0 1 1 1 2 2 2 | ||
| Fighter Ranger Cleric Bard | -3 | Armor Rating 29 32 35 38 41 44 47 | Will 1 1 1 2 2 2 2 Knowledge 1 1 1 1 2 2 2 Resourcefulness 0 1 1 1 1 2 2 | Projectile Damage Reduction 0.9% Headshot Damage Reduction 14% | |
| Ranger | -2 | Armor Rating 25 26 27 28~29 30~31 32 33 | Agility 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Cleric | -2 | Armor Rating 28 29 30 31 32 33 34 | Will 1 1 1 2 2 3 3 | Headshot Damage Reduction 11% Demon Race Damage Bonus 5% 6% 6% 6% 7% 7% 8% | |
| Rogue | -2 | Armor Rating 25 26 27 28~29 30~31 32 33 | Agility 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Fighter Cleric | -3 | Armor Rating 27 30 33 36 39 42 45 | Strength 1 1 1 2 2 3 3 Vigor 0 1 1 1 2 2 2 | Projectile Damage Reduction 0.9% Headshot Damage Reduction 13% | |
| Rogue Warlock | -2 | Armor Rating 18 19 20 21~22 23~24 25 26 Magical Resistance 15 | Strength 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Rogue Warlock | -1 | Armor Rating 5 6 7 8 9 10 11 | Agility 1 1 1 2 2 2 2 Dexterity 1 1 1 1 2 2 2 Strength 0 1 1 1 1 2 2 | ||
| Fighter Ranger Cleric | -4 | Armor Rating 34 37 40 43 46 49 52 | Agility 1 1 1 2 2 3 3 Dexterity 0 1 1 1 2 2 2 | Projectile Damage Reduction 1.2% Headshot Damage Reduction 16% | |
| Rogue Bard | -2 | Armor Rating 21 22 23 24 25 26 27 | Strength 1 1 1 2 2 3 3 Dexterity 0 1 1 1 2 2 2 | Headshot Damage Reduction 8% | |
| Bard Druid | -2 | Armor Rating 26 27 28 29~30 31~32 33 34 | Strength 1 2 2 3 4 5 5 | Headshot Damage Reduction 8% | |
| Fighter Cleric | -5 | Armor Rating 51 54 57 60 63 66 69 | Vigor 1 1 1 2 2 3 3 Will 0 1 1 1 2 2 2 | Projectile Damage Reduction 2.1% Headshot Damage Reduction 22% | |
| Ranger Barbarian | -3 | Armor Rating 33 34 35 36 37 38 39 | Strength 1 1 1 2 2 3 3 | Headshot Damage Reduction 11% Headshot Damage Modifier 2.5% 3% 3% 3% 3.5% 3.5% 4% | |
| Barbarian | -3 | Armor Rating 31 34 37 40 43 46 49 | Agility 1 2 2 3 4 5 5 | Projectile Damage Reduction 2% Headshot Damage Reduction 15% | |
| Fighter | -4 | Armor Rating 42 45 48 51 54 57 60 | Will 1 2 2 3 4 5 5 | Projectile Damage Reduction 1.8% Headshot Damage Reduction 16% Action Speed 1.4% 1.4% 1.4% 1.6% 1.8% 2% 2.2% | |
| Barbarian | -5 | Armor Rating 44 47 50 53 56 59 62 | Agility 1 1 1 2 2 3 3 Dexterity 0 1 1 1 2 2 2 | Projectile Damage Reduction 2.1% Headshot Damage Reduction 18% | |
| Wizard Warlock | -2 | Armor Rating 20 21 22 23~24 25~26 27 28 | Headshot Damage Reduction 8% Magical Power 1 2 2 3 4 5 5 Memory Capacity Add 3 | ||
| -2 | Armor Rating 20 21 22 23 24 25 26 | Vigor 1 1 1 2 2 2 2 Dexterity 1 1 1 1 2 2 2 Agility 0 1 1 1 1 2 2 | Headshot Damage Reduction 5% |