From Dark and Darker Wiki

m (Changing Template to use calls that work with Weapon Data.)
(Changing to python-esque whitespace formatting. Changed if then else structure more efficiently handle artifacts.)
Line 1: Line 1:
<includeonly>{{#vardefine:rarities|{{Weapon Data|{{{1}}}|rarities}}}}<!--
<includeonly><!--
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
-->{{#vardefine:rarities|{{Weapon Data|{{{1}}}|rarities}}}}<!--
-->|{{Tabs
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
|firstShownTier={{#expr:{{#explode:{{Weapon Data|{{{1}}}|rarities}}|,|0|2}}+1}}
-->|{{Tabs<!--
|content1 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|0}}<!--
-->|firstShownTier={{#expr:{{#explode:{{#var:rarities}}|,|0|2}}+1}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|0}}}}
-->|content1 =<!--
|content2 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|1}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|0}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|1}}}}
-->|{{GenerateWeaponInfobox|{{{1}}}|0}}}}<!--
|content3 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|2}}<!--
-->|content2 =<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|2}}}}
-->{{#if:{{#pos:{{#var:rarities}}|1}}<!--
|content4 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|3}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|1}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|3}}}}
-->|content3 =<!--
|content5 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|4}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|2}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|4}}}}
-->|{{GenerateWeaponInfobox|{{{1}}}|2}}}}<!--
|content6 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|5}}<!--
-->|content4 =<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|5}}}}
-->{{#if:{{#pos:{{#var:rarities}}|3}}<!--
|content7 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|6}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|3}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|6}}}}
-->|content5 =<!--
|content8 ={{#if:{{#pos:{{Weapon Data|{{{1}}}|rarities}}|7}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|4}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|4}}}}<!--
-->|content6 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|5}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|5}}}}<!--
-->|content7 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|6}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|6}}}}<!--
-->|content8 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|7}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|7}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|7}}}}<!--
-->{{#if:{{Weapon Data|{{{1}}}|artifactname}}<!--
-->|{{#if:{{Weapon Data|{{{1}}}|artifactname}}<!--
-->|{{GenerateWeaponInfobox|{{Weapon Data|{{{1}}}|artifactname}}|7}}}}
-->|{{GenerateWeaponInfobox|{{Weapon Data|{{{1}}}|artifactname}}|7}}}}}}<!--
}}<!--
-->|<div class="cardtabs" data-cardtabs><!--
-->|<div class="cardtabs" data-cardtabs>{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}</includeonly><noinclude>
-->{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}<!--
--></includeonly><noinclude>
<table class="wikitable">
<table class="wikitable">
<tr>
<tr>
<th>Code</th>
<th>Code</th>
<th>Preview</th>
<th>Preview</th></tr>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponTabs|Arming Sword}}</pre>
<pre>{{GenerateWeaponTabs|Arming Sword}}</pre></td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateWeaponTabs|Arming Sword}}
{{GenerateWeaponTabs|Arming Sword}}</td></tr>
</td>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponTabs|Longsword}}</pre>
<pre>{{GenerateWeaponTabs|Longsword}}</pre></td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateWeaponTabs|Longsword}}
{{GenerateWeaponTabs|Longsword}}</td></tr>
</td>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponTabs|Demon's Glee}}</pre>
<pre>{{GenerateWeaponTabs|Demon's Glee}}</pre></td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateWeaponTabs|Demon's Glee}}
{{GenerateWeaponTabs|Demon's Glee}}</td></tr>
</td>
</tr>
</table></noinclude>
</table></noinclude>

Revision as of 05:04, 9 April 2024

Code Preview
{{GenerateWeaponTabs|Arming Sword}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
Arming Sword 1.png
-
Physical Base Weapon Damage 29
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
47.24x10.38x1.67
1x3InvSlot.jpg
Gear Score:
1
Sell Price:
0
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
Arming Sword 2.png
-
Physical Base Weapon Damage 30~31
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
47.24x10.38x1.67
1x3InvSlot.jpg
Gear Score:
2
Sell Price:
6
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
Arming Sword 3.png
-
Physical Base Weapon Damage 32~33
-
-
Move Speed -20
-
-
Up to 1 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
47.24x10.38x1.67
1x3InvSlot.jpg
Gear Score:
27
Sell Price:
9
Item Achieve:
3
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
Arming Sword 4.png
-
Physical Base Weapon Damage 34~35
-
-
Move Speed -20
-
-
Up to 2 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
47.24x10.38x1.67
1x3InvSlot.jpg
Gear Score:
36
Sell Price:
18
Item Achieve:
6
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
Arming Sword 5.png
-
Physical Base Weapon Damage 36~37
-
-
Move Speed -20
-
-
Up to 3 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
47.24x10.38x1.67
1x3InvSlot.jpg
Gear Score:
54
Sell Price:
30
Item Achieve:
9
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
Arming Sword 6.png
-
Physical Base Weapon Damage 38~39
-
-
Move Speed -20
-
-
Up to 4 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
47.24x10.38x1.67
1x3InvSlot.jpg
Gear Score:
72
Sell Price:
60
Item Achieve:
15
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
{{GenerateWeaponTabs|Longsword}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
Longsword 1.png
-
Physical Base Weapon Damage 39
-
-
Move Speed -30
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
72.75x12.87x2.05
1x4InvSlot.jpg
Gear Score:
2
Sell Price:
0
A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp.
Longsword 2.png
-
Physical Base Weapon Damage 40~42
-
-
Move Speed -30
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
72.75x12.87x2.05
1x4InvSlot.jpg
Gear Score:
4
Sell Price:
8
A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp.
Longsword 3.png
-
Physical Base Weapon Damage 43~44
-
-
Move Speed -30
-
-
Up to 1 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
72.75x12.87x2.05
1x4InvSlot.jpg
Gear Score:
45
Sell Price:
12
Item Achieve:
4
A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp.
Longsword 4.png
-
Physical Base Weapon Damage 45~46
-
-
Move Speed -30
-
-
Up to 2 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
72.75x12.87x2.05
1x4InvSlot.jpg
Gear Score:
60
Sell Price:
24
Item Achieve:
8
A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp.
Longsword 5.png
-
Physical Base Weapon Damage 47
-
-
Move Speed -30
-
-
Up to 3 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
72.75x12.87x2.05
1x4InvSlot.jpg
Gear Score:
90
Sell Price:
40
Item Achieve:
12
A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp.
Longsword 6.png
-
Physical Base Weapon Damage 48
-
-
Move Speed -30
-
-
Up to 4 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
72.75x12.87x2.05
1x4InvSlot.jpg
Gear Score:
120
Sell Price:
80
Item Achieve:
20
A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp.
{{GenerateWeaponTabs|Demon's Glee}}
Demon's Glee.png
-
Physical Base Weapon Damage 28
-
-
Move Speed -15
-
-
Magical Base Weapon Damage 1
-
-
Up to 4 extra enchantments
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
55.82x7.53x5.89
1x3InvSlot.jpg
Gear Score:
54
Sell Price:
60
Item Achieve:
9
A blade fused with unholy blood is said to become almost sentient, craving destruction.