Template:Skill/doc: Difference between revisions
>OmegaK2 |
>OmegaK2 |
||
Line 16: | Line 16: | ||
! Parameter | ! Parameter | ||
! Type | ! Type | ||
! Optional | ! {{abbr|Opt|Optional}} | ||
! {{abbr|Auto|PyPoE exported?}} | |||
! Description | ! Description | ||
|- | |- | ||
| skill_id | | skill_id | ||
| str | | str | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| The (internal) skill id of the skill | | The (internal) skill id of the skill | ||
Line 26: | Line 28: | ||
| is_support_gem | | is_support_gem | ||
| bool | | bool | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| Whether the skill is a support gem. | | Whether the skill is a support gem. | ||
Line 31: | Line 34: | ||
| support_gem_letter | | support_gem_letter | ||
| str | | str | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| The support gem letter (i.e. the small letter icon shown when skills are supported by this skill) | | The support gem letter (i.e. the small letter icon shown when skills are supported by this skill) | ||
Line 36: | Line 40: | ||
| cast_time | | cast_time | ||
| float | | float | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| Cast time in seconds | | Cast time in seconds | ||
Line 42: | Line 47: | ||
| gem_description | | gem_description | ||
| str | | str | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| The description of the active skill (i.e. what it says when you hover over it in the skill bar). | | The description of the active skill (i.e. what it says when you hover over it in the skill bar). | ||
Line 48: | Line 54: | ||
| active_skill_name | | active_skill_name | ||
| str | | str | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| Name of the active skill | | Name of the active skill | ||
Only active skills. | |||
|- | |||
| item_class_restriction | |||
| list[str] | |||
| {{yes}} | |||
| {{yes}} | |||
| Comma separated list of item class restrictions | |||
Only active skills. | Only active skills. | ||
|- | |- | ||
| stat_text | | stat_text | ||
| str | | str | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| Stat text spanning the entire progression of the skill gem | | Stat text spanning the entire progression of the skill gem | ||
Line 59: | Line 74: | ||
| quality_stat_text | | quality_stat_text | ||
| str | | str | ||
| {{yes}} | |||
| {{yes}} | | {{yes}} | ||
| Stat text for the quality bonus spanning the entire progression of the skill gem | | Stat text for the quality bonus spanning the entire progression of the skill gem | ||
Line 65: | Line 81: | ||
| bool | | bool | ||
| {{yes}} | | {{yes}} | ||
| {{no}} | |||
| Whether the mana cost is a percentage (e.x. for [[Aura]]s) | | Whether the mana cost is a percentage (e.x. for [[Aura]]s) | ||
|- | |- | ||
Line 70: | Line 87: | ||
| bool | | bool | ||
| {{yes}} | | {{yes}} | ||
| {{no}} | |||
| Whether the mana cost is reserved instead of being used when the skill cast (e.x. for [[Aura]]s) | | Whether the mana cost is reserved instead of being used when the skill cast (e.x. for [[Aura]]s) | ||
|} | |} |
Revision as of 21:20, 9 April 2016
This subpage provides documentation for Template:Skill.
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 | Opt | Auto | Description |
---|---|---|---|---|
skill_id | str | The (internal) skill id of the skill | ||
is_support_gem | bool | Whether the skill is a support gem. | ||
support_gem_letter | str | The support gem letter (i.e. the small letter icon shown when skills are supported by this skill) | ||
cast_time | float | Cast time in seconds
Only active skills. | ||
gem_description | str | 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 | Name of the active skill
Only active skills. | ||
item_class_restriction | list[str] | Comma separated list of item class restrictions
Only active skills. | ||
stat_text | str | Stat text spanning the entire progression of the skill gem | ||
quality_stat_text | str | Stat text for the quality bonus spanning the entire progression of the skill gem | ||
has_percentage_mana_cost | bool | Whether the mana cost is a percentage (e.x. for Auras) | ||
has_reservation_mana_cost | bool | 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 levelslevel<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 | The level requirement | |
<P>_dexterity_requirement | int | Dexterity requirement | |
<P>_strength_requirement | int | Strength requirement | |
<P>_intelligence_requirement | int | Intelligence requirement | |
<P>_mana_multiplier | int | Mana multiplier in percent | |
<P>_critical_strike_chance | int | Critical strike chance in percent | |
<P>_mana_cost | int | Mana cost (or mana reserved) | |
<P>_damage_effectiveness | int | Damage effectiveness in percent | |
<P>_stored_uses | int | Stored usages (i.e. for Traps or Mines)
For vaal skills use vaal_stored_uses | |
<P>_cooldown | float | Cooldown in seconds | |
<P>_vaal_souls_requirement | int | Vaal souls requirement in normal difficulty | |
<P>_vaal_stored_uses | int | Stored vaal usages
For regular skill use stored_uses | |
<P>_damage_mutliplier | str | Damage multiplier of the skill in percent | |
<P>_stat_text | str | Stat text spanning the entire progression of the skill gem | |
<P>_quality_stat_text | str | Stat text for the quality bonus spanning the entire progression of the skill gem | |
<P>_experience | int | 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 | The internal id of the stat | |
<P>_[quality]_stat<M>_value | int | 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