[General] Only allow spell to target Undead units?

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,337
There is an Undead classification (it's how they classify Creep as Undead, e.g. Wraiths / Revenants, which can be Death Coiled for health, not sure about Death Pact though).

But if the field isn't listed in "atar" (the possible targets for the spell), you can simply use a non-important field.

A user mentioned that "Ancient" would be a good classification (assuming you aren't using it for anything else). Just give all Undead units "Ancient" as a unit classification, and then make your autocast only target "Ancient" units.

I believe Holy Light/Death Coil's effect itself is hardcoded (in terms of healing/damagin living/undead).
 
Level 12
Joined
May 20, 2009
Messages
822
It is not listed in the Targets field. (It really should be, I mean seriously Double-U Tee Eff Blizz?)

If I remember correctly, ancient is actually a very important classification. It stops spells from being used on the uprooted forms of the Ancients that would otherwise be pretty silly to use against them/would cause horribly broken synergy. Such as Holy Light healing Ancients...Death Coil damaging them...'Cause when they uproot, they're technically units and no longer structures, so then those abilities would be useable on them if it weren't for the Ancients tag (Which the uprooted form inherits from the rooted form)

I decided on using Suicidal since it was only on one unit. I know there's a spell or two that has target filters for "Non-Suicidal" but I'll cross that bridge when I come to it.

Suicidal is the only "Free" classification that Target Filters on spells can be applied to...Suicidal has one unit for it, it does nothing for that unit except stopping 1 or 2 spells (Can't remember which) from being used on it. So it's the one I'll stick with.
 
Status
Not open for further replies.
Top