From Dark and Darker Wiki

(Changing to python-esque whitespace formatting. Changed if then else structure more efficiently handle artifacts.)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#vardefine:rarities|{{Weapon Data|{{{1}}}|rarities}}}}<!--
-->{{#vardefine:rarities|{{Weapon Data|{{{1}}}|rarities}} }}<!--
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
-->|{{Tabs<!--
-->|{{Tabs<!--
Line 6: Line 6:
-->|content1 =<!--
-->|content1 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|0}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|0}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|0}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|0}} }}<!--
-->|content2 =<!--
-->|content2 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|1}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|1}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|1}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|1}} }}<!--
-->|content3 =<!--
-->|content3 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|2}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|2}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|2}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|2}} }}<!--
-->|content4 =<!--
-->|content4 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|3}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|3}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|3}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|3}} }}<!--
-->|content5 =<!--
-->|content5 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|4}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|4}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|4}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|4}} }}<!--
-->|content6 =<!--
-->|content6 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|5}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|5}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|5}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|5}} }}<!--
-->|content7 =<!--
-->|content7 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|6}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|6}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|6}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|6}} }}<!--
-->|content8 =<!--
-->|content8 =<!--
-->{{#if:{{#pos:{{#var:rarities}}|7}}<!--
-->{{#if:{{#pos:{{#var:rarities}}|7}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|7}}}}<!--
-->|{{GenerateWeaponInfobox|{{{1}}}|7}} }} }}<!--
-->|{{#if:{{Weapon Data|{{{1}}}|artifactname}}<!--
-->|{{GenerateWeaponInfobox|{{Weapon Data|{{{1}}}|artifactname}}|7}}}}}}<!--
-->|<div class="cardtabs" data-cardtabs><!--
-->|<div class="cardtabs" data-cardtabs><!--
-->{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}<!--
-->{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}} }}</div>}}<!--
--></includeonly><noinclude>
--></includeonly><noinclude>
<table class="wikitable">
<table class="wikitable">
Line 39: Line 37:
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponTabs|Arming Sword}}</pre></td>
<pre>{{GenerateWeaponTabs|Flanged Mace}}</pre></td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateWeaponTabs|Arming Sword}}</td></tr>
{{GenerateWeaponTabs|Flanged Mace}}</td></tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">

Latest revision as of 19:50, 20 April 2025

Code Preview
{{GenerateWeaponTabs|Flanged Mace}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 
Flanged Mace 1.png
-
Physical Base Weapon Damage 31
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
1
Sell Price:
0
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
Flanged Mace 2.png
-
Physical Base Weapon Damage 32
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
2
Sell Price:
6
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
Flanged Mace 3.png
-
Physical Base Weapon Damage 33
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
20
Sell Price:
9
Item Achieve:
3
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
Flanged Mace 4.png
-
Physical Base Weapon Damage 34
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
30
Sell Price:
18
Item Achieve:
6
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
Flanged Mace 5.png
-
Physical Base Weapon Damage 35
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
40
Sell Price:
30
Item Achieve:
9
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
Flanged Mace 6.png
-
Physical Base Weapon Damage 36
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
50
Sell Price:
60
Item Achieve:
15
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
Flanged Mace 7.png
-
Physical Base Weapon Damage 37
-
-
Armor Penetration 15%
-
-
Move Speed -20
-
Required Class:
Weapon Type:
Mace
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
41.36x7.34x6.54
1x3InvSlot.jpg
Gear Score:
70
Sell Price:
90
Item Achieve:
30
A slow and heavy mace designed with crown-shaped blunt edges, supporting even reckless swings.
{{GenerateWeaponTabs|Longsword}}
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 
Longsword 1.png
-
Physical Base Weapon Damage 38
-
-
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:
1
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 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:
5
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 40
-
-
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:
25
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 41
-
-
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:
40
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 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:
50
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 43
-
-
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:
65
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.
Longsword 7.png
-
Physical Base Weapon Damage 44
-
-
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:
90
Sell Price:
120
Item Achieve:
40
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 24
-
-
Magical Base Weapon Damage 1
-
-
Move Speed -15
-
Required Class:
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
55.57x13.34x6.64
1x3InvSlot.jpg
Gear Score:
50
Sell Price:
60
Item Achieve:
9
A blade fused with unholy blood is said to become almost sentient, craving destruction.