Template:Skill/doc

From Path of Exile 2 Wiki
Jump to navigation Jump to search

This subpage provides documentation for Template:Skill.

Lua logo

This template uses the following modules:

Overview

Template to store semantic skill and skill level progression data for use in other templates or pages such as Template:Item or Template:Skill progression.

Parameters

All parameters if available should be filled in.

General Parameters

Parameter Type Optional Description
skill_id str Yes The (internal) skill id of the skill
is_support_gem bool Yes Whether the skill is a support gem.
support_gem_letter str Yes The support gem letter (i.e. the small letter icon shown when skills are supported by this skill)
cast_time float Yes Cast time in seconds

Only active skills.

gem_description str Yes The description of the active skill (i.e. what it says when you hover over it in the skill bar).

Only active skills.

active_skill_name str Yes Name of the active skill

Only active skills.

stat_text str Yes Stat text spanning the entire progression of the skill gem
quality_stat_text str Yes Stat text for the quality bonus spanning the entire progression of the skill gem
has_percentage_mana_cost bool Yes Whether the mana cost is a percentage (e.x. for Auras)
has_reservation_mana_cost bool Yes Whether the mana cost is reserved instead of being used when the skill cast (e.x. for Auras)

Progression Parameters

These parameters can be used to two ways:

  • static_ - for progression parameters that are the same at all levels
  • level<N>_ - for progression parameters that are variable

Replace <N> with the number of the argument. Start numbers with 1, and don't leave gaps. The order matters and each parameter must be specified for an individual element of N. Code support: 1 <= N <= 30

Replace <P> With the appropriate parameter from above.

Parameter Type Optional Description
<P>_level_requirement int Yes The level requirement
<P>_dexterity_requirement int Yes Dexterity requirement
<P>_strength_requirement int Yes Strength requirement
<P>_intelligence_requirement int Yes Intelligence requirement
<P>_mana_multiplier int Yes Mana multiplier in percent
<P>_critical_strike_chance int Yes Critical strike chance in percent
<P>_mana_cost int Yes Mana cost (or mana reserved)
<P>_damage_effectiveness int Yes Damage effectiveness in percent
<P>_stored_uses int Yes Stored usages (i.e. for Traps or Mines)

For vaal skills use vaal_stored_uses

<P>_cooldown float Yes Cooldown in seconds
<P>_vaal_souls_requirement int Yes Vaal souls requirement in normal difficulty
<P>_vaal_stored_uses int Yes Stored vaal usages

For regular skill use stored_uses

<P>_damage_mutliplier str Yes Damage multiplier of the skill in percent
<P>_stat_text str Yes Stat text spanning the entire progression of the skill gem
<P>_quality_stat_text str Yes Stat text for the quality bonus spanning the entire progression of the skill gem
<P>_experience int Yes Total amount of experience for this level.

Only for skill gems.

Progression stats

Replace <M> with the number of the argument. Start numbers with 1, and don't leave gaps. The order matters and each parameter must be specified for an individual element of M. Code support: 1 <= M <= 8

Replace <P> with the appropriate parameter from above.

Parameter Type Optional Description
<P>_[quality]_stat<M>_id str Yes The internal id of the stat
<P>_[quality]_stat<M>_value int Yes The associated value with the stat

Example of valid stat parameters:

static_stat1_id=
static_stat1_value=
static_stat2_id=
static_stat2_value=
static_quality_stat1_id=
static_quality_stat1_value=
level1_stat1_id=
level1_stat1_value=
level1_quality_stat1_id=
level1_quality_stat1_value=
level2_stat1_id=
level2_stat1_value=
level2_stat2_id=
level2_stat2_value=

See also