ICE-8 - made default dogtag for fractional health into CurHP:Round/MaxHP:Round since FractionalHP liked to show decimals and wouldn't :Round

- expanded raid icon placement ranges to allow more flexibility
This commit is contained in:
Parnic
2008-02-17 07:28:48 +00:00
parent 7a5fa3fde7
commit 5bf246f527

View File

@ -24,7 +24,7 @@ function TargetHealth.prototype:GetDefaultSettings()
settings["classColor"] = false settings["classColor"] = false
settings["hideBlizz"] = true settings["hideBlizz"] = true
settings["upperText"] = "[PercentHP:Round]" settings["upperText"] = "[PercentHP:Round]"
settings["lowerText"] = "[FractionalHP:HPColor:Bracket]" settings["lowerText"] = "[Text([CurHP:Round]/[MaxHP:Round]):HPColor:Bracket]"
settings["raidIconOnTop"] = true settings["raidIconOnTop"] = true
settings["showRaidIcon"] = true settings["showRaidIcon"] = true
settings["raidIconXOffset"] = 12 settings["raidIconXOffset"] = 12
@ -166,8 +166,8 @@ function TargetHealth.prototype:GetOptions()
type = "range", type = "range",
name = "Raid Icon X Offset", name = "Raid Icon X Offset",
desc = "How far to push the raid icon right or left", desc = "How far to push the raid icon right or left",
min = -50, min = -300,
max = 50, max = 300,
step = 1, step = 1,
get = function() get = function()
return self.moduleSettings.raidIconXOffset return self.moduleSettings.raidIconXOffset
@ -188,7 +188,7 @@ function TargetHealth.prototype:GetOptions()
name = "Raid Icon Y Offset", name = "Raid Icon Y Offset",
desc = "How far to push the raid icon up or down", desc = "How far to push the raid icon up or down",
min = -300, min = -300,
max = 50, max = 300,
step = 1, step = 1,
get = function() get = function()
return self.moduleSettings.raidIconYOffset return self.moduleSettings.raidIconYOffset