From 84f15903fda69e80d86f973265679084d57b46e3 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 26 Dec 2014 23:27:58 +0100 Subject: [PATCH] Minor changes --- elements/tags.lua | 4 ++-- oUF_P3lim.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/elements/tags.lua b/elements/tags.lua index 64b5a66..3ded96c 100644 --- a/elements/tags.lua +++ b/elements/tags.lua @@ -52,7 +52,7 @@ local events = { combo = 'UNIT_COMBO_POINTS PLAYER_TARGET_CHANGED', anticipation = 'UNIT_AURA', maelstrom = 'UNIT_AURA', - spell = 'UNIT_SPELLCAST_START UNIT_SPELLCAST_STOP UNIT_SPELLCAST_CHANNEL_START UNIT_SPELLCAST_CHANNEL_STOP', + cast = 'UNIT_SPELLCAST_START UNIT_SPELLCAST_STOP UNIT_SPELLCAST_CHANNEL_START UNIT_SPELLCAST_CHANNEL_STOP', name = 'UNIT_SPELLCAST_START UNIT_SPELLCAST_STOP UNIT_SPELLCAST_CHANNEL_START UNIT_SPELLCAST_CHANNEL_STOP UNIT_NAME_UPDATE UNIT_REACTION UNIT_FACTION UNIT_CLASSIFICATION_CHANGED', color = 'UNIT_REACTION UNIT_FACTION', status = 'UNIT_CONNECTION UNIT_HEALTH' @@ -133,7 +133,7 @@ for tag, func in next, { leader = function(unit) return UnitIsGroupLeader(unit) and '|cffffff00!|r' end, - spell = function(unit) + cast = function(unit) return UnitCastingInfo(unit) or UnitChannelInfo(unit) end, name = function(unit) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 1a99397..38d9384 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -169,7 +169,7 @@ local UnitSpecific = { PowerValue:SetPoint('RIGHT', PetHealth, 'LEFT', -3, 0) PowerValue:SetFont(FONT, 8, 'OUTLINEMONOCHROME') PowerValue:SetJustifyH('LEFT') - self:Tag(PowerValue, '[p3lim:ptype][p3lim:curpp]|r[ |cff997fcc>demonicfury<|r][ |cff0090ff>p3lim:altpp<%|r][ | >p3lim:spell]') + self:Tag(PowerValue, '[p3lim:ptype][p3lim:curpp]|r[ |cff997fcc>demonicfury<|r][ |cff0090ff>p3lim:altpp<%|r][ : >p3lim:cast]') local Experience = CreateFrame('StatusBar', nil, self) Experience:SetPoint('BOTTOM', 0, -20) @@ -527,7 +527,7 @@ local function Shared(self, unit) if(unit == 'party' or unit == 'raid' or unit == 'arena') then local Name = self.Health:CreateFontString(nil, 'OVERLAY') Name:SetPoint('LEFT', 3, 0) - Name:SetPoint('RIGHT', self.HealthValue, 'LEFT') + Name:SetPoint('RIGHT', HealthValue, 'LEFT') Name:SetFont(FONT, 8, 'OUTLINEMONOCHROME') Name:SetJustifyH('LEFT') self.Name = Name -- 1.7.9.5