Auto "query server" for norm&HC&bloody

This commit is contained in:
Szyler
2020-09-08 10:29:23 +02:00
parent deb5a4d993
commit a3f9cb4672
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -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
+3
View File
@@ -603,6 +603,7 @@
</OnLoad>
<OnClick>
AtlasLoot_HeroicModeToggle();
AtlasLoot_QueryLootPage();
</OnClick>
</Scripts>
</CheckButton>
@@ -626,6 +627,7 @@
<Scripts>
<OnClick>
AtlasLoot_NavButton_OnClick()
AtlasLoot_QueryLootPage();
</OnClick>
<OnShow>
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
@@ -730,6 +732,7 @@
<Scripts>
<OnClick>
AtlasLoot_NavButton_OnClick()
AtlasLoot_QueryLootPage();
</OnClick>
<OnShow>
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );