kNPCustom_frameheight = 11
kNPCustom_framewidth = 120
kNPCustom_castbarheight = kNPCustom_frameheight * 0.8
kNPCustom_agrocolors = {
-- alpha is not currently used here, these are really just placeholders
[0] = { 1.00, 0.00, 0.00 }, -- "gray" equivalent (translate gray glow to red, the default hostile nameplate color; low aggro)
[1] = { 0.00, 1.00, 1.00 }, -- "yellow" equivalent (tranlate glow to a bright cyan; you are at risk of pulling/losing aggro)
[2] = { 1.00, 0.00, 1.00 }, -- "orange" equivalent (tranlate glow to a bright magenta; you are really close to pulling/losing aggro)
[3] = { 1.00, 0.67, 0.00 }, -- "red" equivalent (tranlate glow to a bright orange; this target is securely yours)
}
kNPCustom_barTexture = [[Interface\Addons\kNamePlates\media\Smoothv2]]
kNPCustom_glowTexture = [[Interface\Addons\kNamePlates\media\Outline]]
kNPCustom_font = [[Interface\Addons\kNamePlates\media\Calibri1.ttf]]
kNPCustom_fontSize = 9
kNPCustom_fontOutline = "OUTLINE"
kNPCustom_stackedPointsfontSize = kNPCustom_fontSize + 3
kNPCustom_castbarfontsize = 8
kNPCustom_thousandstext = "%.1fk"
kNPCustom_millionstext = "%.1fm"
kNPCustom_HPValuefunction = function(value, minhp, maxhp)
if value < 10000 then
return value
elseif value >= 10000 and value < 1000000 then
return string.format(thousandstext, value / 1000)
elseif value >= 1000000 and value < 1000000000 then
return string.format(millionstext, value / 1000000)
else
return value
end
end