From bed92ff61af521275b90bd273cb2f5e353d7f3d6 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Fri, 11 Dec 2009 04:30:50 -0600 Subject: [PATCH] Added weights to AtlasLoot's tooltips --- WeightsWatcher.lua | 3 +++ WeightsWatcher.toc | 1 + 2 files changed, 4 insertions(+) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index 7c6ddeb..5c1da76 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -126,6 +126,9 @@ function WeightsWatcher:OnEnable() WeightsWatcher:HookTooltip("ShoppingTooltip2", "SetExistingSocketGem") WeightsWatcher:HookTooltip("ShoppingTooltip2", "SetHyperlinkCompareItem") WeightsWatcher:HookTooltip("ShoppingTooltip2", "SetInventoryItem") + if AtlasLootTooltip then + WeightsWatcher:HookTooltip("AtlasLootTooltip", "SetHyperlink") + end end function WeightsWatcher:OnDisable() diff --git a/WeightsWatcher.toc b/WeightsWatcher.toc index f8f13fe..f2df65e 100644 --- a/WeightsWatcher.toc +++ b/WeightsWatcher.toc @@ -3,6 +3,7 @@ ## Notes: Ranks gear according to customizable stat weights ## Author: The Flying Squirrels ## Version: 1.0b2 +## OptionalDeps: AtlasLoot ## SavedVariables: ww_vars ## SavedVariablesPerCharacter: ww_charVars ## X-Category: Interface Enhancements -- 1.7.9.5