Difference between revisions of "Template:Skill description"

Jump to navigation Jump to search
Just go play Eidos
(Just go play Eidos)
Line 20: Line 20:
{{#if:{{#var:effect present|}}| + }}{{#ifexpr:{{{add_hate}}} > 0|+}}{{Skill effect potency|base={{{add_hate}}}|max={{{max_add_hate|0}}}}} Hate to {{#var:target}}{{#vardefine:effect present|true}}
{{#if:{{#var:effect present|}}| + }}{{#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 ||
{{#if:{{#var:effect present|}}|&#32;+&#32;}}{{#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|
[[Increase Movement|Increases horizontal movement]] by {{{add_sp_h}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add horizontal move;{{#var:effect tags}}}}
{{#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}}}}
}}|{{#ifeq:{{{add_sp_h|0}}}|0|
}}|Decrease horizontal movement by {{#expr:-{{{add_sp_h|0}}}}}}}|{{#ifeq:{{{add_sp_h|0}}}|0|
[[Increase Movement|Increases vertical movement]] by {{{add_sp_v}}}{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Add vertical move;{{#var:effect tags}}}}
{{#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}}}}
}}|
}}|Decrease vertical movement by {{#expr:-{{{add_sp_v|0}}}}}}}|
[[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}}}}
{{#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}}}}
}}}}}}{{#vardefine:effect present|true}}
}}|Decrease omnidirectional movement by {{#expr:-{{{add_sp_h|0}}}}}x{{#expr:-{{{add_sp_v|0}}}}}}}}}}}-->{{#vardefine:effect present|true}}
}}<!--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}}})}}}}}}
}}{{#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}}
}}{{#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}}
trusted
5,920

edits

Navigation menu