From Dark and Darker Wiki

(Temporarily added armor type onto iconbox)
(Fixed loop issue. Fixed depreciated string for "Magical Resistance".)
 
Line 7: Line 7:
||<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Class Requirements</th>
||<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Class Requirements</th>
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Movement Speed</th>}}
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Movement Speed</th>}}
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Armor/Magic Rating</th>
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Armor/magical Rating</th>
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Attributes</th>
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Attributes</th>
<th style="width:25%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Other</th>
<th style="width:25%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Other</th>
Line 57: Line 57:


Magic/Armor Rating
Magic/Armor Rating
--><td>{{#if:{{#pos:{{#var:AllStats}}|Magic Resistance}}<!--
--><td>{{#if:{{#pos:{{#var:AllStats}}|Magical Resistance}}<!--
-->|<div style="display:inline-block; vertical-align:top; border-right:40px solid #0000;"><!--
-->|<div style="display:inline-block; vertical-align:top; margin-right:15px; margin-left:15px;"><!--
--><span style="color:#eee8;">Magic Resistance<br></span><!--
--><span style="color:#eee8;">Magical Resistance<br></span><!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance}} }}<!--
-->|{{#var:armor_stat}}<!--
-->|{{#var:armor_stat}}<!--
-->|{{#vardefine:use_horizontal_format|{{#if:{{Armor Data|{{#var:current}}|stats|armor rating 5}}|1}} }}<!--
-->|{{#vardefine:use_horizontal_format|{{#if:{{Armor Data|{{#var:current}}|stats|armor rating 5}}|1}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 1}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 1}} }}<!--
-->|<span class="colorrarity1">{{#var:armor_stat}}</span><br>}}<!--
-->|<span class="colorrarity1">{{#var:armor_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 2}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 2}} }}<!--
-->|<span class="colorrarity2">{{#var:armor_stat}}</span><br>}}<!--
-->|<span class="colorrarity2">{{#var:armor_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 3}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 3}} }}<!--
-->|<span class="colorrarity3">{{#var:armor_stat}}</span><br>}}<!--
-->|<span class="colorrarity3">{{#var:armor_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 4}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 4}} }}<!--
-->|<span class="colorrarity4">{{#var:armor_stat}}</span><br>}}<!--
-->|<span class="colorrarity4">{{#var:armor_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 5}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 5}} }}<!--
-->|<span class="colorrarity5">{{#var:armor_stat}}</span><br>}}<!--
-->|<span class="colorrarity5">{{#var:armor_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 6}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 6}} }}<!--
-->|<span class="colorrarity6">{{#var:armor_stat}}</span><br>}}<!--
-->|<span class="colorrarity6">{{#var:armor_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magic resistance 7}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|magical resistance 7}} }}<!--
-->|<span class="colorrarity7">{{#var:armor_stat}}</span>}} }}</div>}}<!--
-->|<span class="colorrarity7">{{#var:armor_stat}}</span>}} }}</div>}}<!--
-->{{#if:{{#pos:{{#var:AllStats}}|Armor Rating}}<!--
-->{{#if:{{#pos:{{#var:AllStats}}|Armor Rating}}<!--
-->|<div style="display:inline-block; vertical-align:top;"><!--
-->|<div style="display:inline-block; vertical-align:top; margin-right:15px; margin-left:15px;"><!--
--><span style="color:#eee8;">Armor Rating<br></span><!--
--><span style="color:#eee8;">Armor Rating<br></span><!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|armor rating}} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|armor rating}} }}<!--
Line 98: Line 98:


Sieve Stats into Attributes and Others
Sieve Stats into Attributes and Others
-->{{#arraydefine:Stats|{{Armor Data|{{#var:current}}|Stats|AllStats}} }}<!--
-->{{#arraydefine:Stats|{{#var:AllStats}} }}<!--
-->{{#arraydefine:attributes}}<!--
-->{{#arraydefine:ResistancesAndMoveSpeed|Armor Rating,Magical Resistance,Move Speed}}<!--
-->{{#arraydefine:others}}<!--
-->{{#arraydefine:AllAttributes|Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness}}<!--
-->{{#loop:i|0|{{#arraysize:Stats}}<!--
 
-->|{{#vardefine:Stat|{{#arrayindex:Stats|{{#var:i}} }} }}<!--
-->{{#arrayintersect:Attributes|Stats|AllAttributes}}<!--
-->{{#if:{{#pos:Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness|{{#var:Stat}} }}<!--
-->{{#arraydiff:Others|Stats|AllAttributes|ResistancesAndMoveSpeed}}<!--
-->|{{#arraydefine:temp|{{#var:Stat}} }}{{#arraymerge:attributes|attributes|temp}}<!--
-->|{{#if:{{#pos:Armor Rating,Magic Resistance,Move Speed|{{#var:Stat}} }}<!--
-->||{{#arraydefine:temp|{{#var:Stat}} }}{{#arraymerge:others|others|temp}} }} }} }}<!--


Attribute Stats
Attribute Stats
--><td><!--
--><td><!--
-->{{#loop:i|0|{{#arraysize:attributes}}<!--
-->{{#loop:i|0|{{#arraysize:Attributes}}<!--
-->|{{#vardefine:attribute|{{#arrayindex:attributes|{{#var:i}} }} }}<!--
-->|{{#vardefine:attribute|{{#arrayindex:Attributes|{{#var:i}} }} }}<!--
--><div style="display:inline-block; vertical-align:top; {{#ifexpr:{{#var:i}}>0|border-left:40px solid #0000;}}"><!--
--><div style="display:inline-block; vertical-align:top; margin-right:15px; margin-left:15px;"><!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|{{#var:attribute}} }} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|{{#var:attribute}} }} }}<!--
-->|<span style="color:#eee8;">{{#var:attribute}}</span><br><!--
-->|<span style="color:#eee8;">{{#var:attribute}}</span><br><!--
Line 134: Line 131:
Other Stats
Other Stats
--><td><!--
--><td><!--
-->{{#loop:i|0|{{#arraysize:others}}<!--
-->{{#loop:i|0|{{#arraysize:Others}}<!--
-->|{{#vardefine:stat|{{#arrayindex:others|{{#var:i}} }} }}<!--
-->|{{#vardefine:stat|{{#arrayindex:Others|{{#var:i}} }} }}<!--
--><div style="display:inline-block; vertical-align:top; {{#ifexpr:{{#var:i}}>0|border-left:40px solid #0000;}}"><!--
--><div style="display:inline-block; vertical-align:top; margin-right:15px; margin-left:15px;"><!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|{{#var:stat}} }} }}<!--
-->{{#if:{{#vardefineecho:armor_stat|{{Armor Data|{{#var:current}}|stats|{{#var:stat}} }} }}<!--
-->|<span style="color:#eee8;">{{#var:stat}}</span><br><!--
-->|<span style="color:#eee8;">{{#var:stat}}</span><br><!--

Latest revision as of 03:29, 22 July 2024

  • 1={Uncraftable,Craftable,Both}
  • 2={Foot,Back,Chest,Head,Legs,Hands}

Example

Code Preview
{{GenerateArmorTable|Uncraftable|Head}}
Name Class Requirements Movement Speed Armor/magical Rating Attributes Other
ArmetPlate
Armet
Fighter-7
Armor Rating
31
32~33
34~36
37~38
39~40
41
43~44
Strength
1
2
3
4
5
6
7
Projectile Damage Reduction
2.1%
Headshot Damage Reduction
18%
Fighter
Barbarian
-6
Magical Resistance
30
Armor Rating
19
20~21
22~23
24~25
26~27
28
30~31
Dexterity
1
2
3
4
5
6
7
Projectile Damage Reduction
1.2%
Headshot Damage Reduction
15%
Fighter
Cleric
-4
Magical Resistance
10
Armor Rating
21
22~23
24~26
27~28
29~30
31
33~34
Agility
1
2
3
4
5
6
7
Projectile Damage Reduction
0.6%
Headshot Damage Reduction
13%
Cleric-2
Magical Resistance
20
Armor Rating
10
11
12~13
14
15
16
18~19
Will
1
2
3
4
5
6
7
Headshot Damage Reduction
8%
Fighter
Cleric
-7
Armor Rating
28
30~31
32~34
35~36
37
37~38
40~41
Strength
1
1
2
2
3
3
4
Vigor
1
2
2
3
3
4
4
Projectile Damage Reduction
1.8%
Headshot Damage Reduction
18%
Druid-2
Armor Rating
12
13
14~15
16
17
18
20~21
Strength
1
2
2
3
3
4
4
Will
1
1
2
2
3
3
4
Headshot Damage Reduction
8%
Druid-3
Armor Rating
18
19
20~21
22
23
24
26~27
Dexterity
1
1
2
2
3
3
4
Vigor
1
2
2
3
3
4
4
Headshot Damage Reduction
11%
Bard-2
Armor Rating
15
16~17
18
19
20
21
23~24
Knowledge
1
2
3
4
5
6
7
Headshot Damage Reduction
9%
Ranger
Druid
-4
Magical Resistance
15
Armor Rating
13
14
15~16
17
18
19
21~22
Strength
1
2
3
4
5
6
7
Headshot Damage Reduction
8%
Barbarian-6
Magical Resistance
15
Armor Rating
22
23~25
26~28
29~30
31~32
33
35~36
Vigor
1
2
3
4
5
6
7
Projectile Damage Reduction
1.2%
Headshot Damage Reduction
15%
Fighter
Cleric
-8
Armor Rating
34
36~37
38~40
41~42
43
44
46~47
Knowledge
1
2
3
4
5
6
7
Projectile Damage Reduction
2.1%
Headshot Damage Reduction
23%
Fighter
Cleric
-8
Magical Resistance
-10
Armor Rating
35
36~37
38~40
41~42
43~44
45
47~48
Vigor
1
2
3
4
5
6
7
Projectile Damage Reduction
2.1%
Headshot Damage Reduction
23%
Fighter
Cleric
-5
Magical Resistance
10
Armor Rating
22
23~25
26~28
29~30
31~32
33
35~36
Knowledge
1
2
3
4
5
6
7
Projectile Damage Reduction
0.6%
Headshot Damage Reduction
13%
Bard-2
Armor Rating
17
18
19~20
20~21
22
23
25~26
Resourcefulness
1
2
3
4
5
6
7
Headshot Damage Reduction
10%
-3
Armor Rating
18
19~20
21
22
23
24
26~27
Vigor
1
2
3
4
5
6
7
Headshot Damage Reduction
11%
Barbarian-6
Armor Rating
20
22~23
24~26
27~28
29
30
32~33
Strength
1
1
2
2
3
3
4
Vigor
1
2
2
3
3
4
4
Projectile Damage Reduction
0.9%
Headshot Damage Reduction
13%
Warlock-2
Armor Rating
12
13~14
15~17
18~19
20
21
23~24
Headshot Damage Reduction
8%
Outgoing Magical Healing Add
1
2
3
4
5
6
7
Fighter
Ranger
Cleric
Bard
-4
Armor Rating
21
23~24
25~27
28~29
30
31
33~34
Will
1
1
2
2
2
3
3
Knowledge
1
1
1
2
2
2
3
Resourcefulness
1
2
2
2
3
3
3
Projectile Damage Reduction
0.9%
Headshot Damage Reduction
14%
Ranger-2
Armor Rating
13
14
15~16
17
18
19
21~22
Agility
1
2
3
4
5
6
7
Headshot Damage Reduction
8%
Rogue-2
Armor Rating
13
14
15~16
17
18
19
21~22
Agility
1
2
3
4
5
6
7
Headshot Damage Reduction
8%
SalletPlate
Sallet
Fighter
Cleric
-4
Armor Rating
20
22~23
24~26
27~28
29
30
32~33
Strength
1
1
2
2
3
3
4
Vigor
1
2
2
3
3
4
4
Projectile Damage Reduction
0.9%
Headshot Damage Reduction
13%
Rogue
Warlock
-3
Magical Resistance
15
Armor Rating
12
13
14~15
16
17
18
20~21
Strength
1
2
3
4
5
6
7
Headshot Damage Reduction
8%
Rogue
Warlock
Armor Rating
2
3
4~5
6
7
8
10~11
Agility
1
2
2
2
3
3
3
Dexterity
1
1
2
2
2
3
3
Strength
1
1
1
2
2
2
3
Fighter
Ranger
Cleric
-5
Armor Rating
23
24~25
26~28
29~30
31
32
34~35
Agility
1
1
2
2
3
3
4
Dexterity
1
2
2
3
3
4
4
Projectile Damage Reduction
1.2%
Headshot Damage Reduction
16%
Bard
Druid
-2
Armor Rating
14
15
16~17
18
19
20
22~23
Strength
1
2
3
4
5
6
7
Headshot Damage Reduction
8%
Fighter
Cleric
-10
Armor Rating
33
34~35
36~39
40~41
42
43
45~46
Will
1
1
2
2
3
3
4
Vigor
1
2
2
3
3
4
4
Projectile Damage Reduction
2.1%
Headshot Damage Reduction
24%
Barbarian-6
Armor Rating
21
22~24
25~27
28~29
30
31
33~34
Agility
1
2
3
4
5
6
7
Projectile Damage Reduction
2%
Headshot Damage Reduction
15%
Fighter-6
Armor Rating
23
24~26
27~29
30~31
32
33
35~36
Will
1
2
3
4
5
6
7
Projectile Damage Reduction
1.8%
Headshot Damage Reduction
16%
Action Speed
1%
1.2%
1.4%
1.6%
1.8%
2%
2.2%
Barbarian-8
Armor Rating
29
31~32
33~35
36~37
38
39
41~42
Agility
1
1
2
2
3
3
4
Dexterity
1
2
2
3
3
4
4
Projectile Damage Reduction
2.1%
Headshot Damage Reduction
18%
Wizard
Warlock
-2
Armor Rating
11
12
13~15
16
17
18
20~21
Headshot Damage Reduction
5%
Magical Power
1
2
3
4
5
6
7