From Dark and Darker Wiki

(added unique power)
(fixed unique power showing up for other rarities)
Line 11: Line 11:
   | <nowiki/>{{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }} }}}}{{#ifeq:{{ #var:i }}|0||,}}{{ #var:stat }} {{Weapon_Data|{{{1}}}|stats|{{ #var:stat }} {{{2}}}}}
   | <nowiki/>{{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }} }}}}{{#ifeq:{{ #var:i }}|0||,}}{{ #var:stat }} {{Weapon_Data|{{{1}}}|stats|{{ #var:stat }} {{{2}}}}}
}}
}}
     |special              = {{Weapon Data|{{{1}}}|uniquepower}}
     |special              ={{#ifeq:{{{2}}}|7|{{Weapon_Data|{{{1}}}|uniquepower}}}}
|classes              = {{Weapon Data|{{{1}}}|classes}}
|classes              = {{Weapon Data|{{{1}}}|classes}}
|slottype            = {{Weapon Data|{{{1}}}|slottype}}
|slottype            = {{Weapon Data|{{{1}}}|slottype}}

Revision as of 08:07, 2 September 2023

Auto creates weapon row

Example

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