Fix combo points on classic

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

@ -549,7 +549,10 @@ end
-- Get combopoints deficit
---@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()
end

Loading…
Cancel
Save