trusted
5,929
edits
SurtrFan8511 (talk | contribs) |
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:target | -->{{#vardefine:self target|the caster}}{{#vardefine:enemy target|the {{#var:hit form|hit}} unit}}{{#vardefine:target definition|{{#var:self target}}}}{{#arraydefine:target1|{{#switch:{{{self|}}} | ||
| 1 = self | | 1 = self | ||
}}}}{{#arraydefine:target3|{{#switch:{{{enemy|}}} | }}}}{{#arraydefine:target3|{{#switch:{{{enemy|}}} | ||
| 1 = the {{#var:hit form|hit}} unit{{#vardefine:target definition| | | 1 = the {{#var:hit form|hit}} unit{{#vardefine:target definition|{{#var:enemy target}}}} | ||
| 2 = <abbr title="The following range only applies to this group of transients">enemies near self</abbr> | | 2 = <abbr title="The following range only applies to this group of transients">enemies near self</abbr> | ||
| 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| | | 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}}}} | ||
| 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| | | 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 near self</abbr>{{#vardefine:target definition| | | 1 | 2 = <abbr title="The following range only applies to this group of transients">allies near self</abbr>{{#vardefine:target definition|{{#var:self target}}}} | ||
}}}}{{#arrayunion:targets|target1|target2|target3}}{{#arrayprint:targets}}</includeonly></onlyinclude> | }}}}{{#arrayunion:targets|target1|target2|target3}}{{#arrayprint:targets}}</includeonly></onlyinclude> | ||
<noinclude> | <noinclude> |