- did minor options table cleanup and made a console /icehudcl command so that IceHUD gets picked up by rock config

This commit is contained in:
Parnic
2008-02-07 22:35:50 +00:00
parent 27f4e7c889
commit eed1e2dd6f
4 changed files with 37 additions and 9 deletions

View File

@ -56,12 +56,22 @@ end
function TargetCast.prototype:GetOptions()
local opts = TargetCast.super.prototype.GetOptions(self)
-- Parnic - this exists solely for the console/rock config to work...animating cast bars doesn't make sense
opts["shouldAnimate"] =
{
}
opts["desiredLerpTime"] =
{
type = 'toggle',
name = '|c' .. self.configColor .. 'Animate amount changes|r',
desc = 'Whether or not to animate the bar falloffs/gains',
get = function()
return self.moduleSettings.shouldAnimate
end,
set = function(value)
self.moduleSettings.shouldAnimate = value
self:Redraw()
end,
disabled = function()
return true
end
}
return opts