From Dark and Darker Wiki

No edit summary
No edit summary
Line 611: Line 611:
}}
}}
|attack 2={{#switch:{{lc:{{{5|}}}}}
|attack 2={{#switch:{{lc:{{{5|}}}}}
|combodamage=95%
|combodamage=105%
|all=combodamage
|all=combodamage
}}
}}
Line 1,987: Line 1,987:
|attack 3={{#switch:{{lc:{{{5|}}}}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|damagetype=Pierce
|damagetype=Pierce
|combodamage=130%
|combodamage=140%
|effects={{#switch:{{lc:{{{6|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|attackhit={{#switch:{{lc:{{{7|}}}}}
|attackhit={{#switch:{{lc:{{{7|}}}}}
Line 6,778: Line 6,778:
}}
}}
|global={{#switch:{{lc:{{{5|}}}}}
|global={{#switch:{{lc:{{{5|}}}}}
|combodamage=125%
|combodamage=115%
|hitstoprate=0.08
|hitstoprate=0.08
|hitstopduration=0.22
|hitstopduration=0.22
Line 7,715: Line 7,715:
|attack 2={{#switch:{{lc:{{{5|}}}}}
|attack 2={{#switch:{{lc:{{{5|}}}}}
|damagetype=Pierce
|damagetype=Pierce
|combodamage=95%
|combodamage=105%
|hitstoprate=0.07
|hitstoprate=0.07
|all=damagetype,combodamage,hitstoprate
|all=damagetype,combodamage,hitstoprate
Line 9,012: Line 9,012:
}}
}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|combodamage=115%
|combodamage=110%
|all=combodamage
|all=combodamage
}}
}}
|attack 4={{#switch:{{lc:{{{5|}}}}}
|attack 4={{#switch:{{lc:{{{5|}}}}}
|combodamage=115%
|combodamage=110%
|all=combodamage
|all=combodamage
}}
}}
Line 12,369: Line 12,369:
}}
}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|combodamage=105%
|combodamage=100%
|all=combodamage
|all=combodamage
}}
}}
Line 17,063: Line 17,063:
}}
}}
|attack 2={{#switch:{{lc:{{{5|}}}}}
|attack 2={{#switch:{{lc:{{{5|}}}}}
|combodamage=115%
|combodamage=110%
|all=combodamage
|all=combodamage
}}
}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|attack 3={{#switch:{{lc:{{{5|}}}}}
|combodamage=115%
|combodamage=110%
|all=combodamage
|all=combodamage
}}
}}
Line 17,118: Line 17,118:
|secondary={{#switch:{{lc:{{{4|}}}}}
|secondary={{#switch:{{lc:{{{4|}}}}}
|attack 1={{#switch:{{lc:{{{5|}}}}}
|attack 1={{#switch:{{lc:{{{5|}}}}}
|combodamage=90%
|combodamage=100%
|all=combodamage
|all=combodamage
}}
}}
Line 17,245: Line 17,245:
|windlass crossbow={{#switch:{{lc:{{{2|}}}}}
|windlass crossbow={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage 1=46
|physical base weapon damage 1=42
|physical base weapon damage 2=47~49
|physical base weapon damage 2=43~45
|physical base weapon damage 3=50~52
|physical base weapon damage 3=56~48
|physical base weapon damage 4=53~55
|physical base weapon damage 4=49~51
|physical base weapon damage 5=56~58
|physical base weapon damage 5=52~54
|physical base weapon damage 6=59~61
|physical base weapon damage 6=55~57
|physical base weapon damage 7=62~64
|physical base weapon damage 7=58~60
|armor penetration=40%
|armor penetration=35%
|move speed=-50
|move speed=-50
|allstats=Physical Base Weapon Damage,Armor Penetration,Move Speed
|allstats=Physical Base Weapon Damage,Armor Penetration,Move Speed

Revision as of 22:53, 8 March 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