From Dark and Darker Wiki

(Automated edit: Fixed a mistake with last push regarding item linking to other datas)
(Automated edit: HF53)
Line 1,356: Line 1,356:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=33~34
|physical weapon damage=33~34
|armor penetration=10%
|move speed=-40
|move speed=-40
|undead damage bonus=15%
|undead damage bonus=15%
|allstats=Physical Weapon Damage,Move Speed,Undead Damage Bonus
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed,Undead Damage Bonus
|all=physical weapon damage,move speed,undead damage bonus,allstats
|all=physical weapon damage,armor penetration,move speed,undead damage bonus,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 1,871: Line 1,872:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=37
|physical weapon damage=37
|armor penetration=3~5%
|armor penetration=10%
|move speed=-40
|move speed=-40
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
Line 2,609: Line 2,610:
|physical weapon damage 6=46
|physical weapon damage 6=46
|physical weapon damage 7=46
|physical weapon damage 7=46
|armor penetration=20%
|armor penetration=30%
|move speed=-50
|move speed=-50
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
Line 3,053: Line 3,054:
|all=0,1,2,3,4,5,6,7
|all=0,1,2,3,4,5,6,7
}}
}}
|classes=[[Wizard]],[[Warlock]]
|classes=[[Wizard]],[[Warlock]],[[Druid]]
|iscraftable=true
|iscraftable=true
|sellprices={{#switch:{{lc:{{{3|}}}}}
|sellprices={{#switch:{{lc:{{{3|}}}}}
Line 3,067: Line 3,068:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=23~24
|physical weapon damage=23~24
|armor penetration=10%
|move speed=-10
|move speed=-10
|undead damage bonus=15%
|undead damage bonus=15%
|allstats=Physical Weapon Damage,Move Speed,Undead Damage Bonus
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed,Undead Damage Bonus
|all=physical weapon damage,move speed,undead damage bonus,allstats
|all=physical weapon damage,armor penetration,move speed,undead damage bonus,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 3,177: Line 3,179:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=27
|physical weapon damage=27
|armor penetration=10%
|move speed=-10
|move speed=-10
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage,move speed,allstats
|all=physical weapon damage,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 3,969: Line 3,972:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=35~36
|physical weapon damage=35~36
|armor penetration=10%
|move speed=-40
|move speed=-40
|undead damage bonus=15%
|undead damage bonus=15%
|allstats=Physical Weapon Damage,Move Speed,Undead Damage Bonus
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed,Undead Damage Bonus
|all=physical weapon damage,move speed,undead damage bonus,allstats
|all=physical weapon damage,armor penetration,move speed,undead damage bonus,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 4,371: Line 4,375:
|all=0,1,2,3,4,5,6,7
|all=0,1,2,3,4,5,6,7
}}
}}
|classes=[[Fighter]],[[Cleric]]
|classes=[[Fighter]],[[Cleric]],[[Druid]]
|iscraftable=true
|iscraftable=true
|sellprices={{#switch:{{lc:{{{3|}}}}}
|sellprices={{#switch:{{lc:{{{3|}}}}}
Line 5,079: Line 5,083:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=27
|physical weapon damage=27
|armor penetration=5%
|move speed=-30
|move speed=-30
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage,move speed,allstats
|all=physical weapon damage,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 8,481: Line 8,486:
|physical weapon damage 5=44~45
|physical weapon damage 5=44~45
|physical weapon damage 6=46
|physical weapon damage 6=46
|armor penetration=5%
|armor penetration=20%
|move speed=-50
|move speed=-50
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
Line 9,446: Line 9,451:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=46
|physical weapon damage=46
|armor penetration=5%
|armor penetration=20%
|move speed=-50
|move speed=-50
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
Line 9,782: Line 9,787:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=38
|physical weapon damage=38
|armor penetration=10%
|move speed=-40
|move speed=-40
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage,move speed,allstats
|all=physical weapon damage,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 10,436: Line 10,442:
|physical weapon damage 5=37
|physical weapon damage 5=37
|physical weapon damage 6=38
|physical weapon damage 6=38
|armor penetration=10%
|move speed=-40
|move speed=-40
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,move speed,allstats
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 10,741: Line 10,748:
|all=0,1,2,3,4,5,6,7
|all=0,1,2,3,4,5,6,7
}}
}}
|classes=[[Fighter]],[[Cleric]]
|classes=[[Fighter]],[[Cleric]],[[Druid]]
|iscraftable=true
|iscraftable=true
|sellprices={{#switch:{{lc:{{{3|}}}}}
|sellprices={{#switch:{{lc:{{{3|}}}}}
Line 10,761: Line 10,768:
|physical weapon damage 6=27
|physical weapon damage 6=27
|physical weapon damage 7=27
|physical weapon damage 7=27
|armor penetration=10%
|move speed=-10
|move speed=-10
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,physical weapon damage 7,move speed,allstats
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,physical weapon damage 7,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 11,987: Line 11,995:
|global={{#switch:{{lc:{{{9|}}}}}
|global={{#switch:{{lc:{{{9|}}}}}
|duration=3
|duration=3
|spell casting speed=5%
|spell casting speed=50
|all=Duration,Spell Casting Speed
|all=Duration,Spell Casting Speed
}}
}}
Line 12,579: Line 12,587:
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical weapon damage=31~32
|physical weapon damage=31~32
|armor penetration=10%
|move speed=-40
|move speed=-40
|undead damage bonus=15%
|undead damage bonus=15%
|allstats=Physical Weapon Damage,Move Speed,Undead Damage Bonus
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed,Undead Damage Bonus
|all=physical weapon damage,move speed,undead damage bonus,allstats
|all=physical weapon damage,armor penetration,move speed,undead damage bonus,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 12,973: Line 12,982:
|all=0,1,2,3,4,5,6,7
|all=0,1,2,3,4,5,6,7
}}
}}
|classes=[[Fighter]],[[Cleric]]
|classes=[[Fighter]],[[Cleric]],[[Druid]]
|iscraftable=true
|iscraftable=true
|sellprices={{#switch:{{lc:{{{3|}}}}}
|sellprices={{#switch:{{lc:{{{3|}}}}}
Line 13,327: Line 13,336:
|physical weapon damage 5=26
|physical weapon damage 5=26
|physical weapon damage 6=27
|physical weapon damage 6=27
|armor penetration=10%
|move speed=-10
|move speed=-10
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,move speed,allstats
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 13,630: Line 13,640:
|physical weapon damage 5=26
|physical weapon damage 5=26
|physical weapon damage 6=27
|physical weapon damage 6=27
|armor penetration=5%
|move speed=-30
|move speed=-30
|allstats=Physical Weapon Damage,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,move speed,allstats
|all=physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,armor penetration,move speed,allstats
}}
}}
|abilities={{#switch:{{lc:{{{3|}}}}}
|abilities={{#switch:{{lc:{{{3|}}}}}
Line 14,189: Line 14,200:
|all=0,1,2,3,4,5,6,7
|all=0,1,2,3,4,5,6,7
}}
}}
|classes=[[Barbarian]],[[Wizard]],[[Cleric]],[[Warlock]]
|classes=[[Barbarian]],[[Wizard]],[[Cleric]],[[Warlock]],[[Druid]]
|impactresistance=3
|impactresistance=3
|iscraftable=true
|iscraftable=true
Line 15,082: Line 15,093:
|physical weapon damage 6=61~62
|physical weapon damage 6=61~62
|physical weapon damage 7=61~62
|physical weapon damage 7=61~62
|armor penetration=25%
|armor penetration=40%
|move speed=-50
|move speed=-50
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed
|allstats=Physical Weapon Damage,Armor Penetration,Move Speed

