Originally Posted by
Shoeboots
Thanks for this! Would you happen to know of any way to get the Mastery to show up as a buff or debuff? I use TellMeWhen on live to help predict the next ability to press in some scenarios and it would be really great if I could account for the Mastery in my conditions.
Do you mean Hit Combo? If so yeah you can show that. If you mean the actual hidden last-ability-pressed mastery, I don't think you can display that the same way.
At any rate here's a macro that you can customize a bit what to show. Add Spell IDs to the d={...} (d for debuff) if you want them to display on enemy nameplates and add Spell IDs to the b={...} (b for buff) to display them on your own nameplate. Just as an example, here for debuffs I have Mark of the Crane and Disable. And for buffs I have Hit Combo and Eye of the Tiger.
Code:
/run local d={228287,116095}local b={196741,196608} local u=UnitAura local function f(...)local a={u(...)}a[15]=tContains(d,a[11])or a[15]a[10]=tContains(b,a[11])or a[10]return unpack(a)end UnitAura=f
The macro's starting to get a little long though and might be better suited to a small addon.