-
Posted by Linoge-Fly on Thu, 25 Mar 2010 12:18:13
Hello dear forum members,
I have one problem which I'm trying to solve and have no results yet. I need to check if spell can be applied to unit or there is already more powerful spell active. I found that there is
SPELL_FAILED_AURA_BOUNCED
constant, but I didn't find out how to use it, it's just a string constant. I need to check this condition with out casting a spell. I want to check if spell with some SpellId can be applied or not and then show/hide my frame.If any one knows how to do this or had this task, please provide me solution or some tips to research.
Tanks, Alexey.
-
Posted by jnwhiteh on Sun, 28 Mar 2010 17:55:18
What you want can't be done. You can't ever conditionally cast a spell based on any 'combat-sensitive' information.