Revision as of 22:28, 21 June 2024


Usage

{{Weapon_Data|<variable1>|<variable2>|...}}


Variables

  • <item_name>
    • stats
      • <stat_name>
      • allstats
    • abilities
      • <ability_type>
        • <ability_name>
          • <ability_attribute>
    • types
      • <type>
    • hitbox
      • height
      • width
      • height
    • rarities
    • handtype
    • slottype
    • artifactname
    • artifactpower
    • invslots
    • invwidth
    • invheight
    • hitslow
    • hitslowduration
    • flavortext
    • maxammocount
    • maxcount
    • maxcontentscount
    • reloadtime
    • wearingdelaytime
    • equiptime
    • unequiptime
    • ap
      • <rarity>
    • xp
      • <rarity>
    • gearscore
      • <rarity>
    • sellprices
      • <rarity>
    • initialspeed
    • damagefalloff
    • piercecount
    • classes
    • impactresistance
    • interactiontime
    • interactiontimescaling


Global

All attributes that are shared between all other attributes in the same layer are moved to a global layer

For example, if all |movementmultiplier's under Abilities|Primary| are the same, they will be moved to Abilities|Primary|global

See Example 2 for more information


All

All sub-layers can also call |all for a list of all unique attributes For example,

{{Weapon_Data|all}}

will output a list of all items

For example,

{{Weapon_Data|<itemname>|all}}

will output a list of all attributes of a particular

See example 1 and 6 for more information


Examples

Note, some variables may not be applicable to all item categories. The below examples are for the Arming Sword, which only exists in Weapon_Data. Other item categories, like Misc_Data, may have different variables, and obviously don't have others, like abilities

Example 1

All stats of the Arming Sword

{{Weapon_Data|Arming Sword|stats|all}}

Outputs physical weapon damage 1,physical weapon damage 2,physical weapon damage 3,physical weapon damage 4,physical weapon damage 5,physical weapon damage 6,move speed,allstats


Example 2

All shared attributes for Primary attacks of Arming Sword

{{Weapon_Data|Arming Sword|abilities|Primary|global}}

Outputs


Example 3

Damagefalloff widget of Longbow

{{Weapon_Data|Longbow|damagefalloff}}

Outputs


Example 4

All non-artifact rarities of the Arming Sword

{{Weapon_Data|Arming Sword|rarities}}

Outputs 1,2,3,4,5,6


Example 5

Invslots size image of Arming Sword

{{Weapon_Data|Arming Sword|invslots}}

Outputs 1x3InvSlot.jpg


Example 6

All attributes of primary abilities of Arming Sword

{{Weapon_Data|Arming Sword|abilities|Primary|all}}

Outputs Attack 1,Attack 2,Attack 3,Global