Combine Hand of Freedom & Cleanse in a macro
Hey guys,
since I am not experienced with the World of Warcraft API I am asking for your help.
Today I've tried to combine 'Hand of Freedom' & 'Cleanse' into one macro to simplify gameplay. What I expect from the macro is to detect movement impairing effects and debuffs on my character to let it automatically use the necessary ability to get rid of these. That means if a rogue stuns me I'd like the macro to activate 'Hand of Freedom' as 'Cleanse' will not work. The other way round if a druid casts 'Entangling Roots' on me I'd like the macro to activate 'Cleanse' as 'Hand of Freedom' is not necessary for removing this spell.
Thanks in advance :)