Difference between revisions of "Template:Skill bundle"

1,062 bytes added ,  14:29, 21 September 2020
Removed "no effect" texts
(Removed "no effect" texts)
Line 25: Line 25:
| {{#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}}}}}{{#ifeq:{{#var:effect memory cell}}|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}}}}}{{#ifeq:{{#var:effect memory cell}}|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}}
}}{{#if:{{#vardefineecho:override range@@@@|{{Skill range combo|{{#var:stack range}}}}}}|{{#arrayprint:stack range id||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect@@@@|true}}
}}<!--resist status grouping-->{{#ifeq:{{{remove_status_id@@@@|0}}}|0|
}}<!--no effect check-->{{#ifexpr:
{{{add_status_id@@@@|0}}} = 0 and
{{{remove_status_id@@@@|0}}} = 0 and
{{{anti_skill_id@@@@|0}}} = 0 and
{{{anti_status_id@@@@|0}}} = 0 and
{{{reduce_weapon_id@@@@|0}}} = 0 and
{{{reduce_status_id@@@@|0}}} = 0 and
{{{add_hp@@@@|0}}} = 0 and
{{{max_add_hp@@@@|0}}} = 0 and
{{{add_cp@@@@|0}}} = 0 and
{{{max_add_cp@@@@|0}}} = 0 and
{{{add_sp_v@@@@|0}}} = 0 and
{{{add_sp_h@@@@|0}}} = 0 and
{{{add_sp_d@@@@|0}}} = 0 and
{{{add_hate@@@@|0}}} = 0 and
{{{knockback@@@@|0}}} = 0 and
{{{knockback_horizontal@@@@|0}}} = 0 and
{{{knockback_random@@@@|0}}} = 0 and
{{{regist_move_horizontal@@@@|0}}} = 0 and
{{{regist_knockback@@@@|0}}} = 0 and
{{{regist_forcepull@@@@|0}}} = 0 and
{{{collect_exp@@@@|0}}} = 0 and
{{{add_exp@@@@|0}}} = 0 and
{{{max_add_exp@@@@|0}}} = 0 and
{{{add_money@@@@|0}}} = 0 and
{{{max_add_money@@@@|0}}} = 0 and
{{{add_rank_exp@@@@|0}}} = 0 and
{{{max_add_rank_exp@@@@|0}}} = 0 and
{{{add_support_point@@@@|0}}} = 0 and
{{{max_add_support_point@@@@|0}}} = 0 and
{{{add_item_id@@@@|0}}} = 0 and
{{{add_item@@@@|0}}} = 0
<!--add new entries here-->
|{{#vardefine:show effect@@@@|false}}}}<!--resist status grouping-->{{#ifeq:{{{remove_status_id@@@@|0}}}|0|
| {{#ifeq:{{#arraysize:rst list}}|0
| {{#ifeq:{{#arraysize:rst list}}|0
| {{#arraydefine:rst list|@@@@}}{{#vardefine:show effect@@@@|true}}
| {{#arraydefine:rst list|@@@@}}{{#vardefine:show effect@@@@|true}}
Line 32: Line 65:
| {{#ifeq:{{#arraysize:ska list}}|0
| {{#ifeq:{{#arraysize:ska list}}|0
| {{#arraydefine:ska list|@@@@}}{{#vardefine:show effect@@@@|true}}
| {{#arraydefine:ska list|@@@@}}{{#vardefine:show effect@@@@|true}}
| {{#arraydefine:ska list|{{#arrayprint:ska list}}, @@@@}}{{#vardefine:show effect@@@@|false}}}}
| {{#arraydefine:ska list|{{#arrayprint:ska list}}, @@@@}}}}
}}<!--status advantage grouping-->{{#ifeq:{{{anti_status_id@@@@|0}}}|0|
}}<!--status advantage grouping-->{{#ifeq:{{{anti_status_id@@@@|0}}}|0|
| {{#ifeq:{{#arraysize:sta list}}|0
| {{#ifeq:{{#arraysize:sta list}}|0
| {{#arraydefine:sta list|@@@@}}{{#vardefine:show effect@@@@|true}}
| {{#arraydefine:sta list|@@@@}}{{#vardefine:show effect@@@@|true}}
| {{#arraydefine:sta list|{{#arrayprint:sta list}}, @@@@}}{{#vardefine:show effect@@@@|false}}}}
| {{#arraydefine:sta list|{{#arrayprint:sta list}}, @@@@}}}}
}}
}}
}}{{#ifexpr:{{#arraysize:rst list}} > 5|{{#arrayprint:rst list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:rst list|0}}|true}}}}{{#ifexpr:{{#arraysize:ska list}} > 5|{{#arrayprint:ska list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:ska list|0}}|true}}}}{{#ifexpr:{{#arraysize:sta list}} > 5|{{#arrayprint:sta list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:sta list|0}}|true}}}}<!--group print start-->{{#vardefine:timing flag|true}}{{#arrayprint:effect id array|
}}{{#ifexpr:{{#arraysize:rst list}} > 5|{{#arrayprint:rst list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:rst list|0}}|true}}}}{{#ifexpr:{{#arraysize:ska list}} > 5|{{#arrayprint:ska list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:ska list|0}}|true}}}}{{#ifexpr:{{#arraysize:sta list}} > 5|{{#arrayprint:sta list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:sta list|0}}|true}}}}<!--group print start-->{{#vardefine:timing flag|true}}{{#arrayprint:effect id array|
trusted
5,920

edits