View Single Post
02-03-12, 09:19 AM   #14
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
Code:
    if not (unit == "targettarget" or unit == "focustarget") then
        local hpp = createFont(hp, "OVERLAY", font, fontsize, fontflag, 1, 1, 1)

        if(unit == "pet") then
                hpp:SetPoint("CENTER", hp, -2, 0)
        else
                hpp:SetPoint("RIGHT", hp, -2, 0)
        end

        if(unit == "player") then
            self:Tag(hpp, '[syliha:hp]')
	elseif(unit == "focus") then
		self:Tag(hpp, '[syliha:hp]')
        else
            self:Tag(hpp, '[freeb:pp]  [freeb:hp]')
        end
    end
  Reply With Quote