Difference between revisions of "Template:Skill bundle"

no edit summary
Line 22: Line 22:
| @@@@
| @@@@
| <!--range grouping-->{{#ifeq:{{{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_my_team@@@@|0}}}/{{{target_enemy@@@@|0}}}|{{#var:effect memory cell|}}
| <!--range grouping-->{{#ifeq:{{{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_my_team@@@@|0}}}/{{{target_enemy@@@@|0}}}|{{#var:effect memory cell|}}
| {{#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}}} {{{distance_h@@@@|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_my_team@@@@|0}}}/{{{target_enemy@@@@|0}}}}}{{#ifeq:{{#var:effect memory cell}}|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_my_team@@@@|0}}}/{{{target_enemy@@@@|0}}}}}{{#ifeq:{{#var:effect memory cell}}|0/0/0/0/0/0/0/0/0/0|{{#vardefine:effect memory cell|}}{{#arraydefine:stack range id|}}|{{#vardefine:stack range|{{{distance@@@@|0}}} {{{distance_h@@@@|0}}} {{{range_h@@@@|0}}} {{{range_v@@@@|0}}} {{{range_d@@@@|0}}} {{{is_square@@@@|0}}};}}{{#arraydefine:stack range id|@@@@}}}}
}}<!--
}}<!--
defining targets again because skill range combo template uses them too early {clown emoji)
defining targets again because skill range combo template uses them too early {clown emoji)
Line 82: Line 82:
{{#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: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}} > 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:
{{#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}}}|distance_h={{{distance_h@@@@|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