mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
- fixed up a couple more modules with an empty 'animation settings' header and some too-long options that were being ellipsised (is that a word? it is now.)
This commit is contained in:
@ -163,6 +163,7 @@ function CastBar.prototype:GetOptions()
|
|||||||
type = 'toggle',
|
type = 'toggle',
|
||||||
name = 'Change color when not in range',
|
name = 'Change color when not in range',
|
||||||
desc = 'Changes the bar color to the CastNotInRange color when the target goes out of range for the current spell.',
|
desc = 'Changes the bar color to the CastNotInRange color when the target goes out of range for the current spell.',
|
||||||
|
width = 'double',
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.rangeColor
|
return self.moduleSettings.rangeColor
|
||||||
end,
|
end,
|
||||||
|
@ -22,6 +22,7 @@ function FocusCast.prototype:GetDefaultSettings()
|
|||||||
settings["flashInstants"] = "Never"
|
settings["flashInstants"] = "Never"
|
||||||
settings["flashFailures"] = "Never"
|
settings["flashFailures"] = "Never"
|
||||||
settings["shouldAnimate"] = false
|
settings["shouldAnimate"] = false
|
||||||
|
settings["hideAnimationSettings"] = true
|
||||||
settings["usesDogTagStrings"] = false
|
settings["usesDogTagStrings"] = false
|
||||||
settings["enabled"] = false
|
settings["enabled"] = false
|
||||||
settings["barVerticalOffset"] = 35
|
settings["barVerticalOffset"] = 35
|
||||||
@ -63,31 +64,6 @@ end
|
|||||||
function FocusCast.prototype:GetOptions()
|
function FocusCast.prototype:GetOptions()
|
||||||
local opts = FocusCast.super.prototype.GetOptions(self)
|
local opts = FocusCast.super.prototype.GetOptions(self)
|
||||||
|
|
||||||
-- Parnic - this exists solely for the console/rock config to work...animating cast bars doesn't make sense
|
|
||||||
opts["shouldAnimate"] =
|
|
||||||
{
|
|
||||||
type = 'toggle',
|
|
||||||
name = 's',
|
|
||||||
desc = 's',
|
|
||||||
set = 's',
|
|
||||||
get = 's',
|
|
||||||
hidden = function()
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
opts["desiredLerpTime"] =
|
|
||||||
{
|
|
||||||
type = 'toggle',
|
|
||||||
name = 'd',
|
|
||||||
desc = 'd',
|
|
||||||
set = 'd',
|
|
||||||
get = 'd',
|
|
||||||
hidden = function()
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
opts["barVisible"] = {
|
opts["barVisible"] = {
|
||||||
type = 'toggle',
|
type = 'toggle',
|
||||||
name = 'Bar visible',
|
name = 'Bar visible',
|
||||||
|
@ -125,6 +125,7 @@ function FocusHealth.prototype:GetOptions()
|
|||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = "Lock raid icon to 100% alpha",
|
name = "Lock raid icon to 100% alpha",
|
||||||
desc = "With this enabled, the raid icon is always 100% alpha, regardless of the bar's alpha. Otherwise, it assumes the bar's alpha level.",
|
desc = "With this enabled, the raid icon is always 100% alpha, regardless of the bar's alpha. Otherwise, it assumes the bar's alpha level.",
|
||||||
|
width = 'double',
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.lockIconAlpha
|
return self.moduleSettings.lockIconAlpha
|
||||||
end,
|
end,
|
||||||
|
@ -135,6 +135,7 @@ function TargetCast.prototype:GetOptions()
|
|||||||
type = 'toggle',
|
type = 'toggle',
|
||||||
name = 'Display non-interruptible color',
|
name = 'Display non-interruptible color',
|
||||||
desc = 'Toggles whether or not to show the CastNonInterruptible color for this bar when a cast is non-interruptible',
|
desc = 'Toggles whether or not to show the CastNonInterruptible color for this bar when a cast is non-interruptible',
|
||||||
|
width = 'double',
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.displayNonInterruptible
|
return self.moduleSettings.displayNonInterruptible
|
||||||
end,
|
end,
|
||||||
|
Reference in New Issue
Block a user