I have these locust spirit units that have phoenix fire for their attack. They are not controlled by the player who gets them directly, but they are instead controlled via some spells and abilities (just tells them where to go, really).
Anyway, the issue I am having is that the AI sometimes sees these units as "targets". It is mainly a problem for the Spawn Tentacle spell, which has proven itself very useful when trying to get AI to aim their spells at enemies. The problem is that the AI will cast Spawn Tentacle based abilities at these locust spirits which cannot even be harmed by anything.
It's a waste of their mana / spell and even causes deadlock in the AI sometimes where they run up, cast a spell, try to return to their spawn point, and by the time they get back to the locust units again, their spell is ready.
I have some work arounds, but I'm wondering if there is some way I can make the AI not treat these units as something they can hit with Spawn Tentacle. Maybe switching the locust unit "targeted as" field will work.
Anyway, the issue I am having is that the AI sometimes sees these units as "targets". It is mainly a problem for the Spawn Tentacle spell, which has proven itself very useful when trying to get AI to aim their spells at enemies. The problem is that the AI will cast Spawn Tentacle based abilities at these locust spirits which cannot even be harmed by anything.
It's a waste of their mana / spell and even causes deadlock in the AI sometimes where they run up, cast a spell, try to return to their spawn point, and by the time they get back to the locust units again, their spell is ready.
I have some work arounds, but I'm wondering if there is some way I can make the AI not treat these units as something they can hit with Spawn Tentacle. Maybe switching the locust unit "targeted as" field will work.