From Dark and Darker Wiki
m (Cleaning up formatting with whitespace comments. Changed some logic checks and added some #replace string handling.) |
No edit summary |
||
(6 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
-->{{Infobox | -->{{Infobox | ||
|name ={{{1}}} | |name ={{{1}}} | ||
|image ={{#if:{{Weapon Data|{{{1}}}| | |image ={{#if:{{Weapon Data|{{{1}}}|iscraftableby}}{{Weapon Data|{{{1}}}|artifactpower}}|{{{1}}}|{{{1}}} {{{2}}}}} | ||
|rarity ={{{2}}} | |rarity ={{{2}}} | ||
|stats ={{#arraydefine:stats|{{Weapon Data|{{{1}}}|stats|allstats}}}}{{ | |size ={{IconboxInventorySize|Weapon Data|{{{1}}}}} | ||
|stats ={{#arraydefine:stats|{{Weapon Data|{{{1}}}|stats|allstats}}}}<!-- | |||
-->{{#loop:i|0|{{#arraysize:stats}}<!-- | |||
-->|<nowiki/>{{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }}}}}}<!-- | |||
-->{{#ifeq:{{ #var:i }}|0||,}}<!-- | |||
-->{{#var:stat}} <!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{{1}}}|stats|{{#var:stat}}}}}}<!-- | |||
-->|{{#var:weapon_stat}}<!-- | |||
-->|{{Weapon Data|{{{1}}}|stats|{{#var:stat}} {{{2}}}}}}}}} | |||
|special ={{Weapon Data|{{{1}}}|artifactpower}} | |special ={{Weapon Data|{{{1}}}|artifactpower}} | ||
|classes ={{Weapon Data|{{{1}}}|classes}} | |classes ={{Weapon Data|{{{1}}}|classes}} | ||
|enchantments ={{# | |enchantments ={{#if:{{#vardefineecho:numenchants|{{Weapon Data|{{{1}}}|numenchants|{{{2}}}}}}}|{{#var:numenchants}}}} | ||
|handtype ={{Weapon Data|{{{1}}}|handtype}} | |handtype ={{Weapon Data|{{{1}}}|handtype}} | ||
|slottype ={{Weapon Data|{{{1}}}|slottype}} | |slottype ={{Weapon Data|{{{1}}}|slottype}} | ||
Line 25: | Line 24: | ||
|projectilespeed={{Weapon Data|{{{1}}}|initialprojectilespeed}} | |projectilespeed={{Weapon Data|{{{1}}}|initialprojectilespeed}} | ||
|description ={{Weapon Data|{{{1}}}|flavortext}} | |description ={{Weapon Data|{{{1}}}|flavortext}} | ||
|itemachieve ={{Weapon Data|{{{1}}}|AP|{{{2}}}}} | |||
|invslots ={{Weapon Data|{{{1}}}|invslots}} | |invslots ={{Weapon Data|{{{1}}}|invslots}} | ||
|gearscore ={{Weapon Data|{{{1}}}|GearScore|{{{2}}}}} | |||
|sellprice ={{Weapon Data|{{{1}}}|SellPrices|{{{2}}}}} | |||
|nomargin =1 | |nomargin =1 | ||
|nofloat =1 | |nofloat =1 | ||
Line 38: | Line 40: | ||
{{GenerateWeaponInfobox|Arming Sword|1}} | {{GenerateWeaponInfobox|Arming Sword|1}} | ||
{{GenerateWeaponInfobox|Crossbow|4}} | {{GenerateWeaponInfobox|Crossbow|4}} | ||
{{GenerateWeaponInfobox|Demon's Glee| | {{GenerateWeaponInfobox|Demon's Glee|5}} | ||
{{GenerateWeaponInfobox|Fulgor| | {{GenerateWeaponInfobox|Fulgor|8}} | ||
</table> | </table> | ||
</noinclude> | </noinclude> |
Latest revision as of 12:20, 30 April 2025
Auto creates weapon infobox
Example
{{GenerateWeaponInfobox|<weapon name>|<rarity number>}}
{{GenerateWeaponInfobox|Arming Sword|1}}
-
Physical Base Weapon Damage 37
-
-
Armor Penetration 30%
-
-
Move Speed -50
-
Weapon Type:
Crossbow
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
9.07x34.63x47.05
Gear Score:
40
Sell Price:
36
Item Achieve:
12
A powerful mechanical weapon, a single-shot crossbow with a crank that's very abrasive to the hand.
-
Physical Base Weapon Damage 24
-
-
Magical Base Weapon Damage 1
-
-
Move Speed -15
-
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
55.57x13.34x6.64
Gear Score:
50
Sell Price:
60
Item Achieve:
9
A blade fused with unholy blood is said to become almost sentient, craving destruction.
-
Physical Base Weapon Damage 45
-
-
Move Speed -30
-
-
Gain 10% Action Speed. Successful weapon attacks summon a thunderbolt to strike the target dealing 20
Lightning Magical Base Damage (100% Scaling) and causing them to suffer -20% Move Speed Bonus for 1 second.

-
Weapon Type:
Sword
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
80.41x17.14x2.42
Gear Score:
130
Sell Price:
1000
Item Achieve:
40
Long ago, a King was gifted this artifact by someone who valued his sense of dream, justice, love and kindness, hoping to help him carve these principles into the world.