Quantcast

update lib sortbag

Ou Junhui [09-18-21 - 15:50]
update lib sortbag
Filename
rBag/libs/SortBags.lua
rTooltip/core.lua
diff --git a/rBag/libs/SortBags.lua b/rBag/libs/SortBags.lua
index 654d010..7a86187 100644
--- a/rBag/libs/SortBags.lua
+++ b/rBag/libs/SortBags.lua
@@ -62,11 +62,11 @@ local function union(...)
 	return t
 end

-local SPECIAL = set(5462, 13347, 11511, 38233)
+local SPECIAL = set(5462, 13347, 11511, 38233, 9173)

 local KEYS = set(9240, 11511, 17191, 13544, 12324, 16309, 12384, 20402)

-local TOOLS = set(6218, 6339, 11130, 11145, 16207, 22461, 22462, 22463, 5060, 7005, 12709, 19727, 5956, 2901, 6219, 10498, 9149, 15846, 6256, 6365, 6367, 20815, 20824, 25978)
+local TOOLS = set(6218, 6339, 11130, 11145, 16207, 22461, 22462, 22463, 5060, 7005, 12709, 19727, 5956, 2901, 6219, 10498, 9149, 15846, 6256, 6365, 6366, 6367, 12225, 19022, 25978, 19970, 20815, 20824, 25978)

 local CLASSES = {
 	-- soul
diff --git a/rTooltip/core.lua b/rTooltip/core.lua
index 8fdbeb5..851ca95 100644
--- a/rTooltip/core.lua
+++ b/rTooltip/core.lua
@@ -164,7 +164,7 @@ end

 local function OnTooltipSetItem(self)
   local _, link = self:GetItem()
-
+
   if link then
     local id = "|cFFCA3C3CID|r "..link:match(":(%w+)")
     local level = GetDetailedItemLevelInfo(link) or 1
@@ -273,7 +273,7 @@ GameTooltip:HookScript("OnTooltipSetItem", OnTooltipSetItem)

 --loop over tooltips
 local tooltips = { GameTooltip,ShoppingTooltip1,ShoppingTooltip2,ItemRefTooltip,ItemRefShoppingTooltip1,ItemRefShoppingTooltip2,WorldMapTooltip,
-WorldMapCompareTooltip1,WorldMapCompareTooltip2,SmallTextTooltip }
+WorldMapCompareTooltip1,WorldMapCompareTooltip2,SmallTextTooltip,EmbeddedItemTooltip }
 for i, tooltip in next, tooltips do
   tooltip:SetScale(cfg.scale)
   if tooltip:HasScript("OnTooltipCleared") then