4- Finished! you can additionally Keybind the buttons or use the mouse.
Additionally :
--------------------------------------------------------
you can have auto totem setting macro like hunter's auto tracking macro:
a- Download SuperDuperMacro addon
b- type /macro, then click on super Duper Macro Button
c- Create a script and name it AutoTotemsSetScript
d- Copy and Paste the following:
-----This table holds totem ids of Fire,Earth,Water and Air totems in that order
----- Add your desired class name and totem ids and thats all u hv to do!
unit_table={
["Priest"]={58656,8143,8170,8177},
["Mage"]={58745,58582,8170,3738},
["Warlock"]={58656,8143,8170,3738},
["Druid"]={58656,58753,5394,58749}
}
if (UnitIsPlayer("target")) then
className= UnitClassBase("target")
if (unit_table[className]) then
SetMultiCastSpell(133,unit_table[className][1])
SetMultiCastSpell(134,unit_table[className][2])
SetMultiCastSpell(135,unit_table[className][3])
SetMultiCastSpell(136,unit_table[className][4])
end
end
e- Create a new regular macro, name it AutoTotemsSetMacro
Copy and paste the following for macro text:
/sdm run AutoTotemsSetScript
/cast Call of the Elements
IMPORTANT NOTE: Totem ids in the script are just examples, you dont wanna put Frost Resist Totem vs a druid!
Note: if you cannot understand this or need a more detailed guide, pls post here i will write a new detailed guide with pictures, if someone needs it.
cheers