From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 342: | Line 342: | ||
|stats={{#switch:{{lc:{{{3|}}}}} | |stats={{#switch:{{lc:{{{3|}}}}} | ||
|armor rating 0=19 | |armor rating 0=19 | ||
|armor rating 1= | |armor rating 1=18~29 | ||
|armor rating 2= | |armor rating 2=20~21 | ||
|armor rating 3= | |armor rating 3=22~23 | ||
|armor rating 4= | |armor rating 4=24~25 | ||
|armor rating 5= | |armor rating 5=26~27 | ||
|armor rating 6= | |armor rating 6=28~29 | ||
|armor rating 7= | |armor rating 7=30~31 | ||
|magic resistance=25 | |magic resistance=25 | ||
|projectile reduction mod=1.2% | |projectile reduction mod=1.2% | ||
Line 711: | Line 711: | ||
|armor rating 1=19~21 | |armor rating 1=19~21 | ||
|armor rating 2=21~23 | |armor rating 2=21~23 | ||
|armor rating 3= | |armor rating 3=24~26 | ||
|armor rating 4= | |armor rating 4=27~28 | ||
|armor rating 5= | |armor rating 5=29~30 | ||
|armor rating 6= | |armor rating 6=31~32 | ||
|armor rating 7= | |armor rating 7=32~33 | ||
|magic resistance=10 | |magic resistance=10 | ||
|projectile reduction mod=0.6% | |projectile reduction mod=0.6% | ||
Line 793: | Line 793: | ||
|armor rating 1=9~10 | |armor rating 1=9~10 | ||
|armor rating 2=10~11 | |armor rating 2=10~11 | ||
|armor rating 3= | |armor rating 3=12~13 | ||
|armor rating 4= | |armor rating 4=13~14 | ||
|armor rating 5= | |armor rating 5=14~15 | ||
|armor rating 6= | |armor rating 6=15~16 | ||
|armor rating 7= | |armor rating 7=16~17 | ||
|magic resistance=20 | |magic resistance=20 | ||
|headshot reduction mod=8% | |headshot reduction mod=8% |
Revision as of 12:16, 9 June 2024
Usage
{{Armor_Data|<variable1>|<variable2>|...}}
Variables
- <item_name>
- stats
- <stat_name>
- allstats
- abilities
- <ability_type>
- <ability_name>
- <ability_attribute>
- <ability_name>
- <ability_type>
- 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
- stats
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,
{{Armor_Data|all}}
will output a list of all items
For example,
{{Armor_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
{{Armor_Data|Arming Sword|stats|all}}
Outputs
Example 2
All shared attributes for Primary attacks of Arming Sword
{{Armor_Data|Arming Sword|abilities|Primary|global}}
Outputs
Example 3
Damagefalloff widget of Longbow
{{Armor_Data|Longbow|damagefalloff}}
Outputs
Example 4
All non-artifact rarities of the Arming Sword
{{Armor_Data|Arming Sword|rarities}}
Outputs
Example 5
Invslots size image of Arming Sword
{{Armor_Data|Arming Sword|invslots}}
Outputs
Example 6
All attributes of primary abilities of Arming Sword
{{Armor_Data|Arming Sword|abilities|Primary|all}}
Outputs