X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/0051bb49579945bb78153b4c5009a0fa633ecce9..6fa986e49300a4cf1c9fc7d809ede512779c7664:/kehys/events.lua?ds=sidebyside diff --git a/kehys/events.lua b/kehys/events.lua index 7d46c61..ae201dd 100644 --- a/kehys/events.lua +++ b/kehys/events.lua @@ -77,11 +77,7 @@ local function updateName(frame, unit) local _, class = UnitClass(unit); local color = RAID_CLASS_COLORS[class]; - if class == "DEATHKNIGHT" then - frame.isdk = true; - else - frame.isdk = nil; - end + frame.classname = class; if color then if not frame.raid then @@ -207,6 +203,7 @@ local eventFuncs = { frame.heal = {}; frame.buff1 = {}; frame.buff2 = {}; + frame.stagger = {}; addon.SetAuras(frame.unit, frame.guid); end end,