Example:
You precast tricks on fellow rogue before fight to save GCD~
Tricks Procs on first attack to start the 15% damage buff on other rogue and start threat transfer from you to that rogue.
The other rogue does the same to give you the buff.
/cancelaura Tricks of the Trade cancels both your threat AND the 15% damage buff.
would be great if we could use /cancelaura “SpellID” to cancel the specific threat buff.
Kind of tired of not being able to tricks my fellow rogue in dungeons/raids because spellID is a protected function.
#showtooltip
/cast Tricks of the Trade
/run local i, id = 1, 0; while (id) do id = select(11, UnitBuff(“player”, i)); if id == yourspellid then CancelPlayerBuff(i) end; i = i + 1; end;
Might need to be select(12 or select(10, the functions aren’t usually the same between classic and retail because of spell ranks still being a thing in classic.
iirc spell id’s are protected because they never figured out how to prevent people from exploiting spell id’s in macros to do things they weren’t supposed to do