Added weights to AtlasLoot's tooltips
Kevin Lyles [12-11-09 - 10:30]
Added weights to AtlasLoot's tooltips
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