Template:Crafting/doc
This template creates a table for the effects of crafting ingredients.
Using Template:Crafting/data, this 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 = | thorns = | reflection = | poison = | exploding = | strength = | dexterity = | intelligence = | defense = | agility = | walk_speed = | attack_speed_bonus = | %_melee_damage = | raw_melee_damage = | %_spell_damage = | raw_spell_damage = | earth_damage = | thunder_damage = | water_damage = | fire_damage = | air_damage = | earth_defense = | thunder_defense = | water_defense = | fire_defense = | air_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 = | 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 | name = Rotten Flesh | icon = {{WynnIcon|rotten flesh}} | raw_melee_damage = +2/+4 | durability = -10 }} |
| ||
{{Crafting | name = Wriggling Darkness | icon = {{WynnIcon|ink sack}} | life_steal = +30/+40 | thunder_damage = +4/+8 | durability = -33 | dexterity_min = +20 }} |
| ||
{{Crafting | name = Unicorn Horn | icon = {{WynnIcon|end rod}} | effectiveness_touching = +40 | effectiveness_not_touching = +80 | durability = -110 | duration = -1100 }} |
|
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 |
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.
Displays crafting stats for an ingredient
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon | icon | The icon of the item
| Unknown | optional |
Item Name | name | The name of the item
| String | optional |
health_bonus | health_bonus | no description | Unknown | optional |
health | health | no description | Unknown | optional |
raw_health_regen | raw_health_regen | no description | Unknown | optional |
%_health_regen | %_health_regen | no description | Unknown | optional |
mana_regen | mana_regen | no description | Unknown | optional |
life_steal | life_steal | no description | Unknown | optional |
mana_steal | mana_steal | no description | Unknown | optional |
xp_bonus | xp_bonus | no description | Unknown | optional |
loot_bonus | loot_bonus | no description | Unknown | optional |
loot_quality | loot_quality | no description | Unknown | optional |
stealing | stealing | no description | Unknown | optional |
soul_point_regen | soul_point_regen | no description | Unknown | optional |
thorns | thorns | no description | Unknown | optional |
reflection | reflection | no description | Unknown | optional |
poison | poison | no description | Unknown | optional |
exploding | exploding | no description | Unknown | optional |
strength | strength | no description | Unknown | optional |
dexterity | dexterity | no description | Unknown | optional |
intelligence | intelligence | no description | Unknown | optional |
defense | defense | no description | Unknown | optional |
agility | agility | no description | Unknown | optional |
walk_speed | walk_speed | no description | Unknown | optional |
attack_speed | attack_speed | no description | Unknown | optional |
attack_speed_bonus | attack_speed_bonus | no description | Unknown | optional |
%_melee_damage | %_melee_damage | no description | Unknown | optional |
raw_melee_damage | raw_melee_damage | no description | Unknown | optional |
%_spell_damage | %_spell_damage | no description | Unknown | optional |
raw_spell_damage | raw_spell_damage | no description | Unknown | optional |
earth_damage | earth_damage | no description | Unknown | optional |
thunder_damage | thunder_damage | no description | Unknown | optional |
water_damage | water_damage | no description | Unknown | optional |
fire_damage | fire_damage | no description | Unknown | optional |
air_damage | air_damage | no description | Unknown | optional |
earth_defense | earth_defense | no description | Unknown | optional |
thunder_defense | thunder_defense | no description | Unknown | optional |
water_defense | water_defense | no description | Unknown | optional |
fire_defense | fire_defense | no description | Unknown | optional |
air_defense | air_defense | no description | Unknown | optional |
sprint_regen | sprint_regen | no description | Unknown | optional |
effectiveness_left | effectiveness_left | no description | Unknown | optional |
effectiveness_right | effectiveness_right | no description | Unknown | optional |
effectiveness_above | effectiveness_above | no description | Unknown | optional |
effectiveness_under | effectiveness_under | no description | Unknown | optional |
effectiveness_touching | effectiveness_touching | no description | Unknown | optional |
effectiveness_not_touching | effectiveness_not_touching | no description | Unknown | optional |
durability | durability | no description | Unknown | optional |
duration | duration | no description | Unknown | optional |
charges | charges | no description | Unknown | optional |
strength_min | strength_min | no description | Unknown | optional |
dexterity_min | dexterity_min | no description | Unknown | optional |
intelligence_min | intelligence_min | no description | Unknown | optional |
defense_min | defense_min | no description | Unknown | optional |
agility_min | agility_min | no description | Unknown | optional |