Files
ice-hud/modules/PlayerInvuln.lua
Parnic 7e82f6d88a - added user-submitted PlayerCC and Target/PlayerInvuln classes
- added user-submitted root and silence groups to the CC modules
- filled out CC list a bit more with user-submitted spell id's
2010-01-11 01:10:50 +00:00

28 lines
896 B
Lua

local AceOO = AceLibrary("AceOO-2.0")
-- changed to inherit from the TargetInvuln 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 Invuln spell tables and they don't have to be globals
local PlayerInvuln = AceOO.Class(TargetInvuln)
-- Constructor --
function PlayerInvuln.prototype:init()
PlayerInvuln.super.prototype.init(self, "PlayerInvuln", "player")
end
-- 'Public' methods -----------------------------------------------------------
-- OVERRIDE
function PlayerInvuln.prototype:GetDefaultSettings()
local settings = PlayerInvuln.super.prototype.GetDefaultSettings(self)
settings["side"] = IceCore.Side.Left
settings["offset"] = 3
return settings
end
-- 'Protected' methods --------------------------------------------------------
-- Load us up
IceHUD.PlayerInvuln = PlayerInvuln:new()