Difference between revisions of "Template:Skill description"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (no effectsamo) |
SurtrFan8511 (talk | contribs) (interval bugfix) |
||
Line 47: | Line 47: | ||
Additional {{Item|コイン}} (+{{Skill effect potency|base={{{add_money}}}|max={{{max_add_money|0}}}}}%) to {{#var:target}} | Additional {{Item|コイン}} (+{{Skill effect potency|base={{{add_money}}}|max={{{max_add_money|0}}}}}%) to {{#var:target}} | ||
}}<!--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| | }}<!--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|}}) }}{{#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: | }}{{#var:desc}}<!--TODO: |
Revision as of 16:37, 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