FeatureRequest: Add button and/or keybind to remove all totems
kcomelli opened this issue ยท 1 comments
Could be done with the following macro (needs to run the first time out-of-combat in order to create the button frames)
/run if not UnitAffectingCombat("player")then for i=1,4 do n="t"..i CreateFrame("Button",n,UIParent,"SecureUnitButtonTemplate")_G[n]:SetAttribute("type", "destroytotem")_G[n]:SetAttribute("totem-slot",i)end end
/click t1
/click t2
/click t3
/click t4
So maybe you could add this easily to your addon and allow all shamans to remove all totems with a single click!