mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.2
- Added basic pet support - Added configuration (via both console and Dewdrop) - Fixed indexing problem with non-English clients
This commit is contained in:
@ -16,6 +16,14 @@ function DruidMana.prototype:init()
|
||||
end
|
||||
|
||||
|
||||
function DruidMana.prototype:GetDefaultSettings()
|
||||
local settings = DruidMana.super.prototype.GetDefaultSettings(self)
|
||||
settings["side"] = IceCore.Side.Right
|
||||
settings["offset"] = 0
|
||||
return settings
|
||||
end
|
||||
|
||||
|
||||
function DruidMana.prototype:Enable()
|
||||
DruidMana.super.prototype.Enable(self)
|
||||
|
||||
@ -26,6 +34,7 @@ function DruidMana.prototype:Enable()
|
||||
|
||||
self:RegisterEvent("UNIT_DISPLAYPOWER", "FormsChanged")
|
||||
|
||||
self:FormsChanged(self.unit)
|
||||
self:Update()
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user