Difference between revisions of "Template:Skill description"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(interval bugfix)
Line 5: Line 5:
Remove {{Status|id={{{remove_status_id|}}}}} from {{#var:target}}
Remove {{Status|id={{{remove_status_id|}}}}} from {{#var:target}}
}}<!--skill advantage-->{{#ifeq:{{{anti_skill_id|0}}}|0||
}}<!--skill advantage-->{{#ifeq:{{{anti_skill_id|0}}}|0||
Deals additional damage against enemies with {{Skill name|id={{{anti_skill_id|}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
Deals additional damage against enemies with {{Skill name|id={{{anti_skill_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
}}<!--status advantage-->{{#ifeq:{{{anti_status_id|0}}}|0||
}}<!--status advantage-->{{#ifeq:{{{anti_status_id|0}}}|0||
Deals additional damage against enemies with {{Status|id={{{anti_status_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
Deals additional damage against enemies with {{Status|id={{{anti_status_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
Line 13: Line 13:
Reduces damage against enemies with {{Status|id={{{reduce_status_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
Reduces damage against enemies with {{Status|id={{{reduce_status_id}}}}} (x{{Skill effect potency|base={{{mult|0}}}|max={{{mult_max|0}}}}}%)
}}<!--change hp-->{{#ifeq:{{{add_hp|0}}}|0||
}}<!--change hp-->{{#ifeq:{{{add_hp|0}}}|0||
{{#ifexpr:{{{add_hp}}} > 0|+}}{{Skill effect potency|base={{{add_hp}}}|max={{{max_add_hp|0}}}}} to {{#var:target}}
{{#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||
}}<!--change cp-->{{#ifeq:{{{add_cp|0}}}|0||
{{#ifexpr:{{{add_cp}}} > 0|+}}{{Skill effect potency|base={{{add_cp}}}|max={{{max_add_cp|0}}}}} to {{#var:target}}
{{#ifexpr:{{{add_cp}}} > 0|+}}{{Skill effect potency|base={{{add_cp}}}|max={{{max_add_cp|0}}}}} CP to {{#var:target}}
}}<!--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}}
{{#ifexpr:{{{add_hate}}} > 0|+}}{{Skill effect potency|base={{{add_hate}}}|max={{{max_add_hate|0}}}}} Hate to {{#var:target}}
}}<!--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|
{{#ifeq:{{{add_sp_v|0}}}|0|

Revision as of 16:41, 24 August 2020

This template generates a skill description based on the ingame variables.

Some of the examples (variables with a value of 0 are omitted for easier reading):

{{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 Expression error: Unexpected > operator.

{{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
}}

Additional Coin (+5%) to self

{{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
}}

Move hit units Expression error: Unexpected > operator. 1 square forwards