As far as I know, you cannot use conditions like buffs/mana/hp etc to effect the cast of a spell, yet you can do the opposite: cast something by pressing a button, and have an addon check said conditions. I recommend trying AfterCast or one of the RP helper-kind addons.
|