Difference between revisions of "Template:Skill description"

Jump to navigation Jump to search
no edit summary
Line 4: Line 4:
}}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|}}}}}]]}}}}
}}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|}}}}}]]}}}}
}}<!--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}}}}
}}<!--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}}}}
}}{{#if:{{#var:short description|}}|{{Status|id={{{remove_status_id|}}}}}|Remove {{Status|id={{{remove_status_id|}}}}}}}{{#vardefine:short description|true}}
}}(START){{#if:{{#var:short description|}}|{{Status|id={{{remove_status_id|}}}}}|Remove {{Status|id={{{remove_status_id|}}}}}}}{{#vardefine:short description|true}}(END)
}}<!--skill advantage-->{{#ifeq:{{{anti_skill_id|0}}}|0||{{#ifeq:{{{mult|0}}}|100||
}}<!--skill advantage-->{{#ifeq:{{{anti_skill_id|0}}}|0||{{#ifeq:{{{mult|0}}}|100||
{{#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}}
(START){{#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}}(END)
}}}}<!--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}}}}
}}}}<!--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}}}}
}}{{#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}}
}}(START){{#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}}(END)
}}}}<!--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}}}}
}}}}<!--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}}}}
}}Take {{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}}x damage from {{Weapon|{{{reduce_weapon_id}}}}}-ranged enemies
}}(START)Take {{Skill effect potency|base={{#expr:{{{mult|0}}} / 100}}|max={{#expr:{{{mult_max|0}}} / 100}}}}x damage from {{Weapon|{{{reduce_weapon_id}}}}}-ranged enemies(END)
}}<!--status resistance (unused?)-->{{#ifeq:{{{reduce_status_id|0}}}|0||
}}<!--status resistance (unused?)-->{{#ifeq:{{{reduce_status_id|0}}}|0||
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}}}}}
(START)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}}}}}(END)
}}<!--change hp-->{{#ifeq:{{{add_hp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{add_hp}}} > 0|Increase|Decrease}} HP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_hp}}}}}{{#vardefine:potency max|{{{max_add_hp|0}}}}}}}
}}<!--change hp-->{{#ifeq:{{{add_hp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{add_hp}}} > 0|Increase|Decrease}} HP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_hp}}}}}{{#vardefine:potency max|{{{max_add_hp|0}}}}}}}
}}[[{{#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}}
}}(START)[[{{#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}}(END)
}}<!--change cp-->{{#ifeq:{{{add_cp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{add_cp}}} > 0|Increase|Decrease}} CP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_cp}}}}}{{#vardefine:potency max|{{{max_add_cp|0}}}}}}}
}}<!--change cp-->{{#ifeq:{{{add_cp|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|{{#ifexpr:{{{add_cp}}} > 0|Increase|Decrease}} CP;{{#var:effect tags}}{{#vardefine:potency min|{{{add_cp}}}}}{{#vardefine:potency max|{{{max_add_cp|0}}}}}}}
}}[[{{#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}}
}}(START)[[{{#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}}(END)
}}<!--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}}}}} Hate to {{#var:target}}
(START){{#ifexpr:{{{add_hate}}} > 0|+}}{{Skill effect potency|base={{{add_hate}}}|max={{{max_add_hate|0}}}}} Hate to {{#var:target}}(END)
}}<!--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|
(START){{#ifeq:{{{add_sp_v|0}}}|0|
[[Increase Movement|Increases horizontal movement]] by {{{add_sp_h}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add horizontal move;{{#var:effect tags}}}}
[[Increase Movement|Increases horizontal movement]] by {{{add_sp_h}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add horizontal move;{{#var:effect tags}}}}
}}|{{#ifeq:{{{add_sp_h|0}}}|0|
}}|{{#ifeq:{{{add_sp_h|0}}}|0|
Line 26: Line 26:
}}|
}}|
[[Increase Movement|Increases omnidirectional movement]] by {{{add_sp_h}}}x{{{add_sp_v}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add omnidirectional move;{{#var:effect tags}}}}
[[Increase Movement|Increases omnidirectional movement]] by {{{add_sp_h}}}x{{{add_sp_v}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add omnidirectional move;{{#var:effect tags}}}}
}}}}}}
}}}}}}(END)
}}<!--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}}})}}}}}}
}}<!--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}}})}}}}}}
}}[[Blowback|{{#ifexpr:{{{knockback}}} > 0|Push away|Attract}}]] {{#var:target}} by {{#expr:abs({{{knockback}}})}} square{{#ifexpr:abs({{{knockback}}}) = 1||s}}
}}(START)[[Blowback|{{#ifexpr:{{{knockback}}} > 0|Push away|Attract}}]] {{#var:target}} by {{#expr:abs({{{knockback}}})}} square{{#ifexpr:abs({{{knockback}}}) = 1||s}}(END)
}}<!--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}}})}}}}}}
}}<!--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}}})}}}}}}
}}[[Blowback|Move]] {{#var:target}} {{#expr:abs({{{knockback_horizontal}}})}} square{{#ifexpr:abs({{{knockback_horizontal}}}) = 1||s}} to the {{#ifexpr:{{{knockback_horizontal}}} > 0|right|left}}
}}(START)[[Blowback|Move]] {{#var:target}} {{#expr:abs({{{knockback_horizontal}}})}} square{{#ifexpr:abs({{{knockback_horizontal}}}) = 1||s}} to the {{#ifexpr:{{{knockback_horizontal}}} > 0|right|left}}(END)
}}<!--random push-->{{#ifeq:{{{knockback_random|0}}}|0||
}}<!--random push-->{{#ifeq:{{{knockback_random|0}}}|0||
[[Blowback|Move]] {{#var:target}} randomly for {{{knockback_random}}} square{{#ifexpr:{{{knockback_random}}} = 1||s}}
(START)[[Blowback|Move]] {{#var:target}} randomly for {{{knockback_random}}} square{{#ifexpr:{{{knockback_random}}} = 1||s}}(END)
}}<!--push resistance-->{{#ifexpr:{{{regist_move_horizontal|0}}} = 0 and {{{regist_knockback|0}}} = 0 and {{{regist_forcepull|0}}} = 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|
(START){{#ifexpr:{{{regist_move_horizontal|0}}} >= 99 and {{{regist_knockback|0}}} >= 99 and {{{regist_forcepull|0}}} >= 99|
[[Blowback Resistance|Resists all forced movement]]{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Resist all push;{{#var:effect tags}}}}
[[Blowback Resistance|Resists all forced movement]]{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Resist all push;{{#var:effect tags}}}}
}}|{{#ifeq:{{{regist_move_horizontal|0}}}|0||{{#ifexpr:{{{regist_move_horizontal}}} >= 99|
}}|{{#ifeq:{{{regist_move_horizontal|0}}}|0||{{#ifexpr:{{{regist_move_horizontal}}} >= 99|
Line 46: Line 46:
}}|
}}|
Resists forward movement of {{{regist_forcepull}}} square(s)}}}}
Resists forward movement of {{{regist_forcepull}}} square(s)}}}}
}}}}<!--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}}}}}}}
}}(END)}}<!--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}}}}}}}
}}Additional [[LV|XP]] (+{{Skill effect potency|base={{{add_exp}}}|max={{{max_add_exp|0}}}}}%)
}}(START)Additional [[LV|XP]] (+{{Skill effect potency|base={{{add_exp}}}|max={{{max_add_exp|0}}}}}%)(END)
}}<!--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}}}}}}}
}}<!--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}}}}}}}
}}Collect {{{collect_exp}}}% of earned [[LV|unit XP]] to {{#var:target}}
}}(START)Collect {{{collect_exp}}}% of earned [[LV|unit XP]] to {{#var:target}}(END)
}}<!--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 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}}}}}}}
}}Additional [[Rank|Rank XP]] (+{{Skill effect potency|base={{{add_rank_exp}}}|max={{{max_add_rank_exp|0}}}}}%)
}}(START)Additional [[Rank|Rank XP]] (+{{Skill effect potency|base={{{add_rank_exp}}}|max={{{max_add_rank_exp|0}}}}}%)(END)
}}<!--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}}}}}}}
}}<!--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}}}}}}}
}}[[Items|Additional]] {{Item|コイン}} (+{{Skill effect potency|base={{{add_money}}}|max={{{max_add_money|0}}}}}%)
}}(START)[[Items|Additional]] {{Item|コイン}} (+{{Skill effect potency|base={{{add_money}}}|max={{{max_add_money|0}}}}}%)(END)
}}<!--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: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}}}}
Line 64: Line 64:
| Has effect max potency = {{#var:potency max|0}}
| Has effect max potency = {{#var:potency max|0}}
| Has effect targets = {{#ifeq:{{{target_self|0}}}|0||self;}}{{#ifeq:{{{target_my_team|0}}}|0||allies;}}{{#ifeq:{{{target_enemy|0}}}|0||enemies}}|+sep=;
| Has effect targets = {{#ifeq:{{{target_self|0}}}|0||self;}}{{#ifeq:{{{target_my_team|0}}}|0||allies;}}{{#ifeq:{{{target_enemy|0}}}|0||enemies}}|+sep=;
}}|}}{{#var:desc}}<!--TODO:
}}|}}<!--Stitching together parts of an effect with a " + "-->{{#vardefine:desc|{{#replace:{{#var:desc}}|(END)(START)|&#32;+$#32;}}
}}{{#vardefine:desc|{{#replace:{{#var:desc}}|(END)|}}
}}{{#vardefine:desc|{{#replace:{{#var:desc}}|(START)|}}
}}{{#var:desc}}<!--TODO:
- state when effect is disabled on supports
- state when effect is disabled on supports
- uhhhh
--></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
--></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
trusted
5,920

edits

Navigation menu