mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added user-submitted root and silence groups to the CC modules - filled out CC list a bit more with user-submitted spell id's
28 lines
852 B
Lua
28 lines
852 B
Lua
local AceOO = AceLibrary("AceOO-2.0")
|
|
|
|
-- changed to inherit from the TargetCC bar since the only difference is the unit and the default placement
|
|
-- helps keep changes in one place and we don't have to duplicate the CC spell tables and they don't have to be globals
|
|
local PlayerCC = AceOO.Class(TargetCC)
|
|
|
|
-- Constructor --
|
|
function PlayerCC.prototype:init()
|
|
PlayerCC.super.prototype.init(self, "PlayerCC", "player")
|
|
end
|
|
|
|
-- 'Public' methods -----------------------------------------------------------
|
|
|
|
-- OVERRIDE
|
|
function PlayerCC.prototype:GetDefaultSettings()
|
|
local settings = PlayerCC.super.prototype.GetDefaultSettings(self)
|
|
|
|
settings["side"] = IceCore.Side.Left
|
|
settings["offset"] = 5
|
|
|
|
return settings
|
|
end
|
|
|
|
-- 'Protected' methods --------------------------------------------------------
|
|
|
|
-- Load us up
|
|
IceHUD.PlayerCC = PlayerCC:new()
|