Template:Skill/doc: Difference between revisions
>OmegaK2 |
>OmegaK2 |
||
Line 165: | Line 165: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.level_requirement | ||
| The level requirement | | The level requirement | ||
|- | |- | ||
Line 171: | Line 171: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.dexterity_requirement | ||
| Dexterity requirement | | Dexterity requirement | ||
|- | |- | ||
Line 177: | Line 177: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.strength_requirement | ||
| Strength requirement | | Strength requirement | ||
|- | |- | ||
Line 183: | Line 183: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.intelligence_requirement | ||
| Intelligence requirement | | Intelligence requirement | ||
|- | |- | ||
Line 189: | Line 189: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.mana_multiplier | ||
| Mana multiplier in percent | | Mana multiplier in percent | ||
|- | |- | ||
Line 195: | Line 195: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.critical_strike_chance | ||
| Critical strike chance in percent | | Critical strike chance in percent | ||
|- | |- | ||
Line 201: | Line 201: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.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. | | 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. | ||
|- | |- | ||
Line 207: | Line 207: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.damage_effectiveness | ||
| Damage effectiveness in percent | | Damage effectiveness in percent | ||
|- | |- | ||
Line 213: | Line 213: | ||
| int | | int | ||
| {{yes}} | | {{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 220: | Line 220: | ||
| float | | float | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.cooldown | ||
| Cooldown in seconds | | Cooldown in seconds | ||
|- | |- | ||
Line 226: | Line 226: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.vaal_souls_requirement | ||
| Vaal souls requirement in [[normal]] difficulty. [[Cruel]] and [[Merciless]] can be calculated based on this value. | | Vaal souls requirement in [[normal]] difficulty. [[Cruel]] and [[Merciless]] can be calculated based on this value. | ||
|- | |- | ||
Line 232: | Line 232: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.vaal_stored_uses | ||
| Stored vaal usages | | Stored vaal usages | ||
For regular skill use stored_uses | For regular skill use stored_uses | ||
Line 239: | Line 239: | ||
| str | | str | ||
| {{yes}} | | {{yes}} | ||
| | | skill_levels.damage_multiplier | ||
| Damage multiplier of the skill in percent | | Damage multiplier of the skill in percent | ||
|- | |- | ||
Line 245: | Line 245: | ||
| str | | str | ||
| {{yes}} | | {{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 251: | Line 251: | ||
| str | | str | ||
| {{yes}} | | {{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 257: | Line 257: | ||
| int | | int | ||
| {{yes}} | | {{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. | ||
Line 281: | Line 281: | ||
| str | | str | ||
| {{yes}} | | {{yes}} | ||
| | | 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 287: | Line 288: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | 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 293: | Line 295: | ||
| str | | str | ||
| {{yes}} | | {{yes}} | ||
| | | 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 299: | Line 302: | ||
| int | | int | ||
| {{yes}} | | {{yes}} | ||
| | | 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 | ||
|} | |} |
Revision as of 20:10, 10 February 2018
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 | Table & 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_restriction | list[str] | ✓
|
✓
|
skill.item_class_restriction | Comma separated list of 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.
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 |
quality_stat_text | str | ✓
|
✓
|
skill.quality_stat_text | Stat text for the quality bonus spanning the entire progression of the skill gem |
has_percentage_mana_cost | bool | ✓
|
✗
|
skill.has_percentage_mana_cost | Whether the mana cost is a percentage (e.x. for Auras) |
has_reservation_mana_cost | bool | ✓
|
✗
|
skill.has_reservation_mana_cost | Whether the mana cost is reserved instead of being used when the skill cast (e.x. for Auras) |
radius | int | ✓
|
✗
|
skill.radius | Primary radius.
Also see the property page for details. |
radius_description | str | ✓
|
✗
|
skill.radius_description | Description to clarify what the primary radius does.
Also see the property page for details. |
radius_secondary | int | ✓
|
✗
|
skill.radius_secondary | Secondary radius.
Also see the property page for details. |
radius_secondary_description | str | ✓
|
✗
|
skill.radius_secondary_description | Description to clarify what the secondary radius does.
Also see the property page for details. |
radius_tertiary | int | ✓
|
✗
|
skill.radius_tertiary | Tertiary radius.
Also see the property page for details. |
radius_description | str | ✓
|
✗
|
skill.radius_tertiary_description | Description to clarify what the tertiary radius does.
Also see the property page for details. |
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 | Property | 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>_critical_strike_chance | int | ✓
|
skill_levels.critical_strike_chance | Critical strike chance in percent |
<P>_mana_cost | int | ✓
|
skill_levels.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. |
<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 | Vaal souls requirement in normal difficulty. Cruel and Merciless can be calculated based on this value. |
<P>_vaal_stored_uses | int | ✓
|
skill_levels.vaal_stored_uses | Stored vaal usages
For regular skill use stored_uses |
<P>_damage_mutliplier | str | ✓
|
skill_levels.damage_multiplier | Damage multiplier of the skill in percent |
<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. |
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=
See also