Hey yall!
So here's the deal, I'm trying to construct a skill called "Astral Assault." How it works is the hero teleports forward and does 300/450/600 dmg (dependent on level). I got that part to work, however I came accross an issue. The hero (and any allied units) also take damage from the trigger saying that he does that damage in an AOE. To solve this, I made the hero invulnerable during the damage and instantaneously vulnerable again so that no one would even be able to see the armor switch. That triggered a new problem: Now the cooldown doesn't get triggered on the spell, so he can just keep casting... ALSO the damage still gets dealt to any nearby allied units.
So now, what I need help with is a way to get the units of the controlling player and all his allies not to take damage from his aoe. Also, this map is similar to Rabbits versus Sheep, so the heroes of each team don't actually fight each other, they just compete for creep kills, so I might need a way for the other heroes from the opposing team not to take damage (to avoid people exploiting the skill to damage through the wall baracade).
Thanks in advance!
Mike
So here's the deal, I'm trying to construct a skill called "Astral Assault." How it works is the hero teleports forward and does 300/450/600 dmg (dependent on level). I got that part to work, however I came accross an issue. The hero (and any allied units) also take damage from the trigger saying that he does that damage in an AOE. To solve this, I made the hero invulnerable during the damage and instantaneously vulnerable again so that no one would even be able to see the armor switch. That triggered a new problem: Now the cooldown doesn't get triggered on the spell, so he can just keep casting... ALSO the damage still gets dealt to any nearby allied units.
So now, what I need help with is a way to get the units of the controlling player and all his allies not to take damage from his aoe. Also, this map is similar to Rabbits versus Sheep, so the heroes of each team don't actually fight each other, they just compete for creep kills, so I might need a way for the other heroes from the opposing team not to take damage (to avoid people exploiting the skill to damage through the wall baracade).
Thanks in advance!
Mike