WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/cataclysm/Aloft/AloftHealthBar
    from Rev 1961 to Rev 1973
    Reverse comparison

Rev 1961 → Rev 1973

AloftHealthBar.lua
582,8 → 582,8
self:SetHealthBarColor(aloftData, self.db.profile.colors.hostilePlayer)
-- ChatFrame7:AddMessage("AloftHealthBar:ColourHostile(): " .. class hostile " .. tostring(aloftData.name) .. "/" .. tostring(aloftData.class))
end
elseif Aloft:IsTotem(aloftData) and Aloft.GetTotemExceptionColor then
local color = Aloft:GetTotemExceptionColor(aloftData) or self.db.profile.colors.hostileNPC
elseif Aloft:IsTotem(aloftData) then
local color = (Aloft.GetTotemExceptionColor and Aloft:GetTotemExceptionColor(aloftData)) or self.db.profile.colors.hostileNPC
-- ChatFrame7:AddMessage("AloftHealthBar:ColourHostile(): " .. tostring(aloftData.name) .. "/" ..("|cff%02x%02x%02xcolor|r"):format(floor(255*color[1]), floor(255*color[2]), floor(255*color[3])))
self:SetHealthBarColor(aloftData, color)
elseif aloftData.isPet or aloftData.petOwnersName then
606,8 → 606,8
self:SetHealthBarColor(aloftData, self.db.profile.colors.hostilePlayer)
-- ChatFrame7:AddMessage("AloftHealthBar:ColourNeutral(): " .. class hostile " .. tostring(aloftData.name) .. "/" .. tostring(aloftData.class))
end
elseif Aloft:IsTotem(aloftData) and Aloft.GetTotemExceptionColor then
local color = Aloft:GetTotemExceptionColor(aloftData) or self.db.profile.colors.neutral
elseif Aloft:IsTotem(aloftData) then
local color = (Aloft.GetTotemExceptionColor and Aloft:GetTotemExceptionColor(aloftData)) or self.db.profile.colors.neutral
-- ChatFrame7:AddMessage("AloftHealthBar:ColourHostile(): " .. tostring(aloftData.name) .. "/" ..("|cff%02x%02x%02xcolor|r"):format(floor(255*color[1]), floor(255*color[2]), floor(255*color[3])))
self:SetHealthBarColor(aloftData, color)
else