Difference between revisions of "Template:Skill targets"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) (Shortened some target names since we can already expect to see ranges after some of them) |
||
Line 2: | Line 2: | ||
-->{{#vardefine:self target|self}}{{#vardefine:enemy target|<!--the {{#var:hit form|hit}} unit-->it}}{{#vardefine:target definition|{{#var:self target}}}}{{#arraydefine:target1|{{#switch:{{{self|}}} | -->{{#vardefine:self target|self}}{{#vardefine:enemy target|<!--the {{#var:hit form|hit}} unit-->it}}{{#vardefine:target definition|{{#var:self target}}}}{{#arraydefine:target1|{{#switch:{{{self|}}} | ||
| 1 = self | | 1 = self | ||
}}}}{{#arraydefine: | }}}}{{#arraydefine:target2|{{#switch:{{{team|}}} {{{enemy|}}} | ||
| 1 = the {{#var:hit form|hit}} unit | | 0 0 = | ||
| 1 0 | 2 0 = allies | |||
| | | 1 1 = the {{#var:hit form|hit}} unit and <abbr title="The following range only applies to this group of transients">allies</abbr> | ||
| | | 1 2 = <abbr title="The following range only applies to this group of transients">allies and enemies</abbr> | ||
| 0 1 = enemies | |||
| 0 2 = the {{#var:hit form|hit}} unit{{#vardefine:target definition|{{#var:enemy target}}}} | |||
}}}}{{#arrayunion:targets|target1 | | 0 4 = <abbr title="The following range only applies to this group of transients">enemies near the {{#var:hit form|hit}} unit,</abbr>{{#vardefine:target definition|{{#var:enemy target}}}} | ||
| 0 5 = <abbr title="The following range only applies to this group of transients">the {{#var:hit form|hit}} unit and enemies</abbr>{{#vardefine:target definition|{{#var:enemy target}}}} | |||
| #default = units | |||
}}}}{{#arrayunion:targets|target1|target2}}{{#arrayprint:targets}}</includeonly></onlyinclude> | |||
<noinclude> | <noinclude> | ||
<pre>{{Skill targets|self=1|team=0|enemy=0}}</pre> | <pre>{{Skill targets|self=1|team=0|enemy=0}}</pre> |
Revision as of 10:17, 11 August 2020
{{Skill targets|self=1|team=0|enemy=0}}
self
{{Skill targets|self=1|team=1|enemy=0}}
self, allies
{{Skill targets|self=1|team=1|enemy=1}}
self, the hit unit and allies
{{Skill targets|self=1|team=1|enemy=2}}
self, allies and enemies
{{Skill targets|self=1|team=0|enemy=4}}
self, enemies near the hit unit,
{{Skill targets|self=1|team=0|enemy=5}}
self, the hit unit and enemies
{{Skill targets|self=0|team=1|enemy=0}}
allies
{{Skill targets|self=0|team=0|enemy=0}}