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