- added proper color for player focus (cataclysm hunters) on the PlayerMana module

- minor documentation fix for the incoming heal notification on the player health bar to indicate that it requires either libhealcomm-4 or cataclysm to function
This commit is contained in:
Parnic
2010-09-06 20:11:48 +00:00
parent 83d36674fd
commit aed00f0434
2 changed files with 4 additions and 1 deletions

View File

@ -269,7 +269,7 @@ function PlayerHealth.prototype:GetOptions()
{
type = 'toggle',
name = 'Show incoming heals',
desc = 'Whether or not to show incoming heals as a lighter-colored bar on top of your current health (requires LibHealComm-3.0)',
desc = 'Whether or not to show incoming heals as a lighter-colored bar on top of your current health (requires LibHealComm-4.0 or official patch 4.0)',
get = function()
return self.moduleSettings.showIncomingHeals
end,

View File

@ -13,6 +13,7 @@ function PlayerMana.prototype:init()
self:SetDefaultColor("PlayerMana", 62, 54, 152)
self:SetDefaultColor("PlayerRage", 171, 59, 59)
self:SetDefaultColor("PlayerEnergy", 218, 231, 31)
self:SetDefaultColor("PlayerFocus", 242, 149, 98)
self:SetDefaultColor("PlayerRunicPower", 62, 54, 152)
end
@ -255,6 +256,8 @@ function PlayerMana.prototype:Update(unit, powertype)
color = "PlayerEnergy"
elseif (self.manaType == 6) then
color = "PlayerRunicPower"
elseif (self.manaType == 2) then
color = "PlayerFocus"
end
end