1 Global Totem macro, 3 char's
With the new limits on macros, I am trying to max my slots. I want to make one macro to target and shoot or attack totems.
This is what I have been working on. I am really new to this. Any help is greatly appreciated. Even ideas about another direction welcome.
/target Earthbind Totem
/target Searing Totem
/target Magma Totem
/target Mana Spring Totem
/target Grounding Totem
/target Healing Stream Totem
/script if ( HasPetUI() ) then PetAttack(); else
/cast Shoot or
/script AttackTarget();
/script TargetLastEnemy();
I am using Supermacro. I also have the hunter functionos and discord functions. Perhaps these would help?
I was also looking at the UnitClass("unit") where unit could be hunter, warrior or priest. Where a warrior csbn "attack" else hunter csbn" Auto Shot" else preist csbn"Shoot". I am just not sure how to write it up.
Thanks in advance!
|