Difference between revisions of "Template:Skill targets"

Jump to navigation Jump to search
no edit summary
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:target2|{{#switch:{{{team|}}}
| 1 | 2 = allies near 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>
trusted
5,929

edits

Navigation menu