Quantcast

NO longer show iomprovements which could go over the cap

Alar of Daggerspine [03-25-15 - 17:04]
NO longer show iomprovements which could go over the cap

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
FollowerPage.lua
diff --git a/FollowerPage.lua b/FollowerPage.lua
index 93cce8d..3f450a7 100644
--- a/FollowerPage.lua
+++ b/FollowerPage.lua
@@ -159,6 +159,9 @@ function addon:ShowUpgradeButtons(force)
 				if level > 600 and level <= currentlevel then
 					break -- Pointless item for this toon
 				end
+				if level<600 and level + currentlevel > GARRISON_FOLLOWER_MAX_ITEM_LEVEL then
+					break
+				end
 				used=used+1
 				if (tipo:sub(1,1)=="a") then
 					A:SetPoint("TOPLEFT",axpos,aypos)