From Dark and Darker Wiki

m (Automated edit: HF77)
(Automated edit: HF78)
Line 205: Line 205:
|slottype=Off-Hand
|slottype=Off-Hand
|haspassive=true
|haspassive=true
|artifactpower=Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 8 seconds, and cannot reflect again for a 12 second cooldown in the form of a debuff after the activation period
|artifactpower=Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 3 seconds, and cannot reflect again for a 20 second cooldown in the form of a debuff after the activation period
|invwidth=2
|invwidth=2
|invheight=3
|invheight=3
Line 6,625: Line 6,625:
|frostlight crystal sword={{#switch:{{lc:{{{2|}}}}}
|frostlight crystal sword={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage=19
|physical base weapon damage=17
|magical base weapon damage=19
|magical base weapon damage=18
|move speed=-21
|move speed=-21
|allstats=Physical Base Weapon Damage,Magical Base Weapon Damage,Move Speed
|allstats=Physical Base Weapon Damage,Magical Base Weapon Damage,Move Speed
Line 6,750: Line 6,750:
|all=height,width,depth
|all=height,width,depth
}}
}}
|rarities=5,5
|rarities=5
|handtype=Two Handed
|handtype=Two Handed
|slottype=Main-Hand
|slottype=Main-Hand
Line 6,760: Line 6,760:
|maxcount=1
|maxcount=1
|wearingdelaytime=0
|wearingdelaytime=0
|unequiptime=1
|ap={{#switch:{{lc:{{{3|}}}}}
|ap={{#switch:{{lc:{{{3|}}}}}
|5=20
|5=12
|all=5
|all=5
}}
}}
|xp={{#switch:{{lc:{{{3|}}}}}
|xp={{#switch:{{lc:{{{3|}}}}}
|5=6
|5=5
|all=5
|all=5
}}
}}
Line 6,775: Line 6,774:
|3=0
|3=0
|4=0
|4=0
|5=120
|5=90
|6=0
|6=0
|7=0
|7=0
Line 6,794: Line 6,793:
|frostlight lantern shield={{#switch:{{lc:{{{2|}}}}}
|frostlight lantern shield={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage=26
|physical base weapon damage=29~30
|armor rating=25~26
|armor rating=25~26
|move speed=-15
|move speed=-7
|allstats=Physical Base Weapon Damage,Armor Rating,Move Speed
|allstats=Physical Base Weapon Damage,Armor Rating,Move Speed
|all=physical base weapon damage,armor rating,move speed,allstats
|all=physical base weapon damage,armor rating,move speed,allstats
Line 6,939: Line 6,938:
|all=height,width,depth
|all=height,width,depth
}}
}}
|rarities=5,5
|rarities=5
|handtype=One Handed
|handtype=One Handed
|slottype=Off-Hand
|slottype=Off-Hand
Line 6,949: Line 6,948:
|maxcount=1
|maxcount=1
|wearingdelaytime=0
|wearingdelaytime=0
|unequiptime=0.77
|ap={{#switch:{{lc:{{{3|}}}}}
|ap={{#switch:{{lc:{{{3|}}}}}
|5=30
|5=18
|all=5
|all=5
}}
}}
|xp={{#switch:{{lc:{{{3|}}}}}
|xp={{#switch:{{lc:{{{3|}}}}}
|5=6
|5=5
|all=5
|all=5
}}
}}
Line 6,964: Line 6,962:
|3=0
|3=0
|4=0
|4=0
|5=56
|5=42
|6=0
|6=0
|7=0
|7=0
Line 6,983: Line 6,981:
|frostlight spear={{#switch:{{lc:{{{2|}}}}}
|frostlight spear={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage=44~45
|physical base weapon damage=44~46
|move speed=-36
|move speed=-36
|allstats=Physical Base Weapon Damage,Move Speed
|allstats=Physical Base Weapon Damage,Move Speed
Line 7,092: Line 7,090:
|all=height,width,depth
|all=height,width,depth
}}
}}
|rarities=5,5
|rarities=5
|handtype=Two Handed
|handtype=Two Handed
|slottype=Main-Hand
|slottype=Main-Hand
Line 7,102: Line 7,100:
|maxcount=1
|maxcount=1
|wearingdelaytime=0
|wearingdelaytime=0
|unequiptime=0.93
|ap={{#switch:{{lc:{{{3|}}}}}
|ap={{#switch:{{lc:{{{3|}}}}}
|5=25
|5=12
|all=5
|all=5
}}
}}
|xp={{#switch:{{lc:{{{3|}}}}}
|xp={{#switch:{{lc:{{{3|}}}}}
|5=6
|5=5
|all=5
|all=5
}}
}}
Line 7,117: Line 7,114:
|3=0
|3=0
|4=0
|4=0
|5=120
|5=90
|6=0
|6=0
|7=0
|7=0
Line 8,769: Line 8,766:
|icefang={{#switch:{{lc:{{{2|}}}}}
|icefang={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage=27
|physical base weapon damage=26~27
|armor penetration=10%
|armor penetration=10%
|true physical damage=1
|true physical damage=1
Line 8,890: Line 8,887:
|all=height,width,depth
|all=height,width,depth
}}
}}
|rarities=5,5
|rarities=5
|handtype=One Handed
|handtype=One Handed
|slottype=Off-Hand
|slottype=Off-Hand
Line 8,900: Line 8,897:
|maxcount=1
|maxcount=1
|wearingdelaytime=0
|wearingdelaytime=0
|unequiptime=0.6
|ap={{#switch:{{lc:{{{3|}}}}}
|ap={{#switch:{{lc:{{{3|}}}}}
|5=10
|5=10

Revision as of 20:17, 24 January 2025


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 base weapon damage 1,physical base weapon damage 2,physical base weapon damage 3,physical base weapon damage 4,physical base weapon damage 5,physical base 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