trusted
5,929
edits
SurtrFan8511 (talk | contribs) (hmm) |
SurtrFan8511 (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><!--Arguments: |self=[id]|team=[id]|enemy=[id] | <includeonly><onlyinclude><!--Arguments: |self=[id]|team=[id]|enemy=[id] | ||
-->{{#vardefine:self target| | -->{{#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:target3|{{#switch:{{{enemy|}}} | }}}}{{#arraydefine:target3|{{#switch:{{{enemy|}}} | ||
Line 8: | Line 8: | ||
| 5 = <abbr title="The following range only applies to this group of transients">the {{#var:hit form|hit}} unit and enemies near them</abbr>{{#vardefine:target definition|{{#var:enemy target}}}} | | 5 = <abbr title="The following range only applies to this group of transients">the {{#var:hit form|hit}} unit and enemies near them</abbr>{{#vardefine:target definition|{{#var:enemy target}}}} | ||
}}}}<!--switched the 2 up to prioritize target definition overriding-->{{#arraydefine:target2|{{#switch:{{{team|}}} | }}}}<!--switched the 2 up to prioritize target definition overriding-->{{#arraydefine:target2|{{#switch:{{{team|}}} | ||
| 1 | 2 = <abbr title="The following range only applies to this group of transients">allies | | 1 | 2 = <abbr title="The following range only applies to this group of transients">nearby allies</abbr>{{#vardefine:target definition|{{#var:self target}}}} | ||
}}}}{{#arrayunion:targets|target1|target3|target2}}{{#arrayprint:targets}}</includeonly></onlyinclude> | }}}}{{#arrayunion:targets|target1|target3|target2}}{{#arrayprint:targets}}</includeonly></onlyinclude> | ||
<noinclude> | <noinclude> |