Difference between revisions of "Template:Skill targets"
Jump to navigation
Jump to search
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> |
Revision as of 07:34, 11 August 2020
{{Skill targets|self=1|team=0|enemy=0}}
self
{{Skill targets|self=1|team=1|enemy=0}}
self, allies near self
{{Skill targets|self=1|team=1|enemy=1}}
self, allies near self, the hit unit
{{Skill targets|self=1|team=1|enemy=2}}
self, allies near self, enemies near self
{{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 near them
{{Skill targets|self=0|team=1|enemy=0}}
allies near self
{{Skill targets|self=0|team=0|enemy=0}}