User:Solari: Difference between revisions
Created page with "<noinclude> just testing stuff! currently editing move info box. {{-}}{{-}} current changes: {{-}}{{-}} - moved num hits to directly below power, and only lists it if it can h..." |
No edit summary |
||
| Line 2: | Line 2: | ||
just testing stuff! currently editing move info box. {{-}}{{-}} | just testing stuff! currently editing move info box. {{-}}{{-}} | ||
current changes: {{-}}{{-}} | current changes: {{-}}{{-}} | ||
- moved use cost to directly below type, and made it use the new AP template {{-}}{{-}} | |||
- moved num hits to directly below power, and only lists it if it can hit more than once. {{-}}{{-}} | - moved num hits to directly below power, and only lists it if it can hit more than once. {{-}}{{-}} | ||
- added autotarget. doesn't list for moves where target_type = none, all, one_ally_not_self, one_enemy, all_not_self, since those have no other option for what to autotarget. {{-}}{{-}} | - added autotarget. doesn't list for moves where target_type = none, all, one_ally_not_self, one_enemy, all_not_self, since those have no other option for what to autotarget. {{-}}{{-}} | ||
- added physicality. physicality is only listed if the move is not a melee attack or ranged attack, or if the target type is not none, one_ally, one_ally_not_self, since physicality for those doesn't matter (iirc). | - added physicality. physicality is only listed if the move is not a melee attack or ranged attack, or if the target type is not none, one_ally, one_ally_not_self, since physicality for those doesn't matter (iirc). {{-}}{{-}} | ||
- priority is no longer listed if it is not raised or lowered | |||
{{-}} | {{-}} | ||
== move info box == | == move info box == | ||
| Line 15: | Line 17: | ||
<div class="infobox-body"> | <div class="infobox-body"> | ||
<div class="infobox-data"><table> | <div class="infobox-data"><table> | ||
{{#ifeq: {{{exclude_type|}}}|True||<tr><th>Type</th><td>{{TypeButton|{{#invoke:Database|get_move|{{{id}}}|elemental_type}}}}</td></tr>}}{{#ifeq: {{{exclude_power|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|power|if_0=}} | | {{#ifeq: {{{exclude_type|}}}|True||<tr><th>Type</th><td>{{TypeButton|{{#invoke:Database|get_move|{{{id}}}|elemental_type}}}}</td></tr>}}<tr><th>Use Cost</th><td>{{#if: {{#invoke:Database|get_move|{{{id}}}|is_passive_only}} | Passive | {{AP|length=10|cost={{#invoke:Database|get_move|{{{id}}}|ap_cost}}}}}}</td></tr> | ||
{{#ifeq: {{{exclude_power|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|power|if_0=}} | | |||
<tr><th>Power</th><td>{{#invoke:Database|get_move|{{{id}}}|power|if_0=—}}</td></tr> |}}}}{{#if: {{#invoke:Database|get_move|{{{id}}}|max_hits|if_1=}} | | <tr><th>Power</th><td>{{#invoke:Database|get_move|{{{id}}}|power|if_0=—}}</td></tr> |}}}}{{#if: {{#invoke:Database|get_move|{{{id}}}|max_hits|if_1=}} | | ||
<tr><th> | <tr><th>Hits</th><td>{{#ifeq: {{#invoke:Database|get_move|{{{id}}}|min_hits}}|{{#invoke:Database|get_move|{{{id}}}|max_hits}}|{{#invoke:Database|get_move|{{{id}}}|max_hits}}|{{#invoke:Database|get_move|{{{id}}}|min_hits}} - {{#invoke:Database|get_move|{{{id}}}|max_hits}}}}</td></tr> |}} | ||
<tr><th>Accuracy</th><td>{{#invoke:Database|get_move|{{{id}}}|accuracy|if_number=%d%%}}</td></tr> | <tr><th>Accuracy</th><td>{{#invoke:Database|get_move|{{{id}}}|accuracy|if_number=%d%%}}</td></tr>{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=}} | | ||
{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=}} | | {{#ifeq: {{{exclude_targets|}}}|True||<tr><th>Targets</th><td>{{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=None|if_TARGET_ONE=Single|if_TARGET_TEAM=Team|if_TARGET_ALL=All|if_TARGET_ONE_ALLY=Single Ally|if_TARGET_ONE_ALLY_NOT_SELF=Single Other Ally|if_TARGET_ONE_ENEMY=Single Enemy|if_TARGET_ALL_NOT_SELF=All Other Fighters}}</td></tr> {{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ALL=|if_TARGET_ONE_ALLY_NOT_SELF=|if_TARGET_ONE_ENEMY=|if_TARGET_ALL_NOT_SELF=}}|<tr><th>Autotarget</th><td>{{#invoke:Database|get_move|{{{id}}}|default_target|if_DEFAULT_TARGET_NONE=None|if_DEFAULT_TARGET_SELF=Self|if_DEFAULT_TARGET_ALLY=Ally|if_DEFAULT_TARGET_ENEMY=Enemy}}</td></tr> |}} |}}}} | ||
{{#ifeq: {{{exclude_targets|}}}|True||<tr><th>Targets</th><td>{{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=None|if_TARGET_ONE=Single|if_TARGET_TEAM=Team|if_TARGET_ALL=All|if_TARGET_ONE_ALLY=Single Ally|if_TARGET_ONE_ALLY_NOT_SELF=Single Ally | |||
{{#ifeq: {{{exclude_physicality|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ONE_ALLY=|if_TARGET_ONE_ALLY_NOT_SELF=}}|{{#if: {{#invoke:Database|get_move|{{{id}}}|category|if_Melee Attack=|if_Ranged Attack=}} | <tr><th>Physicality</th><td>{{#invoke:Database|get_move|{{{id}}}|physicality|if_MELEE=Melee|if_RANGED=Ranged}}</td></tr> |}}}}}} | {{#ifeq: {{{exclude_physicality|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ONE_ALLY=|if_TARGET_ONE_ALLY_NOT_SELF=}}|{{#if: {{#invoke:Database|get_move|{{{id}}}|category|if_Melee Attack=|if_Ranged Attack=}} | <tr><th>Physicality</th><td>{{#invoke:Database|get_move|{{{id}}}|physicality|if_MELEE=Melee|if_RANGED=Ranged}}</td></tr> |}}}}}} | ||
<tr><th>Copyable</th><td>{{#invoke:Database|get_move|{{{id}}}|can_be_copied|if_true=Yes|if_false=No}}</td></tr> | <tr><th>Copyable</th><td>{{#invoke:Database|get_move|{{{id}}}|can_be_copied|if_true=Yes|if_false=No}}</td></tr> | ||
<tr><th>Priority</th><td>{{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} > 0 | Raised | {{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} < 0 | Lowered | Normal }} }} ({{#invoke:Database|get_move|{{{id}}}|priority}})</td></tr> | {{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} = 0||<tr><th>Priority</th><td>{{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} > 0 | Raised | {{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} < 0 | Lowered | Normal }} }} ({{#invoke:Database|get_move|{{{id}}}|priority}})</td></tr>}} | ||
</table></div></div></div> | </table></div></div></div> | ||
<noinclude> | <noinclude> | ||
Revision as of 01:34, 19 November 2026
just testing stuff! currently editing move info box.
current changes:
- moved use cost to directly below type, and made it use the new AP template
- moved num hits to directly below power, and only lists it if it can hit more than once.
- added autotarget. doesn't list for moves where target_type = none, all, one_ally_not_self, one_enemy, all_not_self, since those have no other option for what to autotarget.
- added physicality. physicality is only listed if the move is not a melee attack or ranged attack, or if the target type is not none, one_ally, one_ally_not_self, since physicality for those doesn't matter (iirc).
- priority is no longer listed if it is not raised or lowered
move info box
test cases
| Type | |
|---|---|
| Use Cost | Passive |
| Accuracy | 100% |
| Copyable | Yes |
