From Dark and Darker Wiki
m (Automated edit: HF74)  | 
				 (Automated edit: HF75)  | 
				||
| Line 3,137: | Line 3,137: | ||
		}}  | 		}}  | ||
	|incraftingrecipefor=Weaponsmith  | 	|incraftingrecipefor=Weaponsmith  | ||
	|questinformation=<li>The [[Fortune Teller]] needs you to <i>fetch</i> 3 Rare Crystal Ball for quest "Reflections of the Cursed" of chapter "Guided Path".</li>  | |||
	|numenchants={{#switch:{{lc:{{{3|}}}}}  | 	|numenchants={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=1  | 		|3=1  | ||
| Line 6,624: | 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=  | 		|physical base weapon damage=17  | ||
		|magical base weapon damage=  | 		|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,749: | Line 6,750: | ||
		|all=height,width,depth  | 		|all=height,width,depth  | ||
		}}  | 		}}  | ||
	|rarities=  | 	|rarities=5  | ||
	|handtype=Two Handed  | 	|handtype=Two Handed  | ||
	|slottype=Main-Hand  | 	|slottype=Main-Hand  | ||
| Line 6,759: | Line 6,760: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | 	|ap={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=  | 		|5=12  | ||
		|all=5  | 		|all=5  | ||
		}}  | 		}}  | ||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=  | 		|5=5  | ||
		|all=5  | 		|all=5  | ||
		}}  | 		}}  | ||
| Line 6,774: | Line 6,774: | ||
		|3=0  | 		|3=0  | ||
		|4=0  | 		|4=0  | ||
		|5=  | 		|5=90  | ||
		|6=0  | 		|6=0  | ||
		|7=0  | 		|7=0  | ||
| Line 6,793: | 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=  | 		|physical base weapon damage=29~30  | ||
		|armor rating=25~26  | 		|armor rating=25~26  | ||
		|move speed=-  | 		|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,938: | Line 6,938: | ||
		|all=height,width,depth  | 		|all=height,width,depth  | ||
		}}  | 		}}  | ||
	|rarities=  | 	|rarities=5  | ||
	|handtype=One Handed  | 	|handtype=One Handed  | ||
	|slottype=Off-Hand  | 	|slottype=Off-Hand  | ||
| Line 6,948: | Line 6,948: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | 	|ap={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=  | 		|5=18  | ||
		|all=5  | 		|all=5  | ||
		}}  | 		}}  | ||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=  | 		|5=5  | ||
		|all=5  | 		|all=5  | ||
		}}  | 		}}  | ||
| Line 6,963: | Line 6,962: | ||
		|3=0  | 		|3=0  | ||
		|4=0  | 		|4=0  | ||
		|5=  | 		|5=42  | ||
		|6=0  | 		|6=0  | ||
		|7=0  | 		|7=0  | ||
| Line 6,982: | 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~  | 		|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,091: | Line 7,090: | ||
		|all=height,width,depth  | 		|all=height,width,depth  | ||
		}}  | 		}}  | ||
	|rarities=  | 	|rarities=5  | ||
	|handtype=Two Handed  | 	|handtype=Two Handed  | ||
	|slottype=Main-Hand  | 	|slottype=Main-Hand  | ||
| Line 7,101: | Line 7,100: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | 	|ap={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=  | 		|5=12  | ||
		|all=5  | 		|all=5  | ||
		}}  | 		}}  | ||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=  | 		|5=5  | ||
		|all=5  | 		|all=5  | ||
		}}  | 		}}  | ||
| Line 7,116: | Line 7,114: | ||
		|3=0  | 		|3=0  | ||
		|4=0  | 		|4=0  | ||
		|5=  | 		|5=90  | ||
		|6=0  | 		|6=0  | ||
		|7=0  | 		|7=0  | ||
| Line 8,768: | 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,889: | Line 8,887: | ||
		|all=height,width,depth  | 		|all=height,width,depth  | ||
		}}  | 		}}  | ||
	|rarities=  | 	|rarities=5  | ||
	|handtype=One Handed  | 	|handtype=One Handed  | ||
	|slottype=Off-Hand  | 	|slottype=Off-Hand  | ||
| Line 8,899: | Line 8,897: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | 	|ap={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=10  | 		|5=10  | ||
Revision as of 05:40, 28 December 2024
Usage
{{Weapon_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,
{{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}}
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