- added a focus threat module by request

This commit is contained in:
Parnic
2009-07-08 03:18:04 +00:00
parent 7fc7a37e56
commit 9e00802862
3 changed files with 50 additions and 25 deletions

20
modules/FocusThreat.lua Normal file
View File

@ -0,0 +1,20 @@
local AceOO = AceLibrary("AceOO-2.0")
local IceFocusThreat = AceOO.Class(IceThreat)
-- constructor
function IceFocusThreat.prototype:init()
IceFocusThreat.super.prototype.init(self, "FocusThreat", "focus")
end
function IceFocusThreat.prototype:GetDefaultSettings()
local settings = IceFocusThreat.super.prototype.GetDefaultSettings(self)
settings["side"] = IceCore.Side.Right
settings["offset"] = 4
return settings
end
-- Load us up
IceHUD.IceFocusThreat = IceFocusThreat:new()