Difference between revisions of "Template:Skill targets"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
Line 2: | Line 2: | ||
-->{{#vardefine:target definition|the caster}}{{#arraydefine:target1|{{#switch:{{{self|}}} | -->{{#vardefine:target definition|the caster}}{{#arraydefine:target1|{{#switch:{{{self|}}} | ||
| 1 = self | | 1 = self | ||
}}}}{{#arraydefine:target3|{{#switch:{{{enemy|}}} | }}}}{{#arraydefine:target3|{{#switch:{{{enemy|}}} | ||
| 1 = hit enemy{{#vardefine:target definition|the hit enemy}} | | 1 = hit enemy{{#vardefine:target definition|the hit enemy}} | ||
Line 9: | Line 7: | ||
| 4 = opponents near the hit enemy{{#vardefine:target definition|the hit enemy}} | | 4 = opponents near the hit enemy{{#vardefine:target definition|the hit enemy}} | ||
| 5 = hit enemy and opponents next to it{{#vardefine:target definition|the hit enemy}} | | 5 = hit enemy and opponents next to it{{#vardefine:target definition|the hit enemy}} | ||
}}}}<!--switched the 2 up to prioritize target definition overriding-->{{#arraydefine:target2|{{#switch:{{{team|}}} | |||
| 1 | 2 = allies near self{{#vardefine:target definition|the caster}} | |||
}}}}{{#arrayunion:targets|target1|target2|target3}}{{#arrayprint:targets}}</includeonly></onlyinclude> | }}}}{{#arrayunion:targets|target1|target2|target3}}{{#arrayprint:targets}}</includeonly></onlyinclude> | ||
<noinclude> | <noinclude> |
Revision as of 05:16, 9 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, hit enemy
{{Skill targets|self=1|team=1|enemy=2}}
self, allies near self, enemies near self
{{Skill targets|self=1|team=0|enemy=4}}
self, opponents near the hit enemy
{{Skill targets|self=1|team=0|enemy=5}}
self, hit enemy and opponents next to it
{{Skill targets|self=0|team=1|enemy=0}}
allies near self
{{Skill targets|self=0|team=0|enemy=0}}