From b4222704c22eafc1e32b317a11b6eb35a4fc713c Mon Sep 17 00:00:00 2001 From: 4n0n <4n0n@tinkr.site> Date: Thu, 2 Feb 2023 17:59:50 -0600 Subject: [PATCH] Fix combo points on classic --- src/Unit/Unit.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Unit/Unit.lua b/src/Unit/Unit.lua index 4dc9412..747c041 100644 --- a/src/Unit/Unit.lua +++ b/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