From Dark and Darker Wiki
m (Automated edit: Patch 7 data pages)  | 
				m (Automated edit: HF74)  | 
				||
| Line 2,363: | Line 2,363: | ||
				|effects={{#switch:{{lc:{{{6|}}}}}  | 				|effects={{#switch:{{lc:{{{6|}}}}}  | ||
					|castingstate={{#switch:{{lc:{{{7|}}}}}  | 					|castingstate={{#switch:{{lc:{{{7|}}}}}  | ||
						|all=  | |||
						}}  | |||
					|primarycastingstate={{#switch:{{lc:{{{7|}}}}}  | |||
						|all=  | |||
						}}  | |||
					|global={{#switch:{{lc:{{{7|}}}}}  | |||
						|rarity={{#switch:{{lc:{{{8|}}}}}  | 						|rarity={{#switch:{{lc:{{{8|}}}}}  | ||
							|global={{#switch:{{lc:{{{9|}}}}}  | 							|global={{#switch:{{lc:{{{9|}}}}}  | ||
| Line 2,372: | Line 2,378: | ||
						|all=rarity  | 						|all=rarity  | ||
						}}  | 						}}  | ||
					|all=CastingState  | 					|all=CastingState,PrimaryCastingState,Global  | ||
					}}  | 					}}  | ||
				|all=movementmultiplier,effects  | 				|all=movementmultiplier,effects  | ||
| Line 3,195: | Line 3,201: | ||
			|attack 2={{#switch:{{lc:{{{5|}}}}}  | 			|attack 2={{#switch:{{lc:{{{5|}}}}}  | ||
				|combodamage=105%  | 				|combodamage=105%  | ||
				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:  | 				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:183ms<br>Recover:739ms  | ||
				|all=combodamage,attackspeed  | 				|all=combodamage,attackspeed  | ||
				}}  | 				}}  | ||
			|attack 3={{#switch:{{lc:{{{5|}}}}}  | 			|attack 3={{#switch:{{lc:{{{5|}}}}}  | ||
				|combodamage=110%  | 				|combodamage=110%  | ||
				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:  | 				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:183ms<br>Windup:787ms<br>Hit:165ms<br>Recover:1115ms  | ||
				|all=combodamage,attackspeed  | 				|all=combodamage,attackspeed  | ||
				}}  | 				}}  | ||
| Line 6,660: | Line 6,666: | ||
			|attack 2={{#switch:{{lc:{{{5|}}}}}  | 			|attack 2={{#switch:{{lc:{{{5|}}}}}  | ||
				|combodamage=105%  | 				|combodamage=105%  | ||
				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:  | 				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:183ms<br>Recover:739ms  | ||
				|all=combodamage,attackspeed  | 				|all=combodamage,attackspeed  | ||
				}}  | 				}}  | ||
			|attack 3={{#switch:{{lc:{{{5|}}}}}  | 			|attack 3={{#switch:{{lc:{{{5|}}}}}  | ||
				|combodamage=110%  | 				|combodamage=110%  | ||
				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:  | 				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:183ms<br>Windup:787ms<br>Hit:165ms<br>Recover:1115ms  | ||
				|all=combodamage,attackspeed  | 				|all=combodamage,attackspeed  | ||
				}}  | 				}}  | ||
| Line 8,959: | Line 8,965: | ||
				|effects={{#switch:{{lc:{{{6|}}}}}  | 				|effects={{#switch:{{lc:{{{6|}}}}}  | ||
					|castingstate={{#switch:{{lc:{{{7|}}}}}  | 					|castingstate={{#switch:{{lc:{{{7|}}}}}  | ||
						|all=  | |||
						}}  | |||
					|primarycastingstate={{#switch:{{lc:{{{7|}}}}}  | |||
						|all=  | |||
						}}  | |||
					|global={{#switch:{{lc:{{{7|}}}}}  | |||
						|rarity={{#switch:{{lc:{{{8|}}}}}  | 						|rarity={{#switch:{{lc:{{{8|}}}}}  | ||
							|global={{#switch:{{lc:{{{9|}}}}}  | 							|global={{#switch:{{lc:{{{9|}}}}}  | ||
| Line 8,968: | Line 8,980: | ||
						|all=rarity  | 						|all=rarity  | ||
						}}  | 						}}  | ||
					|all=CastingState  | 					|all=CastingState,PrimaryCastingState,Global  | ||
					}}  | 					}}  | ||
				|all=movementmultiplier,effects  | 				|all=movementmultiplier,effects  | ||
