From a3f9cb4672178755778c1101851bc35333075f2c Mon Sep 17 00:00:00 2001 From: Szyler Date: Tue, 8 Sep 2020 10:29:23 +0200 Subject: [PATCH] Auto "query server" for norm&HC&bloody --- AtlasLoot/Core/AtlasLoot.lua | 4 +++- AtlasLoot/Core/AtlasLoot.xml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index c79442c..bf0a686 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -105,7 +105,7 @@ local AtlasLootDBDefaults = { AtlasLootVersion = "1", AtlasNaggedVersion = "", FuBarPosition = 1, - AutoQuery = false, + AutoQuery = true, LoadAllLoDStartup = false, PartialMatching = true, LootBrowserStyle = 1, @@ -1409,6 +1409,8 @@ function AtlasLoot_QueryLootPage() queryitem = button.itemID; if (queryitem) and (queryitem ~= nil) and (queryitem ~= "") and (queryitem ~= 0) and (string.sub(queryitem, 1, 1) ~= "s") then GameTooltip:SetHyperlink("item:"..queryitem..":0:0:0:0:0:0:0"); + GameTooltip:SetHyperlink("item:60"..queryitem..":0:0:0:0:0:0:0"); + GameTooltip:SetHyperlink("item:2"..queryitem..":0:0:0:0:0:0:0"); end i=i+1; end diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml index 2d1cb49..9435a38 100644 --- a/AtlasLoot/Core/AtlasLoot.xml +++ b/AtlasLoot/Core/AtlasLoot.xml @@ -603,6 +603,7 @@ AtlasLoot_HeroicModeToggle(); + AtlasLoot_QueryLootPage(); @@ -626,6 +627,7 @@ AtlasLoot_NavButton_OnClick() + AtlasLoot_QueryLootPage(); this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 ); @@ -730,6 +732,7 @@ AtlasLoot_NavButton_OnClick() + AtlasLoot_QueryLootPage(); this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );