mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
Fixed error for non-rogues
This commit is contained in:
@ -18,7 +18,12 @@ end
|
||||
|
||||
|
||||
function ComboPoints.prototype:GetMaxComboPoints()
|
||||
return UnitPowerMax("player", SPELL_POWER_COMBO_POINTS)
|
||||
local retval = UnitPowerMax("player", SPELL_POWER_COMBO_POINTS)
|
||||
if retval == 0 then -- accommodate non-rogues who still need combo point displays for some specific encounters/quests
|
||||
retval = 5
|
||||
end
|
||||
|
||||
return retval
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user