db link (#3)
You can now alt right click items to open them to there ascensionDB page in your browser.
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
## Interface: 30300
|
## Interface: 30300
|
||||||
## Title: AtlasLoot Ascension Edition
|
## Title: AtlasLoot Ascension Edition
|
||||||
## Notes: Shows the possible loot from the bosses
|
## Notes: Shows the possible loot from the bosses
|
||||||
## Author: v7 Rebuid Done by: Anch, Rvng
|
## Author: v7 Rebuid Done by: Anch, Rvng
|
||||||
## Version: v7.2.5
|
## Version: v7.2.8
|
||||||
## X-eMail:
|
## X-eMail:
|
||||||
## X-Credits: Skray, Szyler and others.
|
## X-Credits: Skray, Szyler and others.
|
||||||
## X-Category: Map
|
## X-Category: Map
|
||||||
|
|||||||
@@ -1116,4 +1116,4 @@ function AtlasLoot:LoadItemIDsDatabase()
|
|||||||
|
|
||||||
-- This will run over time (usually about 30s for a file this size), but will maintain playable fps while running.
|
-- This will run over time (usually about 30s for a file this size), but will maintain playable fps while running.
|
||||||
content:ParseAsync()
|
content:ParseAsync()
|
||||||
end
|
end
|
||||||
@@ -414,4 +414,4 @@ StaticPopupDialogs["ATLASLOOT_DELETE_FILTERLIST"] = {
|
|||||||
timeout = 0,
|
timeout = 0,
|
||||||
whileDead = 1,
|
whileDead = 1,
|
||||||
hideOnEscape = 1
|
hideOnEscape = 1
|
||||||
};
|
};
|
||||||
@@ -306,4 +306,4 @@ for _, v in pairs(ItemIDsDatabase) do
|
|||||||
if not v["MythicRaid"] then
|
if not v["MythicRaid"] then
|
||||||
v["MythicRaid"] = tonumber("13"..v[2]);
|
v["MythicRaid"] = tonumber("13"..v[2]);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -227,6 +227,8 @@ function AtlasLootItem_OnClick(self ,arg1)
|
|||||||
StaticPopupDialogs.ATLASLOOT_ADD_CUSTOMHEADER.num = self.number;
|
StaticPopupDialogs.ATLASLOOT_ADD_CUSTOMHEADER.num = self.number;
|
||||||
elseif (arg1=="LeftButton") and ATLASLOOT_ITEM_UNLOCK then
|
elseif (arg1=="LeftButton") and ATLASLOOT_ITEM_UNLOCK then
|
||||||
AtlasLoot:MoveWishlistItem("Up",self.number);
|
AtlasLoot:MoveWishlistItem("Up",self.number);
|
||||||
|
elseif (arg1=="RightButton" and IsAltKeyDown()) then
|
||||||
|
OpenAscensionDBURL("?item="..self.itemID)
|
||||||
elseif(arg1=="RightButton" and not iteminfo and self.itemID ~= 0) then
|
elseif(arg1=="RightButton" and not iteminfo and self.itemID ~= 0) then
|
||||||
AtlasLootTooltip:SetHyperlink("item:"..self.itemID..":0:0:0:0:0:0:0");
|
AtlasLootTooltip:SetHyperlink("item:"..self.itemID..":0:0:0:0:0:0:0");
|
||||||
if not AtlasLoot.db.profile.ItemSpam then
|
if not AtlasLoot.db.profile.ItemSpam then
|
||||||
@@ -281,6 +283,8 @@ function AtlasLootItem_OnClick(self ,arg1)
|
|||||||
if IsShiftKeyDown() then
|
if IsShiftKeyDown() then
|
||||||
spellID = string.sub(self.itemID, 2);
|
spellID = string.sub(self.itemID, 2);
|
||||||
ChatEdit_InsertLink(AtlasLoot_GetEnchantLink(spellID));
|
ChatEdit_InsertLink(AtlasLoot_GetEnchantLink(spellID));
|
||||||
|
elseif (arg1=="RightButton" and IsAltKeyDown()) then
|
||||||
|
OpenAscensionDBURL("?item="..self.itemID)
|
||||||
elseif IsAltKeyDown() then
|
elseif IsAltKeyDown() then
|
||||||
if AtlasLootItemsFrame.refresh[2] == "AtlasLoot_CurrentWishList" then
|
if AtlasLootItemsFrame.refresh[2] == "AtlasLoot_CurrentWishList" then
|
||||||
AtlasLoot_DeleteFromWishList(self.itemID, self.number);
|
AtlasLoot_DeleteFromWishList(self.itemID, self.number);
|
||||||
@@ -329,11 +333,11 @@ function AtlasLootItem_ShowCompareItem(self)
|
|||||||
if ( not link ) then
|
if ( not link ) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
ShoppingTooltip1:SetOwner(AtlasLootTooltip, "ANCHOR_NONE");
|
ShoppingTooltip1:SetOwner(AtlasLootTooltip, "ANCHOR_NONE");
|
||||||
ShoppingTooltip2:SetOwner(AtlasLootTooltip, "ANCHOR_NONE");
|
ShoppingTooltip2:SetOwner(AtlasLootTooltip, "ANCHOR_NONE");
|
||||||
ShoppingTooltip3:SetOwner(AtlasLootTooltip, "ANCHOR_NONE");
|
ShoppingTooltip3:SetOwner(AtlasLootTooltip, "ANCHOR_NONE");
|
||||||
|
|
||||||
local item1 = nil;
|
local item1 = nil;
|
||||||
local item2 = nil;
|
local item2 = nil;
|
||||||
local item3 = nil;
|
local item3 = nil;
|
||||||
@@ -350,7 +354,7 @@ function AtlasLootItem_ShowCompareItem(self)
|
|||||||
if not item1 and not item2 and not item3 then
|
if not item1 and not item2 and not item3 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if item3 then
|
if item3 then
|
||||||
if not item1 then
|
if not item1 then
|
||||||
item1, item3 = true, nil;
|
item1, item3 = true, nil;
|
||||||
@@ -364,11 +368,11 @@ function AtlasLootItem_ShowCompareItem(self)
|
|||||||
item1, item2 = true, nil;
|
item1, item2 = true, nil;
|
||||||
ShoppingTooltip1:SetHyperlinkCompareItem(link, 2, 1, AtlasLootTooltip);
|
ShoppingTooltip1:SetHyperlinkCompareItem(link, 2, 1, AtlasLootTooltip);
|
||||||
end
|
end
|
||||||
|
|
||||||
local left, right, anchor1, anchor2 = AtlasLootTooltip:GetLeft(), AtlasLootTooltip:GetRight(), "TOPLEFT", "TOPRIGHT";
|
local left, right, anchor1, anchor2 = AtlasLootTooltip:GetLeft(), AtlasLootTooltip:GetRight(), "TOPLEFT", "TOPRIGHT";
|
||||||
if not left or not right then return end
|
if not left or not right then return end
|
||||||
if (GetScreenWidth() - right) < left then anchor1, anchor2 = anchor2, anchor1 end
|
if (GetScreenWidth() - right) < left then anchor1, anchor2 = anchor2, anchor1 end
|
||||||
|
|
||||||
if item1 then
|
if item1 then
|
||||||
ShoppingTooltip1:ClearAllPoints();
|
ShoppingTooltip1:ClearAllPoints();
|
||||||
ShoppingTooltip1:SetPoint(anchor1, AtlasLootTooltip, anchor2, 0, -10);
|
ShoppingTooltip1:SetPoint(anchor1, AtlasLootTooltip, anchor2, 0, -10);
|
||||||
@@ -379,14 +383,14 @@ function AtlasLootItem_ShowCompareItem(self)
|
|||||||
ShoppingTooltip2:SetPoint(anchor1, ShoppingTooltip1, anchor2);
|
ShoppingTooltip2:SetPoint(anchor1, ShoppingTooltip1, anchor2);
|
||||||
ShoppingTooltip2:Show();
|
ShoppingTooltip2:Show();
|
||||||
end
|
end
|
||||||
|
|
||||||
if item3 then
|
if item3 then
|
||||||
ShoppingTooltip3:ClearAllPoints();
|
ShoppingTooltip3:ClearAllPoints();
|
||||||
ShoppingTooltip3:SetPoint(anchor1, ShoppingTooltip2, anchor2);
|
ShoppingTooltip3:SetPoint(anchor1, ShoppingTooltip2, anchor2);
|
||||||
ShoppingTooltip3:Show();
|
ShoppingTooltip3:Show();
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -175,6 +175,8 @@ function AtlasLoot_DisplayHelp()
|
|||||||
WHITE..AL["Shift+Left Click the item like you would for any other in-game item"].."\n\n"..
|
WHITE..AL["Shift+Left Click the item like you would for any other in-game item"].."\n\n"..
|
||||||
ORANGE..AL["How to view an item in the Dressing Room:"].."\n"..
|
ORANGE..AL["How to view an item in the Dressing Room:"].."\n"..
|
||||||
WHITE..AL["Simply Ctrl+Left Click on the item. Sometimes the dressing room window is hidden behind the Atlas or AtlasLoot windows, so if nothing seems to happen move your Atlas or AtlasLoot windows and see if anything is hidden."].."\n\n"..
|
WHITE..AL["Simply Ctrl+Left Click on the item. Sometimes the dressing room window is hidden behind the Atlas or AtlasLoot windows, so if nothing seems to happen move your Atlas or AtlasLoot windows and see if anything is hidden."].."\n\n"..
|
||||||
|
ORANGE..AL["How to open an item to its AscensionDB page in your browser window:"].."\n"..
|
||||||
|
WHITE..AL["Alt+Right Click any item to open it in a browser window."].."\n\n"..
|
||||||
ORANGE..AL["How to add an item to the wishlist:"].."\n"..
|
ORANGE..AL["How to add an item to the wishlist:"].."\n"..
|
||||||
WHITE..AL["Alt+Left Click any item to add it to the wishlist."].."\n\n"..
|
WHITE..AL["Alt+Left Click any item to add it to the wishlist."].."\n\n"..
|
||||||
ORANGE..AL["How to delete an item from the wishlist:"].."\n"..
|
ORANGE..AL["How to delete an item from the wishlist:"].."\n"..
|
||||||
|
|||||||
@@ -575,6 +575,7 @@ local rows = setmetatable({}, { __index = function(t, i)
|
|||||||
end
|
end
|
||||||
AtlasLoot:ScrollFrameUpdate();
|
AtlasLoot:ScrollFrameUpdate();
|
||||||
end
|
end
|
||||||
|
|
||||||
end)
|
end)
|
||||||
if i == 1 then
|
if i == 1 then
|
||||||
row:SetPoint("TOPLEFT", scrollFrame, 8, -8)
|
row:SetPoint("TOPLEFT", scrollFrame, 8, -8)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
|
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
|
||||||
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
|
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
|
||||||
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
|
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
|
||||||
local LibStub = _G[LIBSTUB_MAJOR]
|
local LibStub = _G[LIBSTUB_MAJOR]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--[[
|
--[[
|
||||||
constants.en.lua
|
constants.en.lua
|
||||||
This file defines an AceLocale table for all the various text strings needed
|
This file defines an AceLocale table for all the various text strings needed
|
||||||
by AtlasLoot. In this implementation, if a translation is missing, it will fall
|
by AtlasLoot. In this implementation, if a translation is missing, it will fall
|
||||||
@@ -1586,6 +1586,8 @@ if AL then
|
|||||||
AL["How to view an 'unsafe' item:"] = true;
|
AL["How to view an 'unsafe' item:"] = true;
|
||||||
AL["Unsafe items have a red border around the icon and are marked because you have not seen the item since the last patch or server restart. Right-click the item, then move your mouse back over the item or click the 'Query Server' button at the bottom of the loot page. This will also load any Bloodforged items."] = true;
|
AL["Unsafe items have a red border around the icon and are marked because you have not seen the item since the last patch or server restart. Right-click the item, then move your mouse back over the item or click the 'Query Server' button at the bottom of the loot page. This will also load any Bloodforged items."] = true;
|
||||||
AL["How to view an item in the Dressing Room:"] = true;
|
AL["How to view an item in the Dressing Room:"] = true;
|
||||||
|
AL["How to open an item to its AscensionDB page in your browser window:"] = true;
|
||||||
|
AL["Alt+Right Click any item to open it in a browser window."] = true;
|
||||||
AL["Simply Ctrl+Left Click on the item. Sometimes the dressing room window is hidden behind the Atlas or AtlasLoot windows, so if nothing seems to happen move your Atlas or AtlasLoot windows and see if anything is hidden."] = true;
|
AL["Simply Ctrl+Left Click on the item. Sometimes the dressing room window is hidden behind the Atlas or AtlasLoot windows, so if nothing seems to happen move your Atlas or AtlasLoot windows and see if anything is hidden."] = true;
|
||||||
AL["How to link an item to someone else:"] = true;
|
AL["How to link an item to someone else:"] = true;
|
||||||
AL["Shift+Left Click the item like you would for any other in-game item"] = true;
|
AL["Shift+Left Click the item like you would for any other in-game item"] = true;
|
||||||
|
|||||||
@@ -110,4 +110,4 @@ AtlasLoot_SubMenus["Dungeons and RaidsWRATH"] = {
|
|||||||
{ "", "UtgardeKeep", "Utgarde Keep" };
|
{ "", "UtgardeKeep", "Utgarde Keep" };
|
||||||
{ "", "UtgardePinnacle", "Utgarde Pinnacle" };
|
{ "", "UtgardePinnacle", "Utgarde Pinnacle" };
|
||||||
{ "", "TheVioletHold", "The Violet Hold" };
|
{ "", "TheVioletHold", "The Violet Hold" };
|
||||||
};
|
};
|
||||||
@@ -4055,7 +4055,7 @@ AtlasLoot_Data["Naxxramas60"] = {
|
|||||||
{ 9, 22819, "", "=q4=Shield of Condemnation", "=ds=#w8#", "", "18.18%" },
|
{ 9, 22819, "", "=q4=Shield of Condemnation", "=ds=#w8#", "", "18.18%" },
|
||||||
{ 10, 23057, "", "=q4=Gem of Trapped Innocents", "=ds=#s2#", "", "18.18%" },
|
{ 10, 23057, "", "=q4=Gem of Trapped Innocents", "=ds=#s2#", "", "18.18%" },
|
||||||
{ 11, 23053, "", "=q4=Stormrage's Talisman of Seething", "=ds=#s2#", "", "18.18%" },
|
{ 11, 23053, "", "=q4=Stormrage's Talisman of Seething", "=ds=#s2#", "", "18.18%" },
|
||||||
{ 13, 691119, "", "=q4=The Phylactery of Kel'Thuzad", "=ds=#m2#", "", "100%" },
|
{ 13, 22520, "", "=q4=The Phylactery of Kel'Thuzad", "=ds=#m2#", "", "100%" },
|
||||||
{ 14, 23207, "", "=q4=Mark of the Champion", "=q1=#m4# =ds=#s14#" },
|
{ 14, 23207, "", "=q4=Mark of the Champion", "=q1=#m4# =ds=#s14#" },
|
||||||
{ 15, 23206, "", "=q4=Mark of the Champion", "=q1=#m4# =ds=#s14#" },
|
{ 15, 23206, "", "=q4=Mark of the Champion", "=q1=#m4# =ds=#s14#" },
|
||||||
{ 16, 1510496, "", "=q4=Desecrated Ring", "=ds=#tt3#", "", "100%", "=TT=T3FINGER" };
|
{ 16, 1510496, "", "=q4=Desecrated Ring", "=ds=#tt3#", "", "100%", "=TT=T3FINGER" };
|
||||||
|
|||||||
Reference in New Issue
Block a user