Wynncraft Wiki
Register
No edit summary
No edit summary
Line 42: Line 42:
 
-->{{#vardefine:block2|{{{durability|}}}{{{duration|}}}{{{charges|}}}{{{strength_min|}}}{{{dexterity_min|}}}{{{intelligence_min|}}}{{{defense_min|}}}{{{agility_min|}}}}}<!--
 
-->{{#vardefine:block2|{{{durability|}}}{{{duration|}}}{{{charges|}}}{{{strength_min|}}}{{{dexterity_min|}}}{{{intelligence_min|}}}{{{defense_min|}}}{{{agility_min|}}}}}<!--
   
 
-->{| class="wikitable"
-->{{#var:block2}}
 
 
{| class="wikitable"
 
 
! {{{icon|}}} {{{name|}}}
 
! {{{icon|}}} {{{name|}}}
 
|-
 
|-
Line 146: Line 144:
   
 
--><!-- AGILITY MIN -->{{#if: {{{agility_min|}}} |<span style="color:{{#ifexpr:{{{agility_min}}} >= 0 | red | green}}">{{{agility_min}}} Agility Min.</span><br>}}
 
--><!-- AGILITY MIN -->{{#if: {{{agility_min|}}} |<span style="color:{{#ifexpr:{{{agility_min}}} >= 0 | red | green}}">{{{agility_min}}} Agility Min.</span><br>}}
  +
{{!-}}
 
}}
 
}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 23:49, 12 March 2020

Template-info 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
{{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
{{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)

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