if ( GameTooltip:IsOwned(self) ) then GameTooltip:SetUnitDebuff("focus", self:GetID()); end
GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetUnitDebuff("focus", self:GetID());
TextStatusBar_Initialize(self); self.textLockable = 1; self.cvar = "targetStatusText"; self.cvarLabel = "STATUS_TEXT_TARGET"; self.zeroText = "";
UnitFrameHealthBar_OnValueChanged(self, value); FocusHealthCheck(self, value);
TextStatusBar_Initialize(self); self.textLockable = 1; self.cvar = "targetStatusText"; self.cvarLabel = "STATUS_TEXT_TARGET";
self.text = _G[self:GetName().."Value"]; self.bg = _G[self:GetName().."BG"];
UnitFrame_Initialize(self, "focus", FocusName, FocusPortrait, FocusFrameHealthBar, FocusFrameHealthBarText, FocusFrameManaBar, FocusFrameManaBarText, FocusFrameFlash, "player", FocusFrameNumericalThreat); self.noTextPrefix = true; FocusFrame_OnLoad(self);
FocusFrame_OnUpdate(self, elapsed); FocusFrame_HealthUpdate(self, elapsed, "focus");