mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.8
- 2.0 compatible - Removed bunch of unused libs (recommended to delete your /libs folder before updating) - Added a restriction to open configuration settings only out of combat - TargetInfo module optimized (no longer eats your memory and babies when changing options) - Shows up to 40 buffs/debuffs, ability to filter buffs (never/in combat/always) - No longer uses SpellStatus lib (new events do everything worth doing) - New module TargetCast, basically does what Blizzard target frame cast bar does - Removed module TimerBar (it was next to useless) - Brackets around bar texts now toggleable - Some misc. bug fixes (eg. colors now change properly when a duel starts)
This commit is contained in:
12
IceCore.lua
12
IceCore.lua
@ -4,6 +4,8 @@ IceCore = AceOO.Class("AceEvent-2.0", "AceDB-2.0")
|
||||
|
||||
IceCore.Side = { Left = "LEFT", Right = "RIGHT" }
|
||||
|
||||
IceCore.BuffLimit = 40
|
||||
|
||||
-- Events modules should register/trigger during load
|
||||
IceCore.Loaded = "IceCore_Loaded"
|
||||
IceCore.RegisterModule = "IceCore_RegisterModule"
|
||||
@ -87,6 +89,10 @@ function IceCore.prototype:Enable()
|
||||
self.elements[i]:Enable(true)
|
||||
end
|
||||
end
|
||||
|
||||
-- try to catch what's causing the cockblock message
|
||||
self:RegisterEvent("ADDON_ACTION_FORBIDDEN", "ActionForbidden")
|
||||
self:RegisterEvent("ADDON_ACTION_BLOCKED", "ActionBlocked")
|
||||
|
||||
self.enabled = true
|
||||
end
|
||||
@ -178,6 +184,12 @@ function IceCore.prototype:Register(element)
|
||||
end
|
||||
|
||||
|
||||
function IceCore.prototype:ActionForbidden(addon, msg)
|
||||
IceHUD:Debug("Action Forbidden. ", addon, " : ", msg)
|
||||
end
|
||||
function IceCore.prototype:ActionBlocked(addon, msg)
|
||||
IceHUD:Debug("Action Blocked. ", addon, " : ", msg)
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
-- Configuration methods --
|
||||
|
Reference in New Issue
Block a user