Template:Crafting

From Wynncraft Wiki
Jump to: navigation, search
Template-info.png Documentation

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 item
  • icon - 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
}}

Rotten Flesh
+2 to +4 Main Attack Neutral Damage
-10 Durability
{{Crafting
| name = Wriggling Darkness
| icon = {{WynnIcon|ink sack}}
| life_steal = +30/+40
| thunder_damage = +4/+8
| durability = -33
| dexterity_min = +20
}}

Wriggling Darkness
+30/4s to +40/4s Life Steal
+4% to +8% Thunder Damage
-33 Durability
+20 Dexterity Min.
{{Crafting
| name = Unicorn Horn
| icon = {{WynnIcon|end rod}}
| effectiveness_touching = +40
| effectiveness_not_touching = +80
| durability = -110
| duration =  -1100
}}

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

Displays crafting stats for an ingredient

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Iconicon

The icon of the item

Example
{{WynnIcon|Rotten Flesh}}
Unknownoptional
Item Namename

The name of the item

Default
The Page Name
Example
Rotten Flesh
Stringoptional
Health_bonushealth_bonus

no description

Unknownoptional
Healthhealth

no description

Unknownoptional
Raw_health_regenraw_health_regen

no description

Unknownoptional
%_health_regen%_health_regen

no description

Unknownoptional
Mana_regenmana_regen

no description

Unknownoptional
Life_steallife_steal

no description

Unknownoptional
Mana_stealmana_steal

no description

Unknownoptional
Xp_bonusxp_bonus

no description

Unknownoptional
Loot_bonusloot_bonus

no description

Unknownoptional
Loot_qualityloot_quality

no description

Unknownoptional
Stealingstealing

no description

Unknownoptional
Soul_point_regensoul_point_regen

no description

Unknownoptional
Thornsthorns

no description

Unknownoptional
Reflectionreflection

no description

Unknownoptional
Poisonpoison

no description

Unknownoptional
Explodingexploding

no description

Unknownoptional
Strengthstrength

no description

Unknownoptional
Dexteritydexterity

no description

Unknownoptional
Intelligenceintelligence

no description

Unknownoptional
Defensedefense

no description

Unknownoptional
Agilityagility

no description

Unknownoptional
Walk_speedwalk_speed

no description

Unknownoptional
Attack_speedattack_speed

no description

Unknownoptional
Attack_speed_bonusattack_speed_bonus

no description

Unknownoptional
%_melee_damage%_melee_damage

no description

Unknownoptional
Raw_melee_damageraw_melee_damage

no description

Unknownoptional
%_spell_damage%_spell_damage

no description

Unknownoptional
Raw_spell_damageraw_spell_damage

no description

Unknownoptional
Earth_damageearth_damage

no description

Unknownoptional
Thunder_damagethunder_damage

no description

Unknownoptional
Water_damagewater_damage

no description

Unknownoptional
Fire_damagefire_damage

no description

Unknownoptional
Air_damageair_damage

no description

Unknownoptional
Earth_defenseearth_defense

no description

Unknownoptional
Thunder_defensethunder_defense

no description

Unknownoptional
Water_defensewater_defense

no description

Unknownoptional
Fire_defensefire_defense

no description

Unknownoptional
Air_defenseair_defense

no description

Unknownoptional
Sprint_regensprint_regen

no description

Unknownoptional
Effectiveness_lefteffectiveness_left

no description

Unknownoptional
Effectiveness_righteffectiveness_right

no description

Unknownoptional
Effectiveness_aboveeffectiveness_above

no description

Unknownoptional
Effectiveness_undereffectiveness_under

no description

Unknownoptional
Effectiveness_touchingeffectiveness_touching

no description

Unknownoptional
Effectiveness_not_touchingeffectiveness_not_touching

no description

Unknownoptional
Durabilitydurability

no description

Unknownoptional
Durationduration

no description

Unknownoptional
Chargescharges

no description

Unknownoptional
Strength_minstrength_min

no description

Unknownoptional
Dexterity_mindexterity_min

no description

Unknownoptional
Intelligence_minintelligence_min

no description

Unknownoptional
Defense_mindefense_min

no description

Unknownoptional
Agility_minagility_min

no description

Unknownoptional