From Dark and Darker Wiki

m (Removing debug statements.)
(Merged templates.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#arraydefine:All|{{Accessory Data|All}}}}<!--
--><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width:20%; color:#eee; background:transparent; text-align:center; vertical-align:middle;"><!--
-->{{#arraydefine:Ring|}}<!--
--><tr><!--
-->{{#arraydefine:Pendant|}}<!--
--><th style="width:50%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">{{{1}}}s</th><!--
-->{{#loop:i|0|{{#arraysize:All}}<!--
--><th style="width:50%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th></tr><!--
-->|{{#vardefine:Item|{{#arrayindex:All|{{#var:i}}}}}}<!--
-->{{#arraydefine:Accessories|{{Accessory Data|AllLists|SlotType|Accessory|Both|{{{1}}}}}}}<!--
-->{{#arraydefine:temp|{{#var:Item}}}}<!--
-->{{#loop:i|0|{{#arraysize:Accessories}}<!--
-->{{#if:{{#pos:{{#var:Item}}|Ring}}<!--
-->|{{#vardefine:current_accessory|{{#arrayindex:Accessories|{{#var:i}}}}}}<!--
-->|{{#arraymerge:Ring|Ring|temp}}<!--
-->{{#vardefine:rarities|{{Accessory Data|{{#var:current_accessory}}|rarities}}}}<!--
-->|{{#arraymerge:Pendant|Pendant|temp}}}}}}<!--
--><tr><!--
-->{{#loop:i|0|{{#arraysize:{{{1}}}}}<!--
--><td><!--
-->|{{GenerateAccessoryRow|{{#arrayindex:{{{1}}}|{{#var:i}}}}}}}}<!--
-->{{Iconbox<!--
-->|{{#var:current_accessory}}<!--
-->|rarity=<!--
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
-->|3<!--
-->|{{#var:rarities}} }} }}</td><!--
--><td><!--
-->{{#arraydefine:stats|{{Accessory Data|{{#var:current_accessory}}|stats|AllStats}} }}<!--
-->{{#loop:i|0|{{#arraysize:stats}}<!--
-->|{{#vardefine:Stat|{{#arrayindex:stats|{{#var:i}} }} }}<!--
--><span style="color:#eee8">{{#var:Stat}}</span><br><!--
-->{{#if:{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} }}<!--
-->|<span class="colorrarity{{#var:rarities}}">{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} }}</span><br><!--
-->|{{#if:{{#vardefineecho:Accessory_Stat|{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} 3}} }}<!--
-->|<span class="colorrarity3">{{#var:Accessory_Stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:Accessory_Stat|{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} 4}} }}<!--
-->|<span class="colorrarity4">{{#var:Accessory_Stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:Accessory_Stat|{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} 5}} }}<!--
-->|<span class="colorrarity5">{{#var:Accessory_Stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:Accessory_Stat|{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} 6}} }}<!--
-->|<span class="colorrarity6">{{#var:Accessory_Stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:Accessory_Stat|{{Accessory Data|{{#var:current_accessory}}|Stats|{{#var:Stat}} 7}} }}<!--
-->|<span class="colorrarity7">{{#var:Accessory_Stat}}</span><br>}} }} }}</td></tr>}}</table><!--


--></includeonly><noinclude>
--></includeonly><noinclude>
<pre style="width:fit-content">{{GenerateAccessoryRows|Pendant}}</pre>
<pre style="width:fit-content">{{GenerateAccessoryTable|Necklace}}</pre>
{{GenerateAccessoryRows|Pendant}}
{{GenerateAccessoryTable|Necklace}}
<pre style="width:fit-content">{{GenerateAccessoryRow|Ring}}</pre>
<pre style="width:fit-content">{{GenerateAccessoryTable|Ring}}</pre>
{{GenerateAccessoryRows|Ring}}
{{GenerateAccessoryTable|Ring}}
</noinclude>
</noinclude>

Latest revision as of 06:51, 17 July 2024

{{GenerateAccessoryTable|Necklace}}
NecklacesStats
Will
1
2
3
4
5
Vigor
1
2
3
4
5
Magical Resistance
32~35
Luck
18~25
Agility
1
2
3
4
5
True Physical Damage
1
2
3
4
5
Dexterity
1
2
3
4
5
Max Health Add
5
7
9
11
13
Knowledge
1
2
3
4
5
Strength
1
2
3
4
5
True Magical Damage
1
2
3
4
5
Resourcefulness
1
2
3
4
5
Magical Resistance
25~28
29~31
32~35
36~38
39~41
Armor Rating Add
10~12
13~16
17~20
21~24
25~27
{{GenerateAccessoryTable|Ring}}
RingsStats
Strength
2
Vigor
3
Luck
6~12
Strength
1
2
3
4
5
Dexterity
1
2
3
4
5
Agility
1
2
3
4
5
Will
1
2
3
4
5
Resourcefulness
1
2
3
4
5
Vigor
1
2
3
4
5
Knowledge
1
2
3
4
5