- when a custom CD bar is set to "when ready" display mode, it will only display an empty bar. therefore, empty should behave like full for the purposes of alpha ooc/target/etc. settings

This commit is contained in:
Parnic
2010-06-03 06:41:37 +00:00
parent 7c9f099c32
commit 61ae20461b

View File

@ -522,3 +522,11 @@ function IceCustomCDBar.prototype:Show(bShouldShow)
IceCustomCDBar.super.prototype.Show(self, bShouldShow)
end
end
function IceCustomCDBar.prototype:UseTargetAlpha(scale)
if self.moduleSettings.displayMode == "When ready" and scale == 0 then
return false
end
return true
end