I am posting an exploit reported on a player discord.
/run if not UnitAffectingCombat("player") then dt1 = dt1 or CreateFrame("Button", "dt1", UIParent, "SecureUnitButtonTemplate")dt1:SetAttribute("type2", "destroytotem")dt1:SetAttribute("*totem-slot*",1)end
/click dt1 RightButton
Please fix this. It’s not vanilla like and it has implications in raids, like in the suppresion rooms in BWL, AQ40 Gauntlet, and im sure there are more places that dont come to my mind right now.
I can confirm via GM that it is perfectly okay to use this macro as of 12/4/2019. I hadn’t made a shaman alt until now so I decided to get this conundrum put to rest myself.
Unfortunately I can’t post links so here’s the ticket’s text:
Me: "Hi - I stumbled upon a macro/script that allows totems to be recalled in Classic WoW. I am wondering if the use of this script is bannable or not since that is not something we could do in Vanilla. The macro/script is as follows:
/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"
GM:
" Hey Nicholas, Game Master Ixzal here and you should be able to use that macro. If the Dev team did not want a macro to be used, then they would break the functionality. If you have any other questions about macros though, I’d suggest checking out the WoW forums: [LINK]
/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