Fix combo points on classic

main
4n0n 2 years ago
parent c1c2a2954c
commit b4222704c2
  1. 5
      src/Unit/Unit.lua

@ -549,7 +549,10 @@ end
-- Get combopoints deficit -- Get combopoints deficit
---@return number ---@return number
function Unit:GetComboPointsDeficit() function Unit:GetComboPointsDeficit(unit)
if Tinkr.classic then
return self:GetComboPointsMax() - self:GetComboPoints(unit)
end
return self:GetComboPointsMax() - self:GetComboPoints() return self:GetComboPointsMax() - self:GetComboPoints()
end end

Loading…
Cancel
Save