From 695cc85e81b94632dc63b52e8affd46b5a537a27 Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Wed, 15 Oct 2008 16:09:11 +0000 Subject: [PATCH] Update to 30000 git-svn-id: svn://svn.wowinterface.com/oUF_Experience-227/trunk@18 f81be506-7a38-4956-9b9f-d707db2888a5 --- oUF_Experience/oUF_Experience.lua | 6 +++--- oUF_Experience/oUF_Experience.toc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/oUF_Experience/oUF_Experience.lua b/oUF_Experience/oUF_Experience.lua index 6dbd9d9..daa29f6 100644 --- a/oUF_Experience/oUF_Experience.lua +++ b/oUF_Experience/oUF_Experience.lua @@ -14,7 +14,7 @@ local _, class = UnitClass('player') local function PlayerXPTip(self, min, max) - GameTooltip:SetOwner(self, 'TOPLEFT', 5, -5) + GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT', 5, -5) if(GetXPExhaustion()) then GameTooltip:AddLine(format('|cffffffffRested XP remaining:|r %s', GetXPExhaustion())) GameTooltip:AddLine(' ') @@ -28,7 +28,7 @@ local function PlayerXPTip(self, min, max) end local function PlayerRepTip(self, name, id, min, max, value) - GameTooltip:SetOwner(self, 'TOPLEFT', 5, -5) + GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT', 5, -5) GameTooltip:AddLine(format('|cffffffffWatched Faction:|r %s', name)) GameTooltip:AddLine(format('|cffffffffRemaining Reputation to go:|r %s', floor(max - value))) GameTooltip:AddLine(format('|cffffffffPercentage to go:|r %s%%', floor((max - value) / (max-min) * 100))) @@ -37,7 +37,7 @@ local function PlayerRepTip(self, name, id, min, max, value) end local function PetTip(self, min, max) - GameTooltip:SetOwner(self, 'TOPLEFT', 5, -5) + GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT', 5, -5) GameTooltip:AddLine(format('|cffffffffRemaining XP to go:|r %s', floor(max - min))) GameTooltip:AddLine(format('|cffffffffPercentage through:|r %s%%', floor(min / max * 100))) GameTooltip:AddLine(format('|cffffffffPercentage to go:|r %s%%', floor((max - min) / max * 100))) diff --git a/oUF_Experience/oUF_Experience.toc b/oUF_Experience/oUF_Experience.toc index b769b94..5129350 100644 --- a/oUF_Experience/oUF_Experience.toc +++ b/oUF_Experience/oUF_Experience.toc @@ -1,6 +1,6 @@ -## Interface: 20400 +## Interface: 30000 ## Author: p3lim -## Version: 20400.wowi:revision +## Version: 30000.wowi:revision ## Title: oUF Experience ## Notes: Experience/Reputation Bar support for oUF layouts. ## RequiredDeps: oUF -- 1.7.9.5