Difference between revisions of "Template:Skill bundle"

Jump to navigation Jump to search
Oh look a code edit that's not just a typo fix
(gay lol)
(Oh look a code edit that's not just a typo fix)
Line 24: Line 24:
| {{#vardefine:stack range|{{#var:stack range}}{{{distance@@@@|0}}} {{{range_h@@@@|0}}} {{{range_v@@@@|0}}} {{{range_d@@@@|0}}} {{{is_square@@@@|0}}};}}{{#arraydefine:stack range id|{{#arrayprint:stack range id}}, @@@@}}
| {{#vardefine:stack range|{{#var:stack range}}{{{distance@@@@|0}}} {{{range_h@@@@|0}}} {{{range_v@@@@|0}}} {{{range_d@@@@|0}}} {{{is_square@@@@|0}}};}}{{#arraydefine:stack range id|{{#arrayprint:stack range id}}, @@@@}}
| {{#vardefine:effect memory cell|{{{add_status_id@@@@|0}}}/{{{add_hp@@@@|0}}}/{{{max_add_hp@@@@|0}}}/{{{add_cp@@@@|0}}}/{{{max_add_cp@@@@|0}}}/{{{knockback@@@@|0}}}/{{{knockback_horizontal@@@@|0}}}/{{{knockback_random@@@@|0}}}/{{{target_self@@@@|0}}}/{{{target_my_team@@@@|0}}}/{{{target_enemy@@@@|0}}}}}{{#ifeq:{{#var:effect memory cell}}|0/0/0/0/0/0/0/0/0/0/0|{{#vardefine:effect memory cell|}}{{#arraydefine:stack range id|}}|{{#vardefine:stack range|{{{distance@@@@|0}}} {{{range_h@@@@|0}}} {{{range_v@@@@|0}}} {{{range_d@@@@|0}}} {{{is_square@@@@|0}}};}}{{#arraydefine:stack range id|@@@@}}}}
| {{#vardefine:effect memory cell|{{{add_status_id@@@@|0}}}/{{{add_hp@@@@|0}}}/{{{max_add_hp@@@@|0}}}/{{{add_cp@@@@|0}}}/{{{max_add_cp@@@@|0}}}/{{{knockback@@@@|0}}}/{{{knockback_horizontal@@@@|0}}}/{{{knockback_random@@@@|0}}}/{{{target_self@@@@|0}}}/{{{target_my_team@@@@|0}}}/{{{target_enemy@@@@|0}}}}}{{#ifeq:{{#var:effect memory cell}}|0/0/0/0/0/0/0/0/0/0/0|{{#vardefine:effect memory cell|}}{{#arraydefine:stack range id|}}|{{#vardefine:stack range|{{{distance@@@@|0}}} {{{range_h@@@@|0}}} {{{range_v@@@@|0}}} {{{range_d@@@@|0}}} {{{is_square@@@@|0}}};}}{{#arraydefine:stack range id|@@@@}}}}
}}{{#if:{{#vardefineecho:override range@@@@|{{Skill range combo|{{#var:stack range}}}}}}|{{#arrayprint:stack range id||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect@@@@|true}}
}}<!--
defining targets again because skill range combo template uses them too early {clown emoji)
-->{{#vardefine:target|{{Skill targets|self={{{target_self@@@@|0}}}|team={{{target_my_team@@@@|0}}}|enemy={{{target_enemy@@@@|0}}}}}}}<!--end target definition
-->{{#if:{{#vardefineecho:override range@@@@|{{Skill range combo|{{#var:stack range}}}}}}|<!--DEBUG--><br>@@@@{{#var:override range@@@@}}<br><!--DEBUG END-->{{#arrayprint:stack range id||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect@@@@|true}}
}}<!--no effect check-->{{#ifexpr:
}}<!--no effect check-->{{#ifexpr:
({{{target_self@@@@|0}}} = 0 and {{{target_my_team@@@@|0}}} = 0 and {{{target_enemy@@@@|0}}} = 0 and {{{add_status_id@@@@|0}}} != 0) or (
({{{target_self@@@@|0}}} = 0 and {{{target_my_team@@@@|0}}} = 0 and {{{target_enemy@@@@|0}}} = 0 and {{{add_status_id@@@@|0}}} != 0) or (
trusted
5,929

edits

Navigation menu