Wynncraft Wiki
No edit summary
No edit summary
Line 18: Line 18:
 
| xp_bonus =
 
| xp_bonus =
 
| loot_bonus =
 
| loot_bonus =
  +
| loot_quality =
 
| stealing =
 
| stealing =
 
| soul_point_regen =
 
| soul_point_regen =
Line 45: Line 46:
 
| fire_defense =
 
| fire_defense =
 
| air_defense =
 
| air_defense =
  +
| sprint_regen =
 
| effectiveness_left =
 
| effectiveness_left =
 
| effectiveness_right =
 
| effectiveness_right =
Line 152: Line 154:
 
|<code>loot_bonus</code>
 
|<code>loot_bonus</code>
 
|Changes the chance of items appearing in mob drops and loot chests.
 
|Changes the chance of items appearing in mob drops and loot chests.
  +
|Yes
  +
|-
  +
|<code>loot_quality</code>
  +
|Changes the chance of higher-rarity items appearing in mob drops and loot chests.
 
|Yes
 
|Yes
 
|-
 
|-
Line 260: Line 266:
 
|<code>air_defense</code>
 
|<code>air_defense</code>
 
|Changes the amount of {{Element|air}} defense you have.
 
|Changes the amount of {{Element|air}} defense you have.
  +
|Yes
  +
|-
  +
|<code>sprint_regen</code>
  +
|Changes the rate at which your sprint regenerates.
 
|Yes
 
|Yes
 
|-
 
|-

Revision as of 23:29, 21 December 2019

Template-info Documentation

This template creates a table for the effects of crafting ingredients.

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
| name = 
| icon = 
| 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 = 
| %_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 =
| 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 item
  • icon - a string that will be put into the Template:WynnIcon template to generate the icon of the item.
  • 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 = Rotten Flesh
| raw_melee_damage = +2/+4
| durability = -10
}}
Rotten Flesh Rotten Flesh
+2 to +4 Main Attack Neutral Damage
-10 Durability
{{Crafting
| name = Wriggling Darkness
| icon = ink sack
| life_steal = +30/+40
| thunder_damage = +4/+8
| durability = -33
| dexterity_min = +20
}}
ink sack Wriggling Darkness
+30/3s to +40/3s Life Steal
+4% to +8% Thunder Damage
-33 Durability
+20 Dexterity Min.
{{Crafting
| name = Unicorn Horn
| icon = end rod
| effectiveness_touching = +40
| effectiveness_not_touching = +80
| durability = -110
| duration =  -1100
}}
end rod Unicorn Horn
+40% Ingredient Effectiveness
(To ingredients touching this one)
+80% Ingredient Effectiveness
(To ingredients not touching this one)
-110 Durability or -1100s Duration

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 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
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.