Difference between revisions of "Template:Skill bundle"

No change in size ,  06:09, 17 November 2020
Lowered threshold for grouping by one
(Lowered threshold for grouping by one)
Line 72: Line 72:
| {{#arraydefine:sta list|{{#arrayprint:sta list}}, @@@@}}}}
| {{#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}} > 4|{{#arrayprint:rst list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:rst list|0}}|true}}}}{{#ifexpr:{{#arraysize:ska list}} > 4|{{#arrayprint:ska list||####|{{#vardefine:show effect####|false}}}}{{#vardefine:show effect{{#arrayindex:ska list|0}}|true}}}}{{#ifexpr:{{#arraysize:sta list}} > 4|{{#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|
| @@@@
| @@@@
| {{#ifeq:{{#var:show effect@@@@}}|true|<!--prefix-->{{#if:{{#var:timing flag}}|{{#vardefine:timing flag|}}[{{Skill trigger timing|{{{timing@@@@|0}}}}}]{{spaces|1}}|<br>{{spaces|4}}
| {{#ifeq:{{#var:show effect@@@@}}|true|<!--prefix-->{{#if:{{#var:timing flag}}|{{#vardefine:timing flag|}}[{{Skill trigger timing|{{{timing@@@@|0}}}}}]{{spaces|1}}|<br>{{spaces|4}}
}}<!--effect print-->{{#vardefine:use default desc|true}}{{#if:
}}<!--effect print-->{{#vardefine:use default desc|true}}{{#if:
{{#arraysearch:rst list|@@@@}}|{{#ifexpr:{{#arraysize:rst list}} > 5|Resist {{#arraysize:rst list}} statuses {{Collapsible box|style-box=padding:0px 2px;margin-bottom:-0.45em|{{#arrayprint:rst list|,&#32;|####|{{Status name|id={{{remove_status_id####|0}}}|link=true}}}}}}{{#vardefine:use default desc|false}}}}}}{{#if:
{{#arraysearch:rst list|@@@@}}|{{#ifexpr:{{#arraysize:rst list}} > 4|Resist {{#arraysize:rst list}} statuses {{Collapsible box|style-box=padding:0px 2px;margin-bottom:-0.45em|{{#arrayprint:rst list|,&#32;|####|{{Status name|id={{{remove_status_id####|0}}}|link=true}}}}}}{{#vardefine:use default desc|false}}}}}}{{#if:
{{#arraysearch:ska list|@@@@}}|{{#ifexpr:{{#arraysize:ska list}} > 5|Deal extra damage against {{#arraysize:ska list}} skills {{Collapsible box|style-box=padding:0px 2px;margin-bottom:-0.45em|{{#arrayprint:ska list|,&#32;|####|{{Skill name|id={{{anti_skill_id####|0}}}}} (x{{Skill effect potency|base={{#expr:{{{mult####|0}}} / 100}}|max={{#expr:{{{mult_max####|0}}} / 100}}}})}}}}{{#vardefine:use default desc|false}}}}}}{{#if:
{{#arraysearch:ska list|@@@@}}|{{#ifexpr:{{#arraysize:ska list}} > 4|Deal extra damage against {{#arraysize:ska list}} skills {{Collapsible box|style-box=padding:0px 2px;margin-bottom:-0.45em|{{#arrayprint:ska list|,&#32;|####|{{Skill name|id={{{anti_skill_id####|0}}}}} (x{{Skill effect potency|base={{#expr:{{{mult####|0}}} / 100}}|max={{#expr:{{{mult_max####|0}}} / 100}}}})}}}}{{#vardefine:use default desc|false}}}}}}{{#if:
{{#arraysearch:sta list|@@@@}}|{{#ifexpr:{{#arraysize:sta list}} > 5|Deal extra damage against {{#arraysize:sta list}} statuses {{Collapsible box|style-box=padding:0px 2px;margin-bottom:-0.45em|{{#arrayprint:sta list|,&#32;|####|{{Status name|id={{{anti_status_id####|0}}}|link=true}} (x{{Skill effect potency|base={{#expr:{{{mult####|0}}} / 100}}|max={{#expr:{{{mult_max####|0}}} / 100}}}})}}}}{{#vardefine:use default desc|false}}}}}}{{#ifeq:
{{#arraysearch:sta list|@@@@}}|{{#ifexpr:{{#arraysize:sta list}} > 4|Deal extra damage against {{#arraysize:sta list}} statuses {{Collapsible box|style-box=padding:0px 2px;margin-bottom:-0.45em|{{#arrayprint:sta list|,&#32;|####|{{Status name|id={{{anti_status_id####|0}}}|link=true}} (x{{Skill effect potency|base={{#expr:{{{mult####|0}}} / 100}}|max={{#expr:{{{mult_max####|0}}} / 100}}}})}}}}{{#vardefine:use default desc|false}}}}}}{{#ifeq:
{{#var:use default desc}}|true|{{#vardefine:short description|}}{{Skill description|target_self={{{target_self@@@@|0}}}|target_my_team={{{target_my_team@@@@|0}}}|target_enemy={{{target_enemy@@@@|0}}}|distance={{{distance@@@@|0}}}|range_h={{{range_h@@@@|0}}}|range_v={{{range_v@@@@|0}}}|range_d={{{range_d@@@@|0}}}|is_square={{{is_square@@@@|0}}}|rate_2_use={{{rate_2_use@@@@|0}}}|max_rate_2_use={{{max_rate_2_use@@@@|0}}}|mult={{{mult@@@@|0}}}|mult_max={{{mult_max@@@@|0}}}|add_status_id={{{add_status_id@@@@|0}}}|remove_status_id={{{remove_status_id@@@@|0}}}|anti_skill_id={{{anti_skill_id@@@@|0}}}|anti_status_id={{{anti_status_id@@@@|0}}}|reduce_weapon_id={{{reduce_weapon_id@@@@|0}}}|reduce_status_id={{{reduce_status_id@@@@|0}}}|add_hp={{{add_hp@@@@|0}}}|max_add_hp={{{max_add_hp@@@@|0}}}|add_cp={{{add_cp@@@@|0}}}|max_add_cp={{{max_add_cp@@@@|0}}}|add_sp_v={{{add_sp_v@@@@|0}}}|add_sp_h={{{add_sp_h@@@@|0}}}|add_sp_d={{{add_sp_d@@@@|0}}}|add_hate={{{add_hate@@@@|0}}}|knockback={{{knockback@@@@|0}}}|knockback_horizontal={{{knockback_horizontal@@@@|0}}}|knockback_random={{{knockback_random@@@@|0}}}|regist_move_horizontal={{{regist_move_horizontal@@@@|0}}}|regist_knockback={{{regist_knockback@@@@|0}}}|regist_forcepull={{{regist_forcepull@@@@|0}}}|collect_exp={{{collect_exp@@@@|0}}}|add_exp={{{add_exp@@@@|0}}}|max_add_exp={{{max_add_exp@@@@|0}}}|add_money={{{add_money@@@@|0}}}|max_add_money={{{max_add_money@@@@|0}}}|add_rank_exp={{{add_rank_exp@@@@|0}}}|max_add_rank_exp={{{max_add_rank_exp@@@@|0}}}|add_support_point={{{add_support_point@@@@|0}}}|max_add_support_point={{{max_add_support_point@@@@|0}}}|add_item_id={{{add_item|id@@@@|0}}}|add_item={{{add_item@@@@|0}}}|turn_interval={{{turn_interval@@@@|0}}}|turn_interval_surplus={{{turn_interval_surplus@@@@|0}}}|turn_interval_is_total_turn={{{turn_interval_is_total_turn@@@@|0}}}<!--add new parameters here-->
{{#var:use default desc}}|true|{{#vardefine:short description|}}{{Skill description|target_self={{{target_self@@@@|0}}}|target_my_team={{{target_my_team@@@@|0}}}|target_enemy={{{target_enemy@@@@|0}}}|distance={{{distance@@@@|0}}}|range_h={{{range_h@@@@|0}}}|range_v={{{range_v@@@@|0}}}|range_d={{{range_d@@@@|0}}}|is_square={{{is_square@@@@|0}}}|rate_2_use={{{rate_2_use@@@@|0}}}|max_rate_2_use={{{max_rate_2_use@@@@|0}}}|mult={{{mult@@@@|0}}}|mult_max={{{mult_max@@@@|0}}}|add_status_id={{{add_status_id@@@@|0}}}|remove_status_id={{{remove_status_id@@@@|0}}}|anti_skill_id={{{anti_skill_id@@@@|0}}}|anti_status_id={{{anti_status_id@@@@|0}}}|reduce_weapon_id={{{reduce_weapon_id@@@@|0}}}|reduce_status_id={{{reduce_status_id@@@@|0}}}|add_hp={{{add_hp@@@@|0}}}|max_add_hp={{{max_add_hp@@@@|0}}}|add_cp={{{add_cp@@@@|0}}}|max_add_cp={{{max_add_cp@@@@|0}}}|add_sp_v={{{add_sp_v@@@@|0}}}|add_sp_h={{{add_sp_h@@@@|0}}}|add_sp_d={{{add_sp_d@@@@|0}}}|add_hate={{{add_hate@@@@|0}}}|knockback={{{knockback@@@@|0}}}|knockback_horizontal={{{knockback_horizontal@@@@|0}}}|knockback_random={{{knockback_random@@@@|0}}}|regist_move_horizontal={{{regist_move_horizontal@@@@|0}}}|regist_knockback={{{regist_knockback@@@@|0}}}|regist_forcepull={{{regist_forcepull@@@@|0}}}|collect_exp={{{collect_exp@@@@|0}}}|add_exp={{{add_exp@@@@|0}}}|max_add_exp={{{max_add_exp@@@@|0}}}|add_money={{{add_money@@@@|0}}}|max_add_money={{{max_add_money@@@@|0}}}|add_rank_exp={{{add_rank_exp@@@@|0}}}|max_add_rank_exp={{{max_add_rank_exp@@@@|0}}}|add_support_point={{{add_support_point@@@@|0}}}|max_add_support_point={{{max_add_support_point@@@@|0}}}|add_item_id={{{add_item|id@@@@|0}}}|add_item={{{add_item@@@@|0}}}|turn_interval={{{turn_interval@@@@|0}}}|turn_interval_surplus={{{turn_interval_surplus@@@@|0}}}|turn_interval_is_total_turn={{{turn_interval_is_total_turn@@@@|0}}}<!--add new parameters here-->
|override range={{#var:override range@@@@|}}}}}}<!--group print end-->}}}}{{#if:{{#var:timing flag}}||&#32;/ {{Skill rate|base={{{rate_2_use{{#arrayindex:effect id array|0}}|0}}}|max={{{max_rate_2_use{{#arrayindex:effect id array|0}}|0}}}}}<br>{{#vardefine:hit form|hit}}}}
|override range={{#var:override range@@@@|}}}}}}<!--group print end-->}}}}{{#if:{{#var:timing flag}}||&#32;/ {{Skill rate|base={{{rate_2_use{{#arrayindex:effect id array|0}}|0}}}|max={{{max_rate_2_use{{#arrayindex:effect id array|0}}|0}}}}}<br>{{#vardefine:hit form|hit}}}}
}}<!--undefining variables-->{{#vardefine:queue number|}}{{#vardefine:queue counter|0}}{{#arraydefine:stack timing-proc|}}{{#vardefine:stack range|}}{{#vardefine:effect memory cell|}}
}}<!--undefining variables-->{{#vardefine:queue number|}}{{#vardefine:queue counter|0}}{{#arraydefine:stack timing-proc|}}{{#vardefine:stack range|}}{{#vardefine:effect memory cell|}}
|Server error 😔. Try again later.}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
|Server error 😔. Try again later.}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
trusted
5,920

edits