I'm running into some very strange behavior with a new ability I am testing!
The ability is based on Cloud, so it is a channeled spell, but instead of prevented ranged attacks in the target area it instead prevents spellcasting (by friend or foe). And it lasts up to 8 seconds.
So far so good, that's all working as intended.
But I noticed strange behavior if the caster targets his own area!
First of all, the spell ends immediately.
But the bigger problem is that the caster (and ONLY the caster) gets hit with the debuff PERMANENTLY and can never again cast any spells. The debuff can't even be removed with dispels!
I tried the obvious solution of changing the Targets Allowed to "Air, Enemy, Friend, Ground, Neutral, NOT SELF, organic", but even with Not Self added to the list the same thing happened for some reason.
The ability is based on Cloud, so it is a channeled spell, but instead of prevented ranged attacks in the target area it instead prevents spellcasting (by friend or foe). And it lasts up to 8 seconds.
So far so good, that's all working as intended.
But I noticed strange behavior if the caster targets his own area!
First of all, the spell ends immediately.
But the bigger problem is that the caster (and ONLY the caster) gets hit with the debuff PERMANENTLY and can never again cast any spells. The debuff can't even be removed with dispels!
I tried the obvious solution of changing the Targets Allowed to "Air, Enemy, Friend, Ground, Neutral, NOT SELF, organic", but even with Not Self added to the list the same thing happened for some reason.