From Dark and Darker Wiki

m (Added a check for movespeed data.)
mNo edit summary
Line 1: Line 1:
<includeonly>{{ #arraydefine: stats | {{Weapon_Data|{{{1}}}|stats|allstats}} }}{{Infobox
<includeonly>{{ #arraydefine: stats | {{Weapon_Data|{{{1}}}|stats|allstats}} }}{{Infobox
|name                = {{#ifeq:{{{2}}}|7|{{#if:{{Weapon_Data|{{{1}}}|unique}}|{{Weapon_Data|{{{1}}}|unique}}|{{{1}}}}}|{{{1}}}}}
|name                = {{#ifeq:{{{2}}}|7|{{#if:{{Weapon_Data|{{{1}}}|unique}}|{{Weapon_Data|{{{1}}}|unique}}|{{{1}}}}}|{{{1}}}}}
|image                = {{{1}}} {{{2}}}
|image                = {{#if:{{Weapon_Data|{{{1}}}|craftable}}|{{{1}}}|{{{1}}} {{{2}}}}}
|rarity              = {{{2}}}
|rarity              = {{{2}}}
     |stats ={{
     |stats ={{

Revision as of 23:50, 10 February 2024

Auto creates weapon infobox

Example

{{GenerateWeaponInfobox|<weapon name>|<rarity number>}}
{{GenerateWeaponInfobox|Arming Sword|1}}
Arming Sword
Arming Sword 1.png
-
Physical Weapon Damage 26
-
-
Move Speed -20
-
Required Class:
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
x
1x3InvSlot.jpg
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.
Arming Sword
Arming Sword 7.png
-
Physical Weapon Damage
-
-
Move Speed -20
-
-
Up to 5 extra enchantments
-
Required Class:
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
x
1x3InvSlot.jpg
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.