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 = {{ | |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}}