| Line 10,765: | Line 10,777: | ||
				|effects={{#switch:{{lc:{{{6|}}}}}  | 				|effects={{#switch:{{lc:{{{6|}}}}}  | ||
					|castingstate={{#switch:{{lc:{{{7|}}}}}  | 					|castingstate={{#switch:{{lc:{{{7|}}}}}  | ||
						|all=  | |||
						}}  | |||
					|primarycastingstate={{#switch:{{lc:{{{7|}}}}}  | |||
						|all=  | |||
						}}  | |||
					|global={{#switch:{{lc:{{{7|}}}}}  | |||
						|rarity={{#switch:{{lc:{{{8|}}}}}  | 						|rarity={{#switch:{{lc:{{{8|}}}}}  | ||
							|global={{#switch:{{lc:{{{9|}}}}}  | 							|global={{#switch:{{lc:{{{9|}}}}}  | ||
| Line 10,774: | Line 10,792: | ||
						|all=rarity  | 						|all=rarity  | ||
						}}  | 						}}  | ||
					|all=CastingState  | 					|all=CastingState,PrimaryCastingState,Global  | ||
					}}  | 					}}  | ||
				|all=movementmultiplier,effects  | 				|all=movementmultiplier,effects  | ||
| Line 13,368: | Line 13,386: | ||
			|attack 2={{#switch:{{lc:{{{5|}}}}}  | 			|attack 2={{#switch:{{lc:{{{5|}}}}}  | ||
				|combodamage=105%  | 				|combodamage=105%  | ||
				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:  | 				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:183ms<br>Recover:739ms  | ||
				|all=combodamage,attackspeed  | 				|all=combodamage,attackspeed  | ||
				}}  | 				}}  | ||
			|attack 3={{#switch:{{lc:{{{5|}}}}}  | 			|attack 3={{#switch:{{lc:{{{5|}}}}}  | ||
				|combodamage=110%  | 				|combodamage=110%  | ||
				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:  | 				|attackspeed=Windup:692ms<br>Hit:188ms<br>Combo Activation:224ms<br>Windup:735ms<br>Hit:210ms<br>Combo Activation:183ms<br>Windup:787ms<br>Hit:165ms<br>Recover:1115ms  | ||
				|all=combodamage,attackspeed  | 				|all=combodamage,attackspeed  | ||
				}}  | 				}}  | ||
| Line 13,992: | Line 14,010: | ||
				|effects={{#switch:{{lc:{{{6|}}}}}  | 				|effects={{#switch:{{lc:{{{6|}}}}}  | ||
					|wizardstaffcastingstate={{#switch:{{lc:{{{7|}}}}}  | 					|wizardstaffcastingstate={{#switch:{{lc:{{{7|}}}}}  | ||
						|all=  | |||
						}}  | |||
					|wizardstaffprimarycastingstate={{#switch:{{lc:{{{7|}}}}}  | |||
						|all=  | |||
						}}  | |||
					|global={{#switch:{{lc:{{{7|}}}}}  | |||
						|rarity={{#switch:{{lc:{{{8|}}}}}  | 						|rarity={{#switch:{{lc:{{{8|}}}}}  | ||
							|global={{#switch:{{lc:{{{9|}}}}}  | 							|global={{#switch:{{lc:{{{9|}}}}}  | ||
| Line 14,001: | Line 14,025: | ||
						|all=rarity  | 						|all=rarity  | ||
						}}  | 						}}  | ||
					|all=WizardStaffCastingState  | 					|all=WizardStaffCastingState,WizardStaffPrimaryCastingState,Global  | ||
					}}  | 					}}  | ||
				|all=movementmultiplier,effects  | 				|all=movementmultiplier,effects  | ||
Revision as of 01:07, 21 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