Difference between revisions of "Template:Skill targets"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
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|self}}{{#vardefine:enemy target|<!--the {{#var:hit form|hit}} unit--> | -->{{#vardefine:self target|self}}{{#vardefine:enemy target|<!--the {{#var:hit form|hit}} unit-->them}}{{#vardefine:target definition|{{#var:self target}}}}{{#vardefineecho:targets|{{#switch:{{{self|0}}} {{{team|0}}} {{{enemy|}}} | ||
| 0 0 0 = | |||
| 1 0 0 = self | |||
| 0 0 = | | 0 1 0 | 0 2 0 = allies | ||
| 1 0 | 2 0 = allies | | 1 1 0 | 1 2 0 = self and allies | ||
| 1 1 = | | 0 1 1 = {{#var:hit form|hit}} units and {{Tooltip|allies|The following range only applies to this group of transients}} | ||
| 1 | | 1 1 1 = self, {{#var:hit form|hit}} units and {{Tooltip|allies|The following range only applies to this group of transients}} | ||
| 0 1 = | | 0 1 2 = allies and enemies | ||
| 0 2 = enemies | | 1 1 2 = self, allies and enemies | ||
| 0 4 = enemies near | | 0 0 1 = {{#var:hit form|hit}} units | ||
| 0 | | 1 0 1 = self and {{#var:hit form|hit}} units | ||
| # | | 0 0 2 = enemies<!--near self--> | ||
}}}}{{# | | 1 0 2 = self and enemies | ||
| 0 0 4 = enemies near {{#var:hit form|hit}} units,{{#vardefine:target definition|{{#var:enemy target}}}} | |||
| 1 0 4 = self and enemies near {{#var:hit form|hit}} units,{{#vardefine:target definition|{{#var:enemy target}}}} | |||
| 0 0 5 = {{#var:hit form|hit}} units and enemies{{#vardefine:target definition|{{#var:enemy target}}}} | |||
| 1 0 5 = self, {{#var:hit form|hit}} units and enemies{{#vardefine:target definition|{{#var:enemy target}}}} | |||
| #default = ??? | |||
}}}}{{#ifeq:{{#var:targets}}|self|{{#vardefine:disable ranges|true}}}}</includeonly></onlyinclude> | |||
<noinclude> | <noinclude> | ||
<pre>{{Skill targets|self=1|team=0|enemy=0}}</pre> | <pre>{{Skill targets|self=1|team=0|enemy=0}}</pre> |
Latest revision as of 06:48, 12 September 2020
{{Skill targets|self=1|team=0|enemy=0}}
self
{{Skill targets|self=1|team=1|enemy=0}}
self and allies
{{Skill targets|self=1|team=1|enemy=1}}
self, hit units and alliesThe following range only applies to this group of transients
{{Skill targets|self=1|team=1|enemy=2}}
self, allies and enemies
{{Skill targets|self=1|team=0|enemy=4}}
self and enemies near hit units,
{{Skill targets|self=1|team=0|enemy=5}}
self, hit units and enemies
{{Skill targets|self=0|team=1|enemy=0}}
allies
{{Skill targets|self=0|team=0|enemy=0}}