Template:Skill/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(→‎Parameters: updated to reflect template changes and added associated properties)
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:Skill}}
 
{{Lua|Module:Skill}}
__TOC__
__TOC__


==Overview==
==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]].
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==
==Parameters==
All parameters if available should be filled in.  
All parameters if available should be filled in.  


===General Parameters===
===General parameters===
 
{| class="wikitable"
{| class="wikitable"
! Parameter  
! Parameter  
! Type
! Type
! {{abbr|Opt|Optional}}
! Optional
! {{abbr|Auto|PyPoE exported?}}
! {{abbr|PyPoE|Parameters handled by PyPoE export}}
! Property
! Field
! Description
! Description
|-
|-
Line 25: Line 23:
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| [[Property:Is skill id|Is skill id]]
| skill.skill_id
| The (internal) skill id of the skill
| The (internal) skill id of the skill
|-
| is_support_gem
| bool
| {{yes}}
| {{yes}}
| [[Property:Is support gem]]
| Whether the skill is a support gem.
|-
| support_gem_letter
| str
| {{yes}}
| {{yes}}
| [[Property:Has support gem letter|Has support gem letter]]
| The support gem letter (i.e. the small letter icon shown when skills are supported by this skill)
|-
|-
| cast_time
| cast_time
Line 46: Line 30:
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| [[Property:Has cast time|Has cast time]]
| skill.cast_time
| Cast time (or animation time) in seconds
| Cast time (or animation time) in seconds
Only active skills.
Only active skills.
Line 54: Line 38:
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| [[Property:Has description|Has description]]
| skill.description
| 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).
Only active skills.
Only active skills.
Line 62: Line 46:
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| [[Property:Has active skill name|Has active skill name]]
| skill.active_skill_name
| Name of the active skill
| Name of the active skill
Only active skills.
Only active skills.
|-
|-
| item_class_restriction
| item_class_id_restriction
| list[str]
| list[str]
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| [[Property:Has item class restrictions|Has item class restrictions]]
| skill.item_class_id_restriction
[[Property:Has no item class restrictions|Has no item class restrictions]]
skill.item_class_restriction
| Comma separated list of item class restrictions. [[Property:Has no item class restrictions|Has no item class restrictions]] will be set to true if there were no restrictions provided, otherwise the property is not set.
| Comma separated list of item class restrictions. Please note that the class ID and not the localized version must be used; the localized version is available as <code>skill.item_class_restriction</code> field once set.
Only active skills.
Only active skills.
|-
| projectile_speed
| int
| {{yes}}
| {{yes|<span>&#x2713;</span>{{abbr|*|only for some skills}}}}
| skill.projectile_speed
| Speed of the projectile(s) fired by the skill
|-
|-
| stat_text
| stat_text
Line 79: Line 70:
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| [[Property:Has stat text|Has stat text]]
| skill.stat_text
| Stat text spanning the entire progression of the skill gem
| Stat text spanning the entire progression of the skill gem
|-
| quality_stat_text
| str
| {{yes}}
| {{yes}}
| [[Property:Has quality stat text|Has quality stat text]]
| Stat text for the quality bonus spanning the entire progression of the skill gem
|-
| has_percentage_mana_cost
| bool
| {{yes}}
| {{no}}
| [[Property:Has percentage mana cost|Has percentage mana cost]]
| Whether the mana cost is a percentage (e.x. for [[Aura]]s)
|-
| has_reservation_mana_cost
| bool
| {{yes}}
| {{no}}
| [[Property:Has reservation mana cost|Has reservation mana cost]]
| Whether the mana cost is reserved instead of being used when the skill cast (e.x. for [[Aura]]s)
|-
|-
| radius
| radius
Line 107: Line 77:
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| [[Property:Has primary radius|Has primary radius]]
| skill.radius
| Primary radius.  
| Primary radius.  
Also see the property page for details.
|-
|-
| radius_description
| radius_description
Line 115: Line 84:
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| [[Property:Has primary radius description|Has primary radius description]]
| skill.radius_description
| Description to clarify what the primary radius does.  
| Description to clarify what the primary radius does.  
Also see the property page for details.
|-
|-
| radius_secondary
| radius_secondary
Line 123: Line 91:
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| [[Property:Has secondary radius|Has secondary radius]]
| skill.radius_secondary
| Secondary radius.  
| Secondary radius.  
Also see the property page for details.
|-
|-
| radius_secondary_description
| radius_secondary_description
Line 131: Line 98:
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| [[Property:Has secondary radius description|Has secondary radius description]]
| skill.radius_secondary_description
| Description to clarify what the secondary radius does.  
| Description to clarify what the secondary radius does.  
Also see the property page for details.
|-
|-
| radius_tertiary
| radius_tertiary
Line 139: Line 105:
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| [[Property:Has tertiary radius|Has tertiary radius]]
| skill.radius_tertiary
| Tertiary radius.  
| Tertiary radius.  
Also see the property page for details.
|-
|-
| radius_description
| radius_description
Line 147: Line 112:
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| [[Property:Has tertiary radius description|Has tertiary radius description]]
| skill.radius_tertiary_description
| Description to clarify what the tertiary radius does.  
| Description to clarify what the tertiary radius does.  
Also see the property page for details.
|-
| skill_screenshot
| str
| {{yes}}
| {{no}}
| skill.skill_screenshot
| Name of the skill to use for the skill screenshot instead of the value of active_skill_name.
Specifying this parameter will also force the skill screenshot to appear, even if the file does not exist.
 
'''Should not be specified unless the active skill name is ambiguous'''
|-
| skill_screenshot_file
| str
| {{yes}}
| {{no}}
| skill.skill_screenshot
| Full name of the file (excluding File:) of the screenshot for this skill.
Specifying this parameter will also force the skill screenshot to appear, even if the file does not exist.  
 
'''Should not be specified unless the active skill name is ambiguous'''
|}
|}


===Progression Parameters===
===Progression parameters===
 
These parameters can be used to two ways:
These parameters can be used to two ways:
* <code>static_</code> - for progression parameters that are the same at all levels
* <code>static_</code> - for progression parameters that are the same at all levels
* <code>level<N>_</code> - for progression parameters that are variable
* <code>level<N>_</code> - for progression parameters that are variable


Replace <code><nowiki><N></nowiki></code> 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.
Replace <code><nowiki><N></nowiki></code> with the level the arguments are. Start numbers with 1, and don't leave gaps. In addition, for each enabled level <code>level<N> = True</code> has to be set.
Code support: 1 <= N <= 30


Replace <code><nowiki><P></nowiki></code> With the appropriate parameter from above.
Replace <code><nowiki><P></nowiki></code> With the appropriate parameter from above.
Line 167: Line 149:
! Type  
! Type  
! Optional
! Optional
! Property
! {{abbr|PyPoE|Parameters handled by PyPoE export}}
! Field
! Description
! Description
|-
|-
Line 173: Line 156:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has level requirement|Has level requirement]]
| {{yes}}
| skill_levels.level_requirement
| The level requirement
| The level requirement
|-
|-
Line 179: Line 163:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has dexterity requirement|Has dexterity requirement]]
| {{yes}}
| skill_levels.dexterity_requirement
| Dexterity requirement
| Dexterity requirement
|-
|-
Line 185: Line 170:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has strength requirement|Has strength requirement]]
| {{yes}}
| skill_levels.strength_requirement
| Strength requirement
| Strength requirement
|-
|-
Line 191: Line 177:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has intelligence requirement|Has intelligence requirement]]
| {{yes}}
| skill_levels.intelligence_requirement
| Intelligence requirement
| Intelligence requirement
|-
|-
Line 197: Line 184:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has mana multiplier|Has mana multiplier]]
| {{yes}}
| skill_levels.mana_multiplier
| Mana multiplier in percent
| Mana multiplier in percent
|-
| <nowiki><P></nowiki>_attack_time
| float
| {{yes}}
| {{yes}}
| skill_levels.attack_time
| Attack time in seconds. Used for attack skills that don't use a weapon or unarmed.
|-
|-
| <nowiki><P></nowiki>_critical_strike_chance
| <nowiki><P></nowiki>_critical_strike_chance
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has critical strike chance|Has critical strike chance]]
| {{yes}}
| skill_levels.critical_strike_chance
| Critical strike chance in percent
| Critical strike chance in percent
|-
| <nowiki><P></nowiki>_mana_cost
| int
| {{yes}}
| [[Property:Has mana cost|Has mana cost]]
| Mana cost. Depending on whether has_mana_cost_percentage or has_percentage_reservation_cost are true this value is also used as percentage and/or mana reservation cost.
|-
|-
| <nowiki><P></nowiki>_damage_effectiveness
| <nowiki><P></nowiki>_damage_effectiveness
| int  
| int  
| {{yes}}
| {{yes}}
| [[Property:Has damage effectiveness|Has damage effectiveness]]
| {{yes}}
| skill_levels.damage_effectiveness
| Damage effectiveness in percent
| Damage effectiveness in percent
|-
|-
Line 221: Line 212:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has stored uses|Has stored uses]]
| {{yes}}
| skill_levels.stored_uses
| Stored usages (i.e. for [[Traps]] or [[Mines]]). Some other skills may also store "uses" for the purposes of cooldown calculations.
| Stored usages (i.e. for [[Traps]] or [[Mines]]). Some other skills may also store "uses" for the purposes of cooldown calculations.
For vaal skills use vaal_stored_uses  
For vaal skills use vaal_stored_uses  
Line 228: Line 220:
| float
| float
| {{yes}}
| {{yes}}
| [[Property:Has cooldown|Has cooldown]]
| {{yes}}
| skill_levels.cooldown
| Cooldown in seconds
| Cooldown in seconds
|-
|-
Line 234: Line 227:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has vaal souls requirement|Has vaal souls requirement]]
| {{yes}}
| Vaal souls requirement in [[normal]] difficulty. [[Cruel]] and [[Merciless]] can be calculated based on this value.
| skill_levels.vaal_souls_requirement
| Base Vaal souls requirement (without increases from [[Act 5]] or [[Act 10]])
|-
|-
| <nowiki><P></nowiki>_vaal_stored_uses
| <nowiki><P></nowiki>_vaal_stored_uses
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has vaal stored uses|Has vaal stored uses]]
| {{yes}}
| skill_levels.vaal_stored_uses
| Stored vaal usages
| Stored vaal usages
For regular skill use stored_uses
For regular skill use stored_uses
|-
| <nowiki><P></nowiki>_vaal_soul_gain_prevention_time
| float
| {{yes}}
| {{yes}}
| skill_levels.vaal_soul_gain_prevention_time
| Time in seconds in which you can't gain vaal souls after using the skill
|-
|-
| <nowiki><P></nowiki>_damage_mutliplier
| <nowiki><P></nowiki>_damage_mutliplier
| str
| str
| {{yes}}
| {{yes}}
| [[Property:Has damage multiplier|Has damage multiplier]]
| {{yes}}
| skill_levels.damage_multiplier
| Damage multiplier of the skill in percent
| Damage multiplier of the skill in percent
|-
| <nowiki><P></nowiki>_attack_speed_multiplier
| str
| {{yes}}
| {{yes}}
| skill_levels.attack_speed_multiplier
| Multiplier to the attack speed.
Default: 100
|-
|-
| <nowiki><P></nowiki>_stat_text
| <nowiki><P></nowiki>_stat_text
| str
| str
| {{yes}}
| {{yes}}
| [[Property:Has stat text|Has stat text]]
| {{yes}}
| skill_levels.stat_text
| Stat text spanning the entire level of the skill gem
| Stat text spanning the entire level of the skill gem
|-
|-
Line 259: Line 271:
| str
| str
| {{yes}}
| {{yes}}
| [[Property:Has quality stat text|Has quality stat text]]
| {{yes}}
| skill_levels.quality_stat_text
| Stat text for the quality bonus spanning the entire level of the skill gem
| Stat text for the quality bonus spanning the entire level of the skill gem
|-
|-
Line 265: Line 278:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has experience requirement|Has experience requirement]]
| {{yes}}
| skill_levels.experience
| '''Total''' amount of experience for this level.
| '''Total''' amount of experience for this level.
Only for skill gems.
Only for skill gems.
|}
|}
====Costs and reservations====
Skill costs and reservations are defined using the parameters described in this section. All are optional.
Costs and reservations are defined similarly to progression parameters. Replace <code><nowiki><P></nowiki></code> with one of the following:
* <code><nowiki>static_</nowiki></code> – for costs and reservations that are the same at all levels
* <code><nowiki>level<N>_</nowiki></code> – for costs and reservations that vary by skill level. Replace <code><nowiki><N></nowiki></code> with the skill level number, starting with 1.
{| class="wikitable"
! Parameter
! Type
! {{abbr|PyPoE|Parameters handled by PyPoE export}}
! Field
! Description
|-
| <code>static_cost_types</code>
| List of strings
| {{yes}}
| skill_levels.cost_types
| A comma-separated list of strings containing the cost types used by the skill.
Any combination of the following cost types can be used:
* Mana
* Life
* ES
* Rage
* ManaPercent
* LifePercent
|-
| <code><nowiki><P>_cost_amounts</nowiki></code>
| List of integers
| {{yes}}
| skill_levels.cost_amounts
| A comma-separated list of integers containing the cost amounts corresponding to the cost types defined by <code>static_cost_types</code>. The order of the cost amounts must match the order of the cost types. Each list should also have the same number of elements.
|-
| <code><nowiki><P>_mana_reservation_flat</nowiki></code>
| integer
| {{yes}}
| skill_levels.mana_reservation_flat
| The flat amount of mana reserved by the skill.
|-
| <code><nowiki><P>_mana_reservation_percent</nowiki></code>
| integer
| {{yes}}
| skill_levels.mana_reservation_percent
| The percentage amount of mana reserved by the skill.
|-
| <code><nowiki><P>_life_reservation_flat</nowiki></code>
| integer
| {{yes}}
| skill_levels.life_reservation_flat
| The flat amount of life reserved by the skill.
|-
| <code><nowiki><P>_life_reservation_percent</nowiki></code>
| integer
| {{yes}}
| skill_levels.life_reservation_percent
| The percentage amount of life reserved by the skill.
|}
The following parameters would be used for a skill that both costs and reserves a flat amount of mana, varying by level. Only the first two levels are shown.
<pre>
|static_cost_types = Mana
|level1_cost_amounts = 6
|level1_mana_reservation_flat = 6
|level2_cost_amounts = 7
|level2_mana_reservation_flat = 7
</pre>


