Goal: Weak Aura to track external Cooldown on me and print out in the text who the caster of the buff was
I have made the weak aura to track an external CD aka "Hand of Sacrifice" but I need custom code to retrieve the caster of the buff
I think I need to use this function
Code:
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable,
shouldConsolidate, spellId = UnitBuff("unit", [index] or ["name", "rank"][, "filter"])
and retrieve the unitCaster return
But I am very novice with LUA code so any help would be greatly appreciated
Thankyou!