Originally Posted by Sarenity
Ahhh =( Is there a way to make an addon that when you click on the addon's button it will check if you have 2 spells and cast them on you if you don't? So it's not "automatic", you'll actually have to use the addon key or whatever, but it's a "meet in the middle".
|
Yes. You could use IsBuffActive (which is a seperate addon) to check if you have a buff or not and cast a spell. For example...
/script if (IsBuffActive("Mage Armor","player")) then CastSpellByName("Mage Armor") elseif (IsBuffActive("Another Mage Spell","player")) then CastSpellByName("Other Mage Spell");end
And press it two times when not fully buffed.