====Progression stats====
====Progression stats====
Replace <code><nowiki><M></nowiki></code> 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.
Replace <code><nowiki><M></nowiki></code> 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
Code support: 1 <= M <= 8
Line 289: Line 372:
| str
| str
| {{yes}}
| {{yes}}
| [[Property:Has stat ids|Has stat ids]]
| skill_stats_per_level.id
skill_stats_per_level.is_quality_stat=0
| The internal id of the stat
| The internal id of the stat
|-
|-
Line 295: Line 379:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has stat values|Has stat values]]
| skill_stats_per_level.value
skill_stats_per_level.is_quality_stat=0
| The associated value with the stat
| The associated value with the stat
|-
|-
Line 301: Line 386:
| str
| str
| {{yes}}
| {{yes}}
| [[Property:Has quality stat ids|Has quality stat ids]]
| skill_stats_per_level.id
skill_stats_per_level.is_quality_stat=1
| The internal id of the quality stat
| The internal id of the quality stat
|-
|-
Line 307: Line 393:
| int
| int
| {{yes}}
| {{yes}}
| [[Property:Has quality stat values|Has quality stat values]]
| skill_stats_per_level.value
skill_stats_per_level.is_quality_stat=1
| The associated value with the quality stat
| The associated value with the quality stat
|}
|}
Line 329: Line 416:
level2_stat2_value=
level2_stat2_value=
</pre>
</pre>
==Categories==
Pages that transclude {{tl|skill}} are added to [[:Category:Skill data]] automatically.
Pages that use any parameters marked as deprecated are added to [[:Category:Pages using deprecated parameters for skill data]].
==Cargo table declarations==
* [[Template:Skill/cargo/skill]]
* [[Template:Skill/cargo/skill_levels]]
* [[Template:Skill/cargo/skill_stats_per_level]]


==See also==
==See also==
* [[Template:Skill]]
* [[Template:Skill]]
* [[Template:Item]]
* [[Template:Item]]
* [[mediawikiwiki:Extension:Scribunto/Lua_reference_manual#Patterns|Lua reference manual - patterns]]
* [[mediawikiwiki:Extension:Scribunto/Lua_reference_manual#Patterns|Lua reference manual - patterns]]


<includeonly>
{{Documentation categories|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Categories and interwikis go here. -->
[[Category:SMW data templates]]
[[Category:Skill templates]]
</includeonly>
[[Category:Data templates]]
}}

Latest revision as of 18:30, 6 October 2023

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 PyPoE Field Description
skill_id str
skill.skill_id The (internal) skill id of the skill
cast_time float
skill.cast_time Cast time (or animation time) in seconds

Only active skills.

gem_description str
skill.description 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
skill.active_skill_name Name of the active skill

Only active skills.

item_class_id_restriction list[str]
skill.item_class_id_restriction

skill.item_class_restriction

Comma separated list of item class restrictions. Please note that the class ID and not the localized version must be used; the localized version is available as skill.item_class_restriction field once set.

Only active skills.

projectile_speed int
*
skill.projectile_speed Speed of the projectile(s) fired by the skill
stat_text str
skill.stat_text Stat text spanning the entire progression of the skill gem
radius int
skill.radius Primary radius.
radius_description str
skill.radius_description Description to clarify what the primary radius does.
radius_secondary int
skill.radius_secondary Secondary radius.
radius_secondary_description str
skill.radius_secondary_description Description to clarify what the secondary radius does.
radius_tertiary int
skill.radius_tertiary Tertiary radius.
radius_description str
skill.radius_tertiary_description Description to clarify what the tertiary radius does.
skill_screenshot str
skill.skill_screenshot Name of the skill to use for the skill screenshot instead of the value of active_skill_name.

Specifying this parameter will also force the skill screenshot to appear, even if the file does not exist.

Should not be specified unless the active skill name is ambiguous

skill_screenshot_file str
skill.skill_screenshot Full name of the file (excluding File:) of the screenshot for this skill.

Specifying this parameter will also force the skill screenshot to appear, even if the file does not exist.

Should not be specified unless the active skill name is ambiguous

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 level the arguments are. Start numbers with 1, and don't leave gaps. In addition, for each enabled level level<N> = True has to be set.

Replace <P> With the appropriate parameter from above.

Parameter Type Optional PyPoE Field Description
<P>_level_requirement int
skill_levels.level_requirement The level requirement
<P>_dexterity_requirement int
skill_levels.dexterity_requirement Dexterity requirement
<P>_strength_requirement int
skill_levels.strength_requirement Strength requirement
<P>_intelligence_requirement int
skill_levels.intelligence_requirement Intelligence requirement
<P>_mana_multiplier int
skill_levels.mana_multiplier Mana multiplier in percent
<P>_attack_time float
skill_levels.attack_time Attack time in seconds. Used for attack skills that don't use a weapon or unarmed.
<P>_critical_strike_chance int
skill_levels.critical_strike_chance Critical strike chance in percent
<P>_damage_effectiveness int
skill_levels.damage_effectiveness Damage effectiveness in percent
<P>_stored_uses int
skill_levels.stored_uses Stored usages (i.e. for Traps or Mines). Some other skills may also store "uses" for the purposes of cooldown calculations.

For vaal skills use vaal_stored_uses

<P>_cooldown float
skill_levels.cooldown Cooldown in seconds
<P>_vaal_souls_requirement int
skill_levels.vaal_souls_requirement Base Vaal souls requirement (without increases from Act 5 or Act 10)
<P>_vaal_stored_uses int
skill_levels.vaal_stored_uses Stored vaal usages

For regular skill use stored_uses

<P>_vaal_soul_gain_prevention_time float
skill_levels.vaal_soul_gain_prevention_time Time in seconds in which you can't gain vaal souls after using the skill
<P>_damage_mutliplier str
skill_levels.damage_multiplier Damage multiplier of the skill in percent
<P>_attack_speed_multiplier str
skill_levels.attack_speed_multiplier Multiplier to the attack speed.

Default: 100

<P>_stat_text str
skill_levels.stat_text Stat text spanning the entire level of the skill gem
<P>_quality_stat_text str
skill_levels.quality_stat_text Stat text for the quality bonus spanning the entire level of the skill gem
<P>_experience int
skill_levels.experience Total amount of experience for this level.

Only for skill gems.

Costs and reservations

Skill costs and reservations are defined using the parameters described in this section. All are optional.

Costs and reservations are defined similarly to progression parameters. Replace <P> with one of the following:

  • static_ – for costs and reservations that are the same at all levels
  • level<N>_ – for costs and reservations that vary by skill level. Replace <N> with the skill level number, starting with 1.
Parameter Type PyPoE Field Description
static_cost_types List of strings
skill_levels.cost_types A comma-separated list of strings containing the cost types used by the skill.

Any combination of the following cost types can be used:

  • Mana
  • Life
  • ES
  • Rage
  • ManaPercent
  • LifePercent
<P>_cost_amounts List of integers
skill_levels.cost_amounts A comma-separated list of integers containing the cost amounts corresponding to the cost types defined by static_cost_types. The order of the cost amounts must match the order of the cost types. Each list should also have the same number of elements.
<P>_mana_reservation_flat integer
skill_levels.mana_reservation_flat The flat amount of mana reserved by the skill.
<P>_mana_reservation_percent integer
skill_levels.mana_reservation_percent The percentage amount of mana reserved by the skill.
<P>_life_reservation_flat integer
skill_levels.life_reservation_flat The flat amount of life reserved by the skill.
<P>_life_reservation_percent integer
skill_levels.life_reservation_percent The percentage amount of life reserved by the skill.

The following parameters would be used for a skill that both costs and reserves a flat amount of mana, varying by level. Only the first two levels are shown.

|static_cost_types = Mana
|level1_cost_amounts = 6
|level1_mana_reservation_flat = 6
|level2_cost_amounts = 7
|level2_mana_reservation_flat = 7

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.

Please note that the stats will be placed as into the properties as multi-value.

Parameter Type Optional Property Description
<P>_stat<M>_id str
skill_stats_per_level.id

skill_stats_per_level.is_quality_stat=0

The internal id of the stat
<P>_stat<M>_value int
skill_stats_per_level.value

skill_stats_per_level.is_quality_stat=0

The associated value with the stat
<P>_quality_stat<M>_id str
skill_stats_per_level.id

skill_stats_per_level.is_quality_stat=1

The internal id of the quality stat
<P>_quality_stat<M>_value int
skill_stats_per_level.value

skill_stats_per_level.is_quality_stat=1

The associated value with the quality 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=

Categories

Pages that transclude {{skill}} are added to Category:Skill data automatically.

Pages that use any parameters marked as deprecated are added to Category:Pages using deprecated parameters for skill data.

Cargo table declarations

See also