Template:Crafting/data/doc
< Template:Crafting | data
This template creates a list of text for the IDs of items. While this template is derived from Template:Crafting, it has uses for all items with IDs.
This template automatically generates the unit and label for each effect, such as "/4s" and "%". Don't pass in the unit when using this template. Ranges of values must be written with a "/" separating the min and max value. For example: +4/+6, +0/+10, -5/-0, -10/-10, and +5/+5 are all valid.
Usage
{{Crafting/data | health = | raw_health_regen = | %_health_regen = | mana_regen = | life_steal = | mana_steal = | xp_bonus = | loot_bonus = | loot_quality = | stealing = | soul_point_regen = | knockback = | thorns = | reflection = | poison = | exploding = | strength = | dexterity = | intelligence = | defense = | agility = | walk_speed = | attack_speed_bonus = | %_damage = | %_melee_damage = | raw_melee_damage = | %_spell_damage = | raw_spell_damage = | earth_damage = | thunder_damage = | water_damage = | fire_damage = | air_damage = | elemental_damage = | %_earth_spell_damage = | %_thunder_spell_damage = | %_water_spell_damage = | %_fire_spell_damage = | %_air_spell_damage = | earth_defense = | thunder_defense = | water_defense = | fire_defense = | air_defense = | elemental_defense = | sprint_regen = | %_spell_cost_1 = | %_spell_cost_2 = | %_spell_cost_3 = | %_spell_cost_4 = | raw_spell_cost_1 = | raw_spell_cost_2 = | raw_spell_cost_3 = | raw_spell_cost_4 = | jump_height = | gathering_xp = | gathering_speed = | raw_earth_damage = | raw_thunder_damage = | raw_water_damage = | raw_fire_damage = | raw_air_damage = | raw_earth_main_attack_damage = | raw_thunder_main_attack_damage = | raw_water_main_attack_damage = | raw_fire_main_attack_damage = | raw_air_main_attack_damage = | raw_earth_spell_damage = | raw_fire_spell_damage = | raw_water_spell_damage = | raw_fire_spell_damage = | raw_air_spell_damage = | healing_efficiency = | effectiveness_left = | effectiveness_right = | effectiveness_above = | effectiveness_under = | effectiveness_touching = | effectiveness_not_touching = | durability = | duration = | charges = | strength_min = | dexterity_min = | intelligence_min = | defense_min = | agility_min = }}
name
- the name of the itemicon
- the item's icon when viewed in the inventory. Can put either a Template:WynnIcon transclusion or a file for custom heads.- All other variables are optional and represent the effects that the ingredient produces when used in crafting.
Examples
Example | Result | |||||
---|---|---|---|---|---|---|
{{Crafting/data | raw_melee_damage = +2/+4 | durability = -10 }} |
+2 to +4 Main Attack Neutral Damage -10 Durability
| |||||
{{Crafting/data | life_steal = +30/+40 | thunder_damage = +4/+8 | durability = -33 | dexterity_min = +20 }} |
+30/3s to +40/3s Life Steal +4% to +8% Thunder Damage -33 Durability
+20 Dexterity Min. | |||||
{{Crafting/data | effectiveness_touching = +40 | effectiveness_not_touching = +80 | durability = -110 | duration = -1100 }} |
+40% Ingredient Effectiveness (To ingredients touching this one) +80% Ingredient Effectiveness (To ingredients not touching this one) -110 Durability or -1100s Duration
| |||||
{{QueryIngredients|Ingredients.name LIKE "Expelled Shrapnel"}} |
|
Variable Reference
Here is a table of available crafting effect fields and how they should be inputted.
Variable | Description | Accepts Ranges? |
---|---|---|
health
|
Changes your health. | Yes |
raw_health_regen
|
Changes the rate at which you regenerate your health over time. Negative values cause you to lose health over time. | Yes |
%_health_regen
|
Changes the rate at which you regenerate your health over time by a percentage. | Yes |
mana_regen
|
Changes the rate at which you regenerate your mana over time. Negative values cause you to lose mana over time. | Yes |
life_steal
|
Changes how much health you gain when you deal melee damage. Negative values cause you to lose health when dealing damage. | Yes |
mana_steal
|
Changes how much mana you gain when you deal melee damage. Negative values cause you to lose mana when dealing damage. | Yes |
xp_bonus
|
Changes the amount of XP you gain from most sources. | Yes |
loot_bonus
|
Changes the chance of items appearing in mob drops and loot chests. | Yes |
loot_quality
|
Changes the chance of higher-rarity items appearing in mob drops and loot chests. | Yes |
stealing
|
Changes the chance of mobs dropping Emeralds when hit. | Yes |
soul_point_regen
|
Changes the chance of gaining an extra Soul Point per day. Negative values cause you to have a chance of not gaining a Soul Point. | Yes |
thorns
|
Changes the chance that the attacker takes damage when you take melee damage. Negative values have no effect. | Yes |
reflection
|
Changes the chance that the attacker takes damage when you take ranged or spell damage. Negative values have no effect. | Yes |
poison
|
Changes the amount of lingering damage enemies take over time after they are attacked. Negative values have no effect. | Yes |
exploding
|
Changes the chance that enemies explode and deal AoE damage on death | Yes |
strength
|
Changes your Strength stat. | Yes |
dexterity
|
Changes your Dexterity stat. | Yes |
intelligence
|
Changes your Intelligence stat. | Yes |
defense
|
Changes your Defense stat. | Yes |
agility
|
Changes your Agility stat. | Yes |
walk_speed
|
Changes your base movement speed. | Yes |
attack_speed_bonus
|
Changes the tier of your weapon's attack speed. | Yes |
%_melee_damage
|
Changes the amount of melee damage you do by a percentage. | Yes |
raw_melee_damage
|
Changes the amount of melee damage you do by a numerical value. | Yes |
%_spell_damage
|
Changes the amount of spell damage you do by a percentage. | Yes |
raw_spell_damage
|
Changes the amount of spell damage you do by a numerical value. | Yes |
earth_damage
|
Changes the amount of Earth damage you do by a percentage. |
Yes |
thunder_damage
|
Changes the amount of Thunder damage you do by a percentage. |
Yes |
water_damage
|
Changes the amount of Water damage you do by a percentage. |
Yes |
fire_damage
|
Changes the amount of Fire damage you do by a percentage. |
Yes |
air_damage
|
Changes the amount of Air damage you do by a percentage. |
Yes |
earth_defense
|
Changes the amount of Earth defense you have. |
Yes |
thunder_defense
|
Changes the amount of Thunder defense you have. |
Yes |
water_defense
|
Changes the amount of Water defense you have. |
Yes |
fire_defense
|
Changes the amount of Fire defense you have. |
Yes |
air_defense
|
Changes the amount of Air defense you have. |
Yes |
sprint_regen
|
Changes the rate at which your sprint regenerates. | Yes |
%_spell_cost_1
|
Changes the cost of your first spell by a percentage. | Yes |
%_spell_cost_2
|
Changes the cost of your second spell by a percentage. | Yes |
%_spell_cost_3
|
Changes the cost of your third spell by a percentage. | Yes |
%_spell_cost_4
|
Changes the cost of your fourth spell by a percentage. | Yes |
raw_spell_cost_1
|
Changes the cost of your first spell by a numerical value. | Yes |
raw_spell_cost_2
|
Changes the cost of your second spell by a numerical value. | Yes |
raw_spell_cost_3
|
Changes the cost of your third spell by a numerical value. | Yes |
raw_spell_cost_4
|
Changes the cost of your fourth spell by a numerical value. | Yes |
jump_height
|
Changes your jump height. | Yes |
gathering_xp
|
Changes the amount of Gathering Profession XP you gain by a percentage. | Yes |
gathering_speed
|
Changes the speed at which you gather Crafting Materials by a percentage. | Yes |
effectiveness_left
|
Changes the effectiveness of ingredients to the left of this ingredient. | No |
effectiveness_right
|
Changes the effectiveness of ingredients to the right of this ingredient. | No |
effectiveness_above
|
Changes the effectiveness of ingredients above this ingredient. | No |
effectiveness_under
|
Changes the effectiveness of ingredients under this ingredient. | No |
effectiveness_touching
|
Changes the effectiveness of ingredients touching this ingredient. | No |
effectiveness_not_touching
|
Changes the effectiveness of ingredients not touching this ingredient. | No |
durability
|
Changes the durability of the crafted item. | No |
duration
|
Changes the duration of the crafted item. | No |
charges
|
Changes the charges of the crafted item. | No |
strength_min
|
Changes the required strength value of the crafted item. | No |
dexterity_min
|
Changes the required dexterity value of the crafted item. | No |
intelligence_min
|
Changes the required intelligence value of the crafted item. | No |
defense_min
|
Changes the required defense value of the crafted item. | No |
agility_min
|
Changes the required agility value of the crafted item. | No |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.