Difference between revisions of "Template:Skill description"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(interval bugfix)
(changed defaults here just in case too)
 
(70 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude><!--specifying targets-->{{#vardefine:target|{{Skill targets|self={{{target_self|0}}}|team={{{target_my_team|0}}}|enemy={{{target_enemy|0}}}}} {{Skill range|{{{distance|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}}}
<includeonly><onlyinclude>{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|}}{{#vardefine:potency min|{{{mult|0}}}}}{{#vardefine:potency max|{{{mult_max|0}}}}}
}}{{#vardefine:desc|<!--apply status-->{{#ifeq:{{{add_status_id|0}}}|0||
}}{{#vardefine:numerical range|{{{distance|0}}} {{{distance_h|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}}}<!--specifying targets-->{{#vardefine:target|{{Skill targets|self={{{target_self|0}}}|team={{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0|0|{{{target_my_team|0}}}}}|enemy={{{target_enemy|0}}}}}{{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0||{{spaces|1}}}}{{#if:{{{override range|}}}|{{{override range}}}|{{Skill range|{{#var:numerical range}}}}}}
Apply {{Status|id={{{add_status_id|}}}}} to {{#var:target}}
}}{{#vardefine:desc|<!--apply status-->{{#ifeq:{{{target_self|0}}} {{{target_my_team|0}}} {{{target_enemy|0}}}|0 0 0||{{#ifeq:{{{add_status_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Apply {{Status name|id={{{add_status_id}}}}};{{#var:effect tags}}}}
}}<!--remove status-->{{#ifeq:{{{remove_status_id|0}}}|0||
}}Apply {{Status|id={{{add_status_id|}}}}} to {{#var:target}}{{#ifeq:{{#var:skill page|false}}|true|[[Category:Skill that uses {{Status name|id={{{add_status_id|}}}}}]]}}{{#vardefine:effect present|true}}
Remove {{Status|id={{{remove_status_id|}}}}} from {{#var:target}}
}}}}<!--remove status-->{{#ifeq:{{{remove_status_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Remove {{Status name|id={{{remove_status_id}}}}};{{#var:effect tags}}}}
}}<!--skill advantage-->{{#ifeq:{{{anti_skill_id|0}}}|0||
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#if:{{#var:short description|}}|{{Status|id={{{remove_status_id|}}}}}|Remove {{Status|id={{{remove_status_id|}}}}}}}{{#vardefine:short description|true}}{{#vardefine:effect present|true}}
Deals additional damage against enemies with {{Skill name|id={{{anti_skill_id|}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
}}<!--skill advantage-->{{#ifeq:{{{anti_skill_id|0}}}|0||{{#ifeq:{{{mult|0}}}|100||
}}<!--status advantage-->{{#ifeq:{{{anti_status_id|0}}}|0||
{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#if:{{#var:short description|}}|{{Skill name|id={{{anti_skill_id}}}}} (x{{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}})|Deal {{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}}x damage to {{Skill name|id={{{anti_skill_id}}}}} enemies}}{{#vardefine:short description|true}}{{#vardefine:effect present|true}}
Deals additional damage against enemies with {{Status|id={{{anti_status_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
}}}}<!--status advantage-->{{#ifeq:{{{anti_status_id|0}}}|0||{{#ifeq:{{{mult|0}}}|100||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Status advantage {{Status name|id={{{anti_status_id}}}}};{{#var:effect tags}}}}
}}<!--weapon resistance-->{{#ifeq:{{{reduce_weapon_id|0}}}|0||
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#if:{{#var:short description|}}|{{Status|id={{{anti_status_id}}}}} (x{{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}})|Deal {{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}}x damage to {{Status|id={{{anti_status_id}}}}}-affected enemies}}{{#vardefine:short description|true}}{{#vardefine:effect present|true}}
Reduces damage against enemies with {{Weapon|{{{reduce_weapon_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
}}}}<!--weapon resistance-->{{#ifeq:{{{reduce_weapon_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Weapon resist {{Weapon type|{{{reduce_weapon_id}}}}};{{#var:effect tags}}}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}Take {{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}}x damage from {{Weapon|{{{reduce_weapon_id}}}}}-ranged enemies{{#vardefine:effect present|true}}
}}<!--status resistance (unused?)-->{{#ifeq:{{{reduce_status_id|0}}}|0||
}}<!--status resistance (unused?)-->{{#ifeq:{{{reduce_status_id|0}}}|0||
Reduces damage against enemies with {{Status|id={{{reduce_status_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
{{#if:{{#var:effect present|}}|&#32;+&#32;}}Take {{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}}x damage from enemies with {{Status|id={{{reduce_status_id}}}}}{{#vardefine:effect present|true}}
}}<!--change hp-->{{#ifeq:{{{add_hp|0}}}|0||
}}<!--change hp-->{{#ifeq:{{{add_hp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{add_hp}}} > 0|Increase|Decrease}} HP;{{#ifexpr:({{{hp_drain_mult|0}}} != 0 or {{{hp_drain_add|0}}} != 0)|Lifesteal;}}{{#var:effect tags}}{{#vardefine:potency min|{{{add_hp}}}}}{{#vardefine:potency max|{{{max_add_hp|0}}}}}}}
{{#ifexpr:{{{add_hp}}} > 0|+}}{{Skill effect potency|base={{{add_hp}}}|max={{{max_add_hp|0}}}}} to {{#var:target}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}[[{{#ifexpr:{{{add_hp}}} > 0|Increase|Decrease}} HP|{{#ifexpr:{{{add_hp}}} > 0|+}}{{Skill effect potency|base={{{add_hp}}}|max={{{max_add_hp|0}}}}} HP]] to {{#var:target}}<!--
}}<!--change cp-->{{#ifeq:{{{add_cp|0}}}|0||
Lifesteal mult-->{{#ifeq:{{{hp_drain_mult|0}}}|0||, [[Lifesteal|steal]] {{Skill effect potency|base={{{hp_drain_mult}}}|max={{{hp_drain_mult_max|0}}}}}% of decreased HP}}<!--
{{#ifexpr:{{{add_cp}}} > 0|+}}{{Skill effect potency|base={{{add_cp}}}|max={{{max_add_cp|0}}}}} to {{#var:target}}
Lifesteal add-->{{#ifeq:{{{hp_drain_add|0}}}|0||, [[Lifesteal|steal]] up to {{Skill effect potency|base={{{hp_drain_add}}}|max={{{hp_drain_add_max|0}}}}} HP}}{{#vardefine:effect present|true}}
}}<!--change cp-->{{#ifeq:{{{add_cp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{add_cp}}} > 0|Increase|Decrease}} CP;{{#ifexpr:({{{cp_drain_mult|0}}} != 0 or {{{cp_drain_add|0}}} != 0)|CP steal;}}{{#var:effect tags}}{{#vardefine:potency min|{{{add_cp}}}}}{{#vardefine:potency max|{{{max_add_cp|0}}}}}}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}[[{{#ifexpr:{{{add_cp}}} > 0|Increase|Decrease}} CP|{{#ifexpr:{{{add_cp}}} > 0|+}}{{Skill effect potency|base={{{add_cp}}}|max={{{max_add_cp|0}}}}} CP]] to {{#var:target}}<!--
CPSteal mult-->{{#ifeq:{{{cp_drain_mult|0}}}|0||, [[CP steal|steal]] {{Skill effect potency|base={{{cp_drain_mult}}}|max={{{cp_drain_mult_max|0}}}}}% of decreased CP}}<!--
CPSteal add-->{{#ifeq:{{{cp_drain_add|0}}}|0||, [[CP steal|steal]] up to {{Skill effect potency|base={{{cp_drain_add}}}|max={{{cp_drain_add_max|0}}}}} CP}}{{#vardefine:effect present|true}}
}}<!--change hate-->{{#ifeq:{{{add_hate|0}}}|0||
}}<!--change hate-->{{#ifeq:{{{add_hate|0}}}|0||
{{#ifexpr:{{{add_hate}}} > 0|+}}{{Skill effect potency|base={{{add_hate}}}|max={{{max_add_hate|0}}}}} to {{#var:target}}
{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifexpr:{{{add_hate}}} > 0|+}}{{Skill effect potency|base={{{add_hate}}}|max={{{max_add_hate|0}}}}} Hate to {{#var:target}}{{#vardefine:effect present|true}}
}}<!--extra movement-->{{#ifexpr:{{{add_sp_v|0}}} = 0 and {{{add_sp_h|0}}} = 0 ||
}}<!--extra movement-->{{#ifexpr:{{{add_sp_v|0}}} = 0 and {{{add_sp_h|0}}} = 0 ||
{{#ifeq:{{{add_sp_v|0}}}|0|
{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{Movement change|horizontal={{{add_sp_h|0}}}|vertical={{{add_sp_v|0}}}}}{{#if:{{#var:skill page|}}|{{#ifexpr:{{{add_sp_h|0}}} > 0 and {{{add_sp_v|0}}} > 0|{{#vardefine:effect tags|Add omnidirectional move;{{#var:effect tags}}}}|{{#ifexpr:{{{add_sp_h|0}}} > 0|{{#vardefine:effect tags|Add horizontal move;{{#var:effect tags}}}}}}{{#ifexpr:{{{add_sp_v|0}}} > 0|{{#vardefine:effect tags|Add vertical move;{{#var:effect tags}}}}}}}}}}<!--{{#ifeq:{{{add_sp_v|0}}}|0|
Increases horizontal movement by {{{add_sp_h}}}|{{#ifeq:{{{add_sp_h|0}}}|
{{#ifexpr:{{{add_sp_h|0}}} > 0|[[Increase Movement|Increase horizontal movement]] by {{{add_sp_h}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add horizontal move;{{#var:effect tags}}}}
Increases vertical movement by {{{add_sp_v}}}|
}}|Decrease horizontal movement by {{#expr:-{{{add_sp_h|0}}}}}}}|{{#ifeq:{{{add_sp_h|0}}}|0|
Increases omnidirectional movement by {{{add_sp_h}}}x{{{add_sp_v}}}}}}}
{{#ifexpr:{{{add_sp_v|0}}} > 0|[[Increase Movement|Increase vertical movement]] by {{{add_sp_v}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add vertical move;{{#var:effect tags}}}}
}}<!--pushback/pullback-->{{#ifeq:{{{knockback|0}}}|0||
}}|Decrease vertical movement by {{#expr:-{{{add_sp_v|0}}}}}}}|
Move {{#var:target}} {{#expr:abs({{{knockback}}})}} square{{#ifexpr:abs({{{knockback}}}) = 1||s}} {{#ifexpr:{{{knockback}}} > 0|backwards|forwards}}
{{#ifexpr:{{{add_sp_v|0}}} > 0 or {{{add_sp_h}}} > 0|[[Increase Movement|Increase omnidirectional movement]] by {{{add_sp_h}}}x{{{add_sp_v}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add omnidirectional move;{{#var:effect tags}}}}
}}<!--push left/right-->{{#ifeq:{{{knockback_horizontal|0}}}|0||
}}|Decrease omnidirectional movement by {{#expr:-{{{add_sp_h|0}}}}}x{{#expr:-{{{add_sp_v|0}}}}}}}}}}}-->{{#vardefine:effect present|true}}
Move {{#var:target}} {{#expr:abs({{{knockback_horizontal}}})}} square{{#ifexpr:abs({{{knockback_horizontal}}}) = 1||s}} to the {{#ifexpr:{{{knockback_horizontal}}} > 0|right|left}} of the caster
}}<!--pushback/pullback-->{{#ifeq:{{{knockback|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{knockback}}} > 0|Push|Pull}};{{#var:effect tags}}{{#vardefine:potency min|{{#expr:abs({{{knockback}}})}}}}{{#vardefine:potency max|{{#expr:abs({{{knockback}}})}}}}}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}[[Blowback|{{#ifexpr:{{{knockback}}} > 0|Push away|Attract}}]] {{#var:target}} by {{#expr:abs({{{knockback}}})}} square{{#ifexpr:abs({{{knockback}}}) = 1||s}}{{#vardefine:effect present|true}}
}}<!--push left/right-->{{#ifeq:{{{knockback_horizontal|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{knockback_horizontal}}} > 0|Push right|Push left}};{{#var:effect tags}}{{#vardefine:potency min|{{#expr:abs({{{knockback_horizontal}}})}}}}{{#vardefine:potency max|{{#expr:abs({{{knockback_horizontal}}})}}}}}}{{#vardefine:effect present|true}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}[[Blowback|Move]] {{#var:target}} {{#expr:abs({{{knockback_horizontal}}})}} square{{#ifexpr:abs({{{knockback_horizontal}}}) = 1||s}} to the {{#ifexpr:{{{knockback_horizontal}}} > 0|right|left}}{{#vardefine:effect present|true}}
}}<!--random push-->{{#ifeq:{{{knockback_random|0}}}|0||
}}<!--random push-->{{#ifeq:{{{knockback_random|0}}}|0||
Move {{#var:target}} randomly for {{{knockback_random}}} square{{#ifexpr:{{{knockback_random}}} = 1||s}}
{{#if:{{#var:effect present|}}|&#32;+&#32;}}[[Blowback|Move]] {{#var:target}} randomly for {{{knockback_random}}} square{{#ifexpr:{{{knockback_random}}} = 1||s}}{{#vardefine:effect present|true}}
}}<!--push resistance-->{{#ifexpr:{{{regist_move_horizontal|0}}} and {{{regist_knockback|0}}} and {{{regist_forcepull|0}}}||
}}<!--push resistance-->{{#ifexpr:{{{regist_move_horizontal|0}}} = 0 and {{{regist_knockback|0}}} = 0 and {{{regist_forcepull|0}}} = 0||
{{#ifexpr:{{{regist_move_horizontal|0}}} >= 99 and {{{regist_knockback|0}}} >= 99 and {{{regist_forcepull|0}}} >= 99|
{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifexpr:{{{regist_move_horizontal|0}}} >= 99 and {{{regist_knockback|0}}} >= 99 and {{{regist_forcepull|0}}} >= 99|
Resists all forced movement|{{#ifeq:{{{regist_move_horizontal|0}}}|0||{{#ifexpr:{{{regist_move_horizontal}}} >= 99|
[[Blowback Resistance|Resists all forced movement]]{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Resist all push;{{#var:effect tags}}}}
Resists forced horizontal movement|
}}|{{#ifeq:{{{regist_move_horizontal|0}}}|0||{{#ifexpr:{{{regist_move_horizontal}}} >= 99|
[[Blowback Resistance|Resists forced horizontal movement]]{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Resist horizontal push;{{#var:effect tags}}}}
}}|
Resists horizontal movement of {{{regist_move_horizontal}}} square(s)}}}}{{#ifeq:{{{regist_knockback|0}}}|0||{{#ifexpr:{{{regist_knockback}}} >= 99|
Resists horizontal movement of {{{regist_move_horizontal}}} square(s)}}}}{{#ifeq:{{{regist_knockback|0}}}|0||{{#ifexpr:{{{regist_knockback}}} >= 99|
Resists forced backward movement|
[[Blowback Resistance|Resists forced backward movement]]{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Resist backward push;{{#var:effect tags}}}}
}}|
Resists backward movement of {{{regist_knockback}}} square(s)}}}}{{#ifeq:{{{regist_forcepull|0}}}|0||{{#ifexpr:{{{regist_forcepull}}} >= 99|
Resists backward movement of {{{regist_knockback}}} square(s)}}}}{{#ifeq:{{{regist_forcepull|0}}}|0||{{#ifexpr:{{{regist_forcepull}}} >= 99|
Resists forced forward movement|
[[Blowback Resistance|Resists forced forward movement]]{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Resist forward push;{{#var:effect tags}}}}
Resists forward movement of {{{regist_forcepull}}} square(s)}}}}
}}|
}}}}<!--change unit XP-->{{#ifeq:{{{add_exp|0}}}|0||
Resists forward movement of {{{regist_forcepull}}} square(s)}}}}}}{{#vardefine:effect present|true}}
Additional XP (+{{Skill effect potency|base={{{add_exp}}}|max={{{max_add_exp|0}}}}}%) to {{#var:target}}
}}<!--change unit XP-->{{#ifeq:{{{add_exp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add unit XP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_exp}}}}}{{#vardefine:potency max|{{{max_add_exp|0}}}}}}}
}}<!--collect unit XP-->{{#ifeq:{{{collect_exp|0}}}|0||
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifeq:{{{support_ok|0}}}|0|(Disabled on supports)&#32;}}Additional [[LV|XP]] (+{{Skill effect potency|base={{{add_exp}}}|max={{{max_add_exp|0}}}}}%){{#vardefine:effect present|true}}
Collect {{{collect_exp}}}% of earned unit XP to {{#var:target}}
}}<!--collect unit XP-->{{#ifeq:{{{collect_exp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Collect unit XP;{{#var:effect tags}}{{#vardefine:potency min|{{{collect_exp}}}}}{{#vardefine:potency max|{{{collect_exp}}}}}}}
}}<!--change rank XP-->{{#ifeq:{{{add_rank_exp|0}}}|0||
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifeq:{{{support_ok|0}}}|0|(Disabled on supports)&#32;}}Collect {{{collect_exp}}}% of earned [[LV|unit XP]] to {{#var:target}}{{#vardefine:effect present|true}}
Additional Rank XP (+{{Skill effect potency|base={{{add_rank_exp}}}|max={{{max_add_rank_exp|0}}}}}%) to {{#var:target}}
}}<!--change rank XP-->{{#ifeq:{{{add_rank_exp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add rank XP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_rank_exp}}}}}{{#vardefine:potency max|{{{max_add_rank_exp|0}}}}}}}
}}<!--change coin payout-->{{#ifeq:{{{add_money|0}}}|0||
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifeq:{{{support_ok|0}}}|0|(Disabled on supports)&#32;}}Additional [[Rank|Rank XP]] (+{{Skill effect potency|base={{{add_rank_exp}}}|max={{{max_add_rank_exp|0}}}}}%){{#vardefine:effect present|true}}
Additional {{Item|コイン}} (+{{Skill effect potency|base={{{add_money}}}|max={{{max_add_money|0}}}}}%) to {{#var:target}}
}}<!--change coin payout-->{{#ifeq:{{{add_money|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add Coin;{{#var:effect tags}}{{#vardefine:potency min|{{{add_money}}}}}{{#vardefine:potency max|{{{max_add_money|0}}}}}}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifeq:{{{support_ok|0}}}|0|(Disabled on supports)&#32;}}[[Items|Additional]] {{Item|コイン}} (+{{Skill effect potency|base={{{add_money}}}|max={{{max_add_money|0}}}}}%){{#vardefine:effect present|true}}
}}<!--change FP payout-->{{#ifeq:{{{add_support_point|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add FP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_support_point}}}}}{{#vardefine:potency max|{{{max_add_support_point|0}}}}}}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifeq:{{{support_ok|0}}}|0|(Disabled on supports)&#32;}}[[Items|Additional]] {{Item|Ally Points}} (+{{Skill effect potency|base={{{add_support_point}}}|max={{{max_add_support_point|0}}}}}%){{#vardefine:effect present|true}}
}}<!--change item payout-->{{#ifeq:{{{item_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add {{{item_id}}};{{#var:effect tags}}{{#vardefine:potency min|{{{prob_value|0}}}}}{{#vardefine:potency max|{{{prob_max_value|0}}}}}}}
}}{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#ifeq:{{{support_ok|0}}}|0|(Disabled on supports)&#32;}}Extra chance of {{Item|id={{{item_id}}}}} (+{{Skill effect potency|base={{{prob_value|0}}}|max={{{prob_max_value|0}}}}}%){{#vardefine:effect present|true}}
}}<!--new entries here-->
}}<!--new entries here-->
}}<!--nothing-->{{#if:{{#var:desc|}}||{{#vardefine:desc|No effect}}}}<!--turn intervals-->{{#ifexpr:{{{timing|0}}} != 8 and {{{timing|0}}} != 9|{{#vardefine:desc|{{#if:{{#vardefineecho:turn interval|{{Skill turn interval|interval={{{turn_interval|0}}}|surplus={{{turn_interval_surplus|0}}}|total turn={{{turn_interval_is_total_turn|0}}}}}}}|({{#var:turn interval|}})&#32;}}{{#var:desc}}}}
}}<!--nothing-->{{#if:{{#var:effect present|}}||{{#vardefine:desc|No effect}}
}}<!--turn intervals-->{{#ifexpr:{{{timing|0}}} != 8 and {{{timing|0}}} != 9|{{#vardefine:desc|{{#if:{{#vardefineecho:turn interval|{{Skill turn interval|interval={{{turn_interval|1}}}|surplus={{{turn_interval_surplus|0}}}|total turn={{{turn_interval_is_total_turn|1}}}}}}}|({{#var:turn interval|}})&#32;}}{{#var:desc}}}}
}}<!--CP conditions-->{{#if:{{#vardefineecho:cp condition|{{Value condition|value=CP|equal={{{cond_cp_equal|0}}}|less={{{cond_cp_less|0}}}|greater={{{cond_cp_greater|0}}}|cond_type={{{cond_cp_combination_type|0}}}}}}}|{{#vardefine:desc|(If {{#var:cp condition}}) {{#var:desc}}}}
}}<!--HP conditions-->{{#if:{{#vardefineecho:hp condition|{{Value condition|value=HP|equal={{{cond_hp_prop_equal|0}}}|less={{{cond_hp_prop_less|0}}}|greater={{{cond_hp_prop_greater|0}}}|cond_type={{{cond_hp_prop_combination_type|0}}}}}}}|{{#vardefine:desc|(If {{#var:hp condition}}%) {{#var:desc}}}}
}}<!--always explicitly state trigger timings-->{{#ifeq:{{{timing|0}}}|9|{{#vardefine:desc|[{{Skill trigger timing|9}}] {{#var:desc}}}}
}}<!--always explicitly state trigger timings-->{{#ifeq:{{{timing|0}}}|9|{{#vardefine:desc|[{{Skill trigger timing|9}}] {{#var:desc}}}}
}}{{#var:desc}}<!--TODO:
}}{{#ifeq:{{#var:skill page|false}}|true|<!--creating subobject-->{{#subobject:effect{{#var:skillnumber}}
- state when effect is disabled on supports
| Has skill ID = {{{skill_id|0}}}
- uhhhh
| Has skill type = {{#if:{{#var:ar skill page|}}|AR Skill|{{#if:{{#var:charge skill page|}}|Charge Skill|Base Skill}}}}
--></includeonly></onlyinclude><noinclude>
| Has effect tags = {{#var:effect tags}}|+sep=;
This template generates a skill description based on the ingame variables.
| Has effect min potency = {{#var:potency min|0}}
 
| Has effect max potency = {{#var:potency max|0}}
Some of the examples (variables with a value of 0 are omitted for easier reading):
| Has effect targets = {{#ifeq:{{{target_self|0}}}|0||self;}}{{#ifeq:{{{target_my_team|0}}}|0||allies;}}{{#ifeq:
<pre>{{Skill description
{{{target_enemy|0}}}|0||enemies}}|+sep=;
|timing=19
| Has trigger timing ID = {{{timing|0}}}
|target_my_team=1
| Has range = {{{distance|0}}} {{{distance_h|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}
|range_h=99
| Has turn interval = {{{turn_interval|1}}} {{{turn_interval_surplus|0}}} {{{turn_interval_is_total_turn|1}}}
|range_v=99
}}|}}{{#vardefine:effect present|}}{{#var:desc}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
|range_d=99
|is_square=1
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_is_total_turn=1
}}</pre>
{{Skill description
|timing=19
|target_my_team=1
|range_h=99
|range_v=99
|range_d=99
|is_square=1
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_is_total_turn=1
}}
 
<pre>{{Skill description
|timing=18
|target_self=1
|rate_2_use=50
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_surplus=1
|turn_interval_is_total_turn=1
}}</pre>
{{Skill description
|timing=18
|target_self=1
|rate_2_use=50
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_surplus=1
|turn_interval_is_total_turn=1
}}
 
<pre>{{Skill description
|timing=1
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|regist_knockback=99
|turn_interval=1
|turn_interval_is_total_turn=1
}}</pre>
{{Skill description
|timing=1
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|regist_knockback=99
|turn_interval=1
|turn_interval_is_total_turn=1
}}
 
<pre>{{Skill description
|timing=17
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|add_money=5
|max_add_money=5
|turn_interval=1
|turn_interval_is_total_turn=1
}}</pre>
{{Skill description
|timing=17
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|add_money=5
|max_add_money=5
|turn_interval=1
|turn_interval_is_total_turn=1
}}
 
<pre>{{Skill description
|timing=7
|target_enemy=1
|rate_2_use=50
|mult=100
|mult_max=100
|knockback=-1
|turn_interval=1
|turn_interval_is_total_turn=1
}}</pre>
{{Skill description
|timing=7
|target_enemy=1
|rate_2_use=50
|mult=100
|mult_max=100
|knockback=-1
|turn_interval=1
|turn_interval_is_total_turn=1
}}
</noinclude>

Latest revision as of 16:16, 1 October 2023

Template documentation[view] [edit] [history] [purge]

Description

This template generates a skill description based on the ingame variables. Variables with a lacking parameter get replaced with 0. Additionally, it also creates a categorization subobject if called on skill infobox pages. This subobject is later used in Template:Skill list and Template:Skill list table.

Usage

It is not recommended to directly invoke this template. Instead, use
{{#masterdata:SkillDesctiption|<id>|effect=<effect>}}

Where <id> is ID of the skill, <effect> is ID of the skill effect. Refer to Template:Skill bundle to see full skill desriptions.

Beside arguments that match ingame variables, there are following arguments:

Variables

  • short description - undeclare this variable before directly calling this template to force long skill descriptions for every skill effect.

Usage examples

{{Skill description
|timing=19
|target_my_team=1
|range_h=99
|range_v=99
|range_d=99
|is_square=1
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_is_total_turn=1
}}

Apply ArdorATK Up by 1.2x ~ 2.4x, +5CP/turn for 2 turns (Buff) to allies on the entire board

{{Skill description
|timing=18
|target_self=1
|rate_2_use=50
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_surplus=1
|turn_interval_is_total_turn=1
}}

(Total turns 2, 3, 4...) Apply ArdorATK Up by 1.2x ~ 2.4x, +5CP/turn for 2 turns (Buff) to self

{{Skill description
|timing=1
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|regist_knockback=99
|turn_interval=1
|turn_interval_is_total_turn=1
}}

Resists forced backward movement

{{Skill description
|timing=17
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|add_money=5
|max_add_money=5
|turn_interval=1
|turn_interval_is_total_turn=1
|support_ok=1
}}

Additional Coin (+5%)

{{Skill description
|timing=7
|target_enemy=1
|rate_2_use=50
|mult=100
|mult_max=100
|knockback=-1
|turn_interval=1
|turn_interval_is_total_turn=1
}}

Attract hit units by 1 square

{{Skill description
|skill_id=691
|effect_serial_id=1
|timing=8
|target_enemy=1
|rate_2_use=100
|mult=150
|mult_max=150
|add_status_id=19
|anti_status_id=19
|turn_interval=1
|turn_interval_is_total_turn=1}}

Apply Countdown-10000~-20000HP/turn for 2 turns (Debuff) to hit units + Deal 1.5x damage to Countdown-10000~-20000HP/turn for 2 turns (Debuff)-affected enemies


Apply Skill LockCannot activate skills for 5 turns. (Debuff) to self and hit units