7.3.2 (#6)
* update to release 7.3.1 * minor tweaks - tweaked the drop location text to display a bit more cleanly - added boss sigils to bc raid tables - added right click context menu to boss name list so you can open db to that boss (only has raids atm) - the All dungeon items list now wont precache past the normal loot
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
## Title: AtlasLoot Ascension Edition
|
||||
## Notes: Shows the possible loot from the bosses
|
||||
## Author: v7 Rebuid Done by: Anch, Rvng
|
||||
## Version: v7.2.8
|
||||
## Version: v7.3.2
|
||||
## X-eMail:
|
||||
## X-Credits: Skray, Szyler and others.
|
||||
## X-Category: Map
|
||||
## X-License: GPL v2
|
||||
## X-Website: https://discord.gg/uYCE2X2FgA
|
||||
## X-Embeds: Ace3, DewdropLib, FuBarPlugin-2.0, LibBabble-Boss-3.0, LibBabble-Faction-3.0, LibBabble-Inventory-3.0, LibBabble-Zone-3.0
|
||||
## X-Embeds: Ace3, DewdropLib, LibBabble-Boss-3.0, LibBabble-Faction-3.0, LibBabble-Inventory-3.0, LibBabble-Zone-3.0
|
||||
## Title-deDE: AtlasLoot Enhanced
|
||||
## Notes-deDE: Zeigt mögliche Beute von Bossen
|
||||
## Title-frFR: AtlasLoot Enhanced
|
||||
|
||||
@@ -3,18 +3,9 @@
|
||||
AtlasLoot.Difficultys["Default"] = {};
|
||||
|
||||
AtlasLoot.Difficultys["ClassicDungeon"] = {
|
||||
{"Bloodforged", 1},
|
||||
{"Normal", 2},
|
||||
{"Heroic", 3},
|
||||
{"Mythic", 4},
|
||||
{"Mythic 1", 5 }, {"Mythic 2", 6 }, {"Mythic 3", 7 }, {"Mythic 4", 8 }, {"Mythic 5", 9 },
|
||||
{"Mythic 6", 10 }, {"Mythic 7", 11 }, {"Mythic 8", 12 }, {"Mythic 9", 13 }, {"Mythic 10", 14 },
|
||||
{"Mythic 11", 15 }, {"Mythic 12", 16 }, {"Mythic 13", 17 }, {"Mythic 14", 18 }, {"Mythic 15", 19 },
|
||||
{"Mythic 16", 20 }, {"Mythic 17", 21 }, {"Mythic 18", 22 }, {"Mythic 19", 23 }, {"Mythic 20", 24 },
|
||||
{"Mythic 21", 25 }, {"Mythic 22", 26 }, {"Mythic 23", 27 }, {"Mythic 24", 28 }, {"Mythic 25", 29 },
|
||||
{"Mythic 26", 30 }, {"Mythic 27", 31 }, {"Mythic 28", 32 }, {"Mythic 29", 33 }, {"Mythic 30", 34 },
|
||||
{"Mythic 31", 35 }, {"Mythic 32", 36 }, {"Mythic 33", 37 }, {"Mythic 34", 38 }, {"Mythic 35", 39 },
|
||||
{"Mythic 36", 40 }, {"Mythic 37", 41 }, {"Mythic 38", 42 }, {"Mythic 39", 43 }, {"Mythic 40", 44 },
|
||||
};
|
||||
|
||||
AtlasLoot.Difficultys["PVP"] = {
|
||||
|
||||
@@ -553,6 +553,7 @@ function AtlasLoot:CreateOnDemandLootTable(type)
|
||||
for _, t in ipairs(data) do
|
||||
for _, itemData in pairs(t) do
|
||||
if itemData.itemID and not checkList[itemData.itemID] then
|
||||
itemData.dropLoc = {data.DisplayName or data.Name, t.Name}
|
||||
checkList[itemData.itemID] = true
|
||||
tinsert(itemList, {itemData})
|
||||
end
|
||||
@@ -665,6 +666,10 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource_backup, tablenum)
|
||||
end
|
||||
end
|
||||
|
||||
if dataSource_backup ~= "AtlasLootFilter" then
|
||||
self.dataSourceBackup = dataSource_backup
|
||||
end
|
||||
|
||||
-- Moves the difficulty scrollslider if the difficulty has changed
|
||||
if dataSource[dataID].Type and difType and #self.Difficultys[dataSource[dataID].Type] > 5 and findTypeNumber() > 5 then
|
||||
local min, max = AtlasLootDefaultFrameScrollScrollBar:GetMinMaxValues()
|
||||
@@ -822,12 +827,14 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource_backup, tablenum)
|
||||
end
|
||||
|
||||
itemButton.name = text
|
||||
|
||||
--Insert the item description
|
||||
if self.FixedItemText[dataSource[dataID][tablenum][i].itemID] then
|
||||
extra = self.FixedItemText[dataSource[dataID][tablenum][i].itemID]
|
||||
elseif dataSource[dataID][tablenum][i].desc then
|
||||
extra = dataSource[dataID][tablenum][i].desc
|
||||
elseif dataSource[dataID][tablenum][i].dropLoc and (self.dataSourceBackup == "AtlasLoot_OnDemand" or (self.db.profile.showdropLocationOnSearch and dataID == "SearchResult")) then
|
||||
local location, boss = dataSource[dataID][tablenum][i].dropLoc[1], dataSource[dataID][tablenum][i].dropLoc[2]
|
||||
extra = YELLOW..location..WHITE.." - "..boss
|
||||
elseif AtlasLoot_CraftingData["CraftingLevels"] and spellID and AtlasLoot_CraftingData["CraftingLevels"][spellID] and dataID ~= "SearchResult" then
|
||||
local lvls = AtlasLoot_CraftingData["CraftingLevels"][spellID]
|
||||
extra = LIMEGREEN .. "L-Click:|r "..WHITE..dataSource[dataID].Name.." ( "..ORANGE..lvls[1].."|r "..YELLOW..lvls[2].."|r "..GREEN..lvls[3].."|r "..GREY..lvls[4]..WHITE.." )"
|
||||
@@ -884,7 +891,7 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource_backup, tablenum)
|
||||
itemButton.itemTexture = iconFrame:GetTexture()
|
||||
|
||||
--Highlight items in the wishlist
|
||||
if itemID and dataSource_backup ~= "AtlasLoot_CurrentWishList" and AtlasLootWishList["Options"][UnitName("player")]["Mark"] == true then
|
||||
if itemID and dataSource_backup ~= "AtlasLoot_CurrentWishList" and (AtlasLootWishList["Options"][UnitName("player")] and AtlasLootWishList["Options"][UnitName("player")]["Mark"]) then
|
||||
local xitemexistwish, itemwishicons = self:WishListCheck(itemID, true)
|
||||
if xitemexistwish then
|
||||
text = itemwishicons.." "..text
|
||||
@@ -1107,7 +1114,7 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource_backup, tablenum)
|
||||
if self.filterEnable and dataID ~= "FilterList" then
|
||||
self:HideFilteredItems()
|
||||
end
|
||||
if dataID ~= "SearchResult" then
|
||||
if dataID ~= "SearchResult" and dataSource_backup ~= "AtlasLoot_OnDemand" then
|
||||
--preload items from the rest of the instance table
|
||||
self:PreLoadLootTable(dataSource, dataID, ItemindexID)
|
||||
end
|
||||
@@ -1248,14 +1255,16 @@ function AtlasLoot:PreLoadLootTable(dataSource, dataID, ItemindexID)
|
||||
if isLoaded[dataID] and isLoaded[dataID][ItemindexID] then return end
|
||||
for _, instance in ipairs(dataSource[dataID]) do
|
||||
for _, boss in pairs(instance) do
|
||||
local itemID = ItemIDsDatabase[boss.itemID] and ItemIDsDatabase[boss.itemID][ItemindexID] or boss.itemID
|
||||
if itemID then
|
||||
local item = Item:CreateFromID(itemID)
|
||||
if item and not item:GetInfo() then
|
||||
self:ItemsLoading(1)
|
||||
item:ContinueOnLoad(function(itemID)
|
||||
self:ItemsLoading(-1)
|
||||
end)
|
||||
if type(boss) == "table" then
|
||||
local itemID = ItemIDsDatabase[boss.itemID] and ItemIDsDatabase[boss.itemID][ItemindexID] or boss.itemID
|
||||
if itemID then
|
||||
local item = Item:CreateFromID(itemID)
|
||||
if item and not item:GetInfo() then
|
||||
self:ItemsLoading(1)
|
||||
item:ContinueOnLoad(function(itemID)
|
||||
self:ItemsLoading(-1)
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,402 +0,0 @@
|
||||
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
||||
local BabbleInventory = AtlasLoot_GetLocaleLibBabble("LibBabble-Inventory-3.0")
|
||||
|
||||
-- Colours stored for code readability
|
||||
local GREY = "|cff999999";
|
||||
local RED = "|cffff0000";
|
||||
local WHITE = "|cffFFFFFF";
|
||||
local GREEN = "|cff1eff00";
|
||||
local PURPLE = "|cff9F3FFF";
|
||||
local BLUE = "|cff0070dd";
|
||||
local ORANGE = "|cffFF8400";
|
||||
local INDENT = " ";
|
||||
|
||||
AtlasLoot_ExtraText = {
|
||||
AhnKahet = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
AzjolNerub = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
AuchAuchenaiCrypts = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
AuchManaTombs = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
AuchSethekkHalls = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
AuchShadowLabyrinth = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackfathomDeeps = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackrockDepths = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Set: The Gladiator"];
|
||||
};
|
||||
BlackrockSpireLower = {
|
||||
"";
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Dungeon 1/2 Sets"];
|
||||
};
|
||||
BlackrockSpireUpper = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Dungeon 1/2 Sets"];
|
||||
};
|
||||
BlackTempleStart = {
|
||||
"";
|
||||
GREY..INDENT..AL["BT Patterns/Plans"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackTempleBasement = {
|
||||
"";
|
||||
GREY..INDENT..AL["BT Patterns/Plans"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackTempleMiddle = {
|
||||
"";
|
||||
GREY..INDENT..AL["BT Patterns/Plans"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackTempleTop = {
|
||||
"";
|
||||
GREY..INDENT..AL["BT Patterns/Plans"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackTempleFull = {
|
||||
"";
|
||||
GREY..INDENT..AL["BT Patterns/Plans"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
BlackwingLair = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Tier 2 Sets"];
|
||||
};
|
||||
CFRTheSteamvault = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
|
||||
CFRSerpentshrineCavern = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
|
||||
CoTOldHillsbrad = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
CoTBlackMorass = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
CoTHyjal = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
CoTOldStratholme = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TheDeadmines = {
|
||||
"";
|
||||
GREY..INDENT..AL["Set: Defias Leather"];
|
||||
};
|
||||
DireMaulEast = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Dire Maul Books"];
|
||||
};
|
||||
DireMaulNorth = {
|
||||
"";
|
||||
GREY..INDENT..AL["Tribute Run"];
|
||||
GREY..INDENT..AL["Dire Maul Books"];
|
||||
};
|
||||
DireMaulWest = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Dire Maul Books"];
|
||||
};
|
||||
DrakTharonKeep = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
FHTheForgeOfSouls = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
FHPitOfSaron = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
FHHallsOfReflection = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
Gnomeregan = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
Gundrak = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
HCTheShatteredHalls = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
IcecrownStart = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
IcecrownCitadelA = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
IcecrownCitadelB = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
IcecrownCitadelC = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
Karazhan = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
KarazhanStart = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
KarazhanEnd = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
MagistersTerrace = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
MoltenCore = {
|
||||
"";
|
||||
GREY..INDENT..AL["Tier 1 Sets"];
|
||||
GREY..INDENT..AL["Random Boss Loot"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
Naxxramas = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Tier 7/8 Sets"];
|
||||
};
|
||||
RazorfenDowns = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
RazorfenKraul = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TempestKeepMechanar = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TempestKeepBotanica = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TempestKeepArcatraz = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TempestKeepTheEye = {
|
||||
"";
|
||||
GREY..INDENT..AL["Legendary Items for Kael'thas Fight"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TheOculus = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TheRuinsofAhnQiraj = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Class Books"];
|
||||
GREY..INDENT..AL["AQ Enchants"];
|
||||
GREY..INDENT..AL["AQ20 Class Sets"];
|
||||
};
|
||||
SMArmory = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Set: Chain of the Scarlet Crusade"];
|
||||
};
|
||||
SMCathedral = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Set: Chain of the Scarlet Crusade"];
|
||||
};
|
||||
SMGraveyard = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Set: Chain of the Scarlet Crusade"];
|
||||
};
|
||||
SMLibrary = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Set: Chain of the Scarlet Crusade"];
|
||||
};
|
||||
Scholomance = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Set: Necropile Raiment"];
|
||||
GREY..INDENT..AL["Set: Cadaverous Garb"];
|
||||
GREY..INDENT..AL["Set: Bloodmail Regalia"];
|
||||
GREY..INDENT..AL["Set: Deathbone Guardian"];
|
||||
};
|
||||
ShadowfangKeep = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TheStockade = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
Stratholme = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
SunwellPlateau = {
|
||||
"";
|
||||
GREY..INDENT..AL["SP Patterns/Plans"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TheSunkenTemple = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
TheTempleofAhnQiraj = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["AQ Enchants"];
|
||||
GREY..INDENT..AL["AQ40 Class Sets"];
|
||||
GREY..INDENT..AL["AQ Opening Quest Chain"];
|
||||
};
|
||||
TrialOfTheCrusader = {
|
||||
"";
|
||||
GREY..INDENT..AL["Tribute Run"];
|
||||
GREY..INDENT..AL["Trial of the Crusader Patterns/Plans"];
|
||||
};
|
||||
Uldaman = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
UlduarHallsofLightning = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
UlduarA = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Ulduar Formula/Patterns/Plans"];
|
||||
GREY..INDENT..AL["Tier 7/8 Sets"];
|
||||
};
|
||||
UlduarB = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Ulduar Formula/Patterns/Plans"];
|
||||
GREY..INDENT..AL["Tier 7/8 Sets"];
|
||||
};
|
||||
UlduarC = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Ulduar Formula/Patterns/Plans"];
|
||||
GREY..INDENT..AL["Tier 7/8 Sets"];
|
||||
};
|
||||
UlduarD = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Ulduar Formula/Patterns/Plans"];
|
||||
GREY..INDENT..AL["Tier 7/8 Sets"];
|
||||
};
|
||||
UlduarE = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Ulduar Formula/Patterns/Plans"];
|
||||
GREY..INDENT..AL["Tier 7/8 Sets"];
|
||||
};
|
||||
UlduarHallsofStone = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
UtgardeKeep = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
UtgardePinnacle = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
VioletHold = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
WailingCaverns = {
|
||||
"";
|
||||
GREY..INDENT..AL["Set: Embrace of the Viper"];
|
||||
};
|
||||
ZulAman = {
|
||||
"";
|
||||
GREY..INDENT..AL["Timed Reward Chest"];
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
"";
|
||||
};
|
||||
ZulFarrak = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
};
|
||||
ZulGurub = {
|
||||
"";
|
||||
GREY..INDENT..AL["Trash Mobs"];
|
||||
GREY..INDENT..AL["Random Boss Loot"];
|
||||
GREY..INDENT..AL["ZG Class Sets"];
|
||||
GREY..INDENT..AL["ZG Enchants"];
|
||||
};
|
||||
AlteracValleyNorth = {
|
||||
"";
|
||||
GREEN..AL["Misc. Rewards"];
|
||||
GREEN..BabbleInventory["Armor"];
|
||||
};
|
||||
AlteracValleySouth = {
|
||||
"";
|
||||
GREEN..AL["Misc. Rewards"];
|
||||
GREEN..BabbleInventory["Armor"];
|
||||
};
|
||||
ArathiBasin = {
|
||||
"";
|
||||
GREEN..AL["Misc. Rewards"];
|
||||
GREEN..AL["Level 40-49 Rewards"];
|
||||
GREEN..AL["Level 20-39 Rewards"];
|
||||
"";
|
||||
GREEN..AL["Arathi Basin Sets"];
|
||||
};
|
||||
WarsongGulch = {
|
||||
"";
|
||||
GREEN..AL["Misc. Rewards"];
|
||||
GREEN..AL["Accessories"];
|
||||
GREEN..AL["Weapons"];
|
||||
GREEN..BabbleInventory["Armor"];
|
||||
};
|
||||
};
|
||||
@@ -186,11 +186,7 @@ function AtlasLoot:FilterEnableButton(frame, btnclick)
|
||||
self:FilterMenuRegister()
|
||||
self.Dewdrop:Open(frame)
|
||||
end
|
||||
if AtlasLootFilterCheck:GetChecked() then
|
||||
AtlasLootFilterCheck:SetChecked(false)
|
||||
else
|
||||
AtlasLootFilterCheck:SetChecked(true)
|
||||
end
|
||||
AtlasLootFilterCheck:SetChecked(not AtlasLootFilterCheck:GetChecked())
|
||||
else
|
||||
if self.filterEnable then
|
||||
self.filterEnable = false
|
||||
|
||||
@@ -1,312 +0,0 @@
|
||||
ItemIDsDatabase = {};
|
||||
|
||||
--Items not added from generated file
|
||||
ItemIDsDatabase[18563] = { 18563, 18563, 318563, 218563 };
|
||||
ItemIDsDatabase[18564] = { 18564, 18564, 318564, 218564 };
|
||||
ItemIDsDatabase[17204] = { 17204, 17204, 317204, 217204 };
|
||||
ItemIDsDatabase[19017] = { 19017, 19017, 319017, 219017 };
|
||||
ItemIDsDatabase[11879] = { 11879, 11879, 311879, 211879 };
|
||||
|
||||
|
||||
ItemIDsDatabase[22589] = { 6022589, 22589, 322589, 222589 };
|
||||
ItemIDsDatabase[22632] = { 6022632, 22632, 322632, 222632 };
|
||||
ItemIDsDatabase[22631] = { 6022631, 22631, 322631, 222631 };
|
||||
ItemIDsDatabase[22630] = { 6022630, 22630, 322630, 222630 };
|
||||
|
||||
ItemIDsDatabase[2032902] = { 6053891, 2032902, 2232902, 2332902 };
|
||||
ItemIDsDatabase[44831] = { 6044831, 44831, 344831, 244831 };
|
||||
ItemIDsDatabase[27896] = { 6027896, 27896, 27896, 427896 };
|
||||
|
||||
ItemIDsDatabase[30007] = { 6030007, 30007, 330007, 230007 };
|
||||
ItemIDsDatabase[30015] = { 6030015, 30015, 330015, 230015 };
|
||||
ItemIDsDatabase[30017] = { 6030017, 30017, 330017, 230017 };
|
||||
ItemIDsDatabase[30018] = { 6030018, 30018, 330018, 230018 };
|
||||
ItemIDsDatabase[32837] = { 6032837, 32837, 332837, 232837 };
|
||||
ItemIDsDatabase[32838] = { 6032838, 32838, 332838, 232838 };
|
||||
ItemIDsDatabase[30104] = { 6033482, 30104, 330104, 230104 };
|
||||
|
||||
--MC/Ony Items
|
||||
|
||||
ItemIDsDatabase[18216] = { 6018216, 18216, 318216, 218216 };
|
||||
ItemIDsDatabase[18215] = { 6018215, 18215, 318215, 218215 };
|
||||
ItemIDsDatabase[18211] = { 6018211, 18211, 318211, 218211 };
|
||||
ItemIDsDatabase[17084] = { 6017084, 17084, 317084, 217084 };
|
||||
ItemIDsDatabase[18212] = { 6018212, 18212, 318212, 218212 };
|
||||
ItemIDsDatabase[17083] = { 6017083, 17083, 317083, 217083 };
|
||||
|
||||
--Bwl Items
|
||||
ItemIDsDatabase[1506015] = { 7506015, 1506015, 1806015, MythicRaid = 2806015, 1706015 };
|
||||
ItemIDsDatabase[1506014] = { 7506014, 1506014, 1806014, MythicRaid = 2806014, 1706014 };
|
||||
|
||||
|
||||
--T2 missing sets
|
||||
ItemIDsDatabase[1516900] = { 7516900, 1516900, 1816900, MythicRaid = 2816900, 1716900 };
|
||||
ItemIDsDatabase[1516902] = { 7516902, 1516902, 1816902, MythicRaid = 2816902, 1716902 };
|
||||
ItemIDsDatabase[1516897] = { 7516897, 1516897, 1816897, MythicRaid = 2816897, 1716897 };
|
||||
ItemIDsDatabase[1516904] = { 7516904, 1516904, 1816904, MythicRaid = 2816904, 1716904 };
|
||||
ItemIDsDatabase[1516904] = { 7516904, 1516904, 1816904, MythicRaid = 2816904, 1716904 };
|
||||
ItemIDsDatabase[1516899] = { 7516899, 1516899, 1816899, MythicRaid = 2816899, 1716899 };
|
||||
ItemIDsDatabase[1516903] = { 7516903, 1516903, 1816903, MythicRaid = 2816903, 1716903 };
|
||||
ItemIDsDatabase[1516898] = { 7516898, 1516898, 1816898, MythicRaid = 2816898, 1716898 };
|
||||
|
||||
ItemIDsDatabase[1516892] = { 7516892, 1516892, 1816892, MythicRaid = 2816892, 1716892 };
|
||||
ItemIDsDatabase[1516894] = { 7516894, 1516894, 1816894, MythicRaid = 2816894, 1716894 };
|
||||
ItemIDsDatabase[1516889] = { 7516889, 1516889, 1816889, MythicRaid = 2816889, 1716889 };
|
||||
ItemIDsDatabase[1516896] = { 7516896, 1516896, 1816896, MythicRaid = 2816896, 1716896 };
|
||||
ItemIDsDatabase[1516891] = { 7516891, 1516891, 1816891, MythicRaid = 2816891, 1716891 };
|
||||
ItemIDsDatabase[1516895] = { 7516895, 1516895, 1816895, MythicRaid = 2816895, 1716895 };
|
||||
ItemIDsDatabase[1516893] = { 7516893, 1516893, 1816893, MythicRaid = 2816893, 1716893 };
|
||||
ItemIDsDatabase[1516890] = { 7516890, 1516890, 1816890, MythicRaid = 2816890, 1716890 };
|
||||
|
||||
ItemIDsDatabase[1516955] = { 7516955, 1516955, 1816955, MythicRaid = 2816955, 1716955 };
|
||||
ItemIDsDatabase[1516953] = { 7516953, 1516953, 1816953, MythicRaid = 2816953, 1716953 };
|
||||
ItemIDsDatabase[1516958] = { 7516958, 1516958, 1816958, MythicRaid = 2816958, 1716958 };
|
||||
ItemIDsDatabase[1516951] = { 7516951, 1516951, 1816951, MythicRaid = 2816951, 1716951 };
|
||||
ItemIDsDatabase[1516956] = { 7516956, 1516956, 1816956, MythicRaid = 2816956, 1716956 };
|
||||
ItemIDsDatabase[1516952] = { 7516952, 1516952, 1816952, MythicRaid = 2816952, 1716952 };
|
||||
ItemIDsDatabase[1516954] = { 7516954, 1516954, 1816954, MythicRaid = 2816954, 1716954 };
|
||||
ItemIDsDatabase[1516957] = { 7516957, 1516957, 1816957, MythicRaid = 2816957, 1716957 };
|
||||
|
||||
ItemIDsDatabase[1516921] = { 7516921, 1516921, 1816921, MythicRaid = 2816921, 1716921 };
|
||||
ItemIDsDatabase[1516924] = { 7516924, 1516924, 1816924, MythicRaid = 2816924, 1716924 };
|
||||
ItemIDsDatabase[1516923] = { 7516923, 1516923, 1816923, MythicRaid = 2816923, 1716923 };
|
||||
ItemIDsDatabase[1516926] = { 7516926, 1516926, 1816926, MythicRaid = 2816926, 1716926 };
|
||||
ItemIDsDatabase[1516920] = { 7516920, 1516920, 1816920, MythicRaid = 2816920, 1716920 };
|
||||
ItemIDsDatabase[1516925] = { 7516925, 1516925, 1816925, MythicRaid = 2816925, 1716925 };
|
||||
ItemIDsDatabase[1516922] = { 7516922, 1516922, 1816922, MythicRaid = 2816922, 1716922 };
|
||||
ItemIDsDatabase[1516919] = { 7516919, 1516919, 1816919, MythicRaid = 2816919, 1716919 };
|
||||
|
||||
ItemIDsDatabase[1516947] = { 7516947, 1516947, 1816947, MythicRaid = 2816947, 1716947 };
|
||||
ItemIDsDatabase[1516945] = { 7516945, 1516945, 1816945, MythicRaid = 2816945, 1716945 };
|
||||
ItemIDsDatabase[1516950] = { 7516950, 1516950, 1816950, MythicRaid = 2816950, 1716950 };
|
||||
ItemIDsDatabase[1516943] = { 7516943, 1516943, 1816943, MythicRaid = 2816943, 1716943 };
|
||||
ItemIDsDatabase[1516948] = { 7516948, 1516948, 1816948, MythicRaid = 2816948, 1716948 };
|
||||
ItemIDsDatabase[1516944] = { 7516944, 1516944, 1816944, MythicRaid = 2816944, 1716944 };
|
||||
ItemIDsDatabase[1516946] = { 7516946, 1516946, 1816946, MythicRaid = 2816946, 1716946 };
|
||||
ItemIDsDatabase[1516949] = { 7516949, 1516949, 1816949, MythicRaid = 2816949, 1716949 };
|
||||
|
||||
ItemIDsDatabase[1516963] = { 7516963, 1516963, 1816963, MythicRaid = 2816963, 1716963 };
|
||||
ItemIDsDatabase[1516961] = { 7516961, 1516961, 1816961, MythicRaid = 2816961, 1716961 };
|
||||
ItemIDsDatabase[1516966] = { 7516966, 1516966, 1816966, MythicRaid = 2816966, 1716966 };
|
||||
ItemIDsDatabase[1516959] = { 7516959, 1516959, 1816959, MythicRaid = 2816959, 1716959 };
|
||||
ItemIDsDatabase[1516964] = { 7516964, 1516964, 1816964, MythicRaid = 2816964, 1716964 };
|
||||
ItemIDsDatabase[1516960] = { 7516960, 1516960, 1816960, MythicRaid = 2816960, 1716960 };
|
||||
ItemIDsDatabase[1516962] = { 7516962, 1516962, 1816962, MythicRaid = 2816962, 1716962 };
|
||||
ItemIDsDatabase[1516965] = { 7516965, 1516965, 1816965, MythicRaid = 2816965, 1716965 };
|
||||
|
||||
--Tier 1 Tokens
|
||||
|
||||
ItemIDsDatabase[2522360] = { 2522360, 2522360, 2622360, 2722360, MythicRaid = 3722360 };
|
||||
ItemIDsDatabase[2522361] = { 2522361, 2522361, 2622361, 2722361, MythicRaid = 3722361 };
|
||||
ItemIDsDatabase[2522350] = { 2522350, 2522350, 2622350, 2722350, MythicRaid = 3722350 };
|
||||
ItemIDsDatabase[2522362] = { 2522362, 2522362, 2622362, 2722362, MythicRaid = 3722362 };
|
||||
ItemIDsDatabase[2522363] = { 2522363, 2522363, 2622363, 2722363, MythicRaid = 3722363 };
|
||||
ItemIDsDatabase[2522364] = { 2522364, 2522364, 2622364, 2722364, MythicRaid = 3722364 };
|
||||
ItemIDsDatabase[2522359] = { 2522359, 2522359, 2622359, 2722359, MythicRaid = 3722359 };
|
||||
ItemIDsDatabase[2522365] = { 2522365, 2522365, 2622365, 2722365, MythicRaid = 3722365 };
|
||||
|
||||
--Tier 1 New Sets
|
||||
ItemIDsDatabase[11533] = { 6011533, 11533, 311533, 211533 };
|
||||
ItemIDsDatabase[11534] = { 6011534, 11534, 311534, 211534 };
|
||||
ItemIDsDatabase[11535] = { 6011535, 11535, 311535, 211535 };
|
||||
ItemIDsDatabase[11536] = { 6011536, 11536, 311536, 211536 };
|
||||
ItemIDsDatabase[11537] = { 6011537, 11537, 311537, 211537 };
|
||||
ItemIDsDatabase[11538] = { 6011538, 11538, 311538, 211538 };
|
||||
ItemIDsDatabase[11531] = { 6011531, 11531, 311531, 211531 };
|
||||
ItemIDsDatabase[11532] = { 6011532, 11532, 311532, 211532 };
|
||||
|
||||
ItemIDsDatabase[11789] = { 6011789, 11789, 311789, 211789 };
|
||||
ItemIDsDatabase[11790] = { 6011790, 11790, 311790, 211790 };
|
||||
ItemIDsDatabase[11791] = { 6011791, 11791, 311791, 211791 };
|
||||
ItemIDsDatabase[11792] = { 6011792, 11792, 311792, 211792 };
|
||||
ItemIDsDatabase[11793] = { 6011793, 11793, 311793, 211793 };
|
||||
ItemIDsDatabase[11794] = { 6011794, 11794, 311794, 211794 };
|
||||
ItemIDsDatabase[11795] = { 6011795, 11795, 311795, 211795 };
|
||||
ItemIDsDatabase[11796] = { 6011796, 11796, 311796, 211796 };
|
||||
|
||||
ItemIDsDatabase[13432] = { 6013432, 13432, 313432, 213432 };
|
||||
ItemIDsDatabase[13433] = { 6013433, 13433, 313433, 213433 };
|
||||
ItemIDsDatabase[13434] = { 6013434, 13434, 313434, 213434 };
|
||||
ItemIDsDatabase[13435] = { 6013435, 13435, 313435, 213435 };
|
||||
ItemIDsDatabase[13436] = { 6013436, 13436, 313436, 213436 };
|
||||
ItemIDsDatabase[13437] = { 6013437, 13437, 313437, 213437 };
|
||||
ItemIDsDatabase[13438] = { 6013438, 13438, 313438, 213438 };
|
||||
ItemIDsDatabase[13439] = { 6013439, 13439, 313439, 213439 };
|
||||
|
||||
|
||||
--Tier 2 Tokens
|
||||
|
||||
ItemIDsDatabase[2522460] = { 2522460, 2522460, 2622460, 2722460, MythicRaid = 3722460 };
|
||||
ItemIDsDatabase[2522461] = { 2522461, 2522461, 2622461, 2722461, MythicRaid = 3722461 };
|
||||
ItemIDsDatabase[2522450] = { 2522450, 2522450, 2622450, 2722450, MythicRaid = 3722450 };
|
||||
ItemIDsDatabase[2522462] = { 2522462, 2522462, 2622462, 2722462, MythicRaid = 3722462 };
|
||||
ItemIDsDatabase[2522464] = { 2522464, 2522464, 2622464, 2722464, MythicRaid = 3722464 };
|
||||
ItemIDsDatabase[2522463] = { 2522463, 2522463, 2622463, 2722463, MythicRaid = 3722463 };
|
||||
ItemIDsDatabase[2522459] = { 2522459, 2522459, 2622459, 2722459, MythicRaid = 3722459 };
|
||||
ItemIDsDatabase[2522465] = { 2522465, 2522465, 2622465, 2722465, MythicRaid = 3722465 };
|
||||
|
||||
--Tier 2.5 Accessories
|
||||
ItemIDsDatabase[1506053] = { 1506053, 1506053, 1806053, 1706053, MythicRaid = 2806053 }; --Ceremonial Qiraji Pendant
|
||||
ItemIDsDatabase[1506052] = { 1506052, 1506052, 1806052, 1706052, MythicRaid = 2806052 }; --Ceremonial Qiraji Ring
|
||||
ItemIDsDatabase[1506051] = { 1506051, 1506051, 1806051, 1706051, MythicRaid = 2806051 }; --Ceremonial Qiraji Drape
|
||||
|
||||
--AQR New Sets
|
||||
--Heroic = Normal + 300'000
|
||||
--Mythic = Normal + 1'300'000
|
||||
--Ascended = Normal + 200'000
|
||||
--Bloodforged = Normal + 6'000'000
|
||||
--Heroic Bloodforged = Normal + 6'300'000
|
||||
ItemIDsDatabase[1506017] = { 7506017, 1506017, 1806017, 1706017, MythicRaid = 2806017 }; --Locket of Unending Life
|
||||
ItemIDsDatabase[1506018] = { 7506018, 1506018, 1806018, 1706018, MythicRaid = 2806018 }; --Choker of the Unseen Path
|
||||
ItemIDsDatabase[1506019] = { 7506019, 1506019, 1806019, 1706019, MythicRaid = 2806019 }; --Pendant of Roaring Earth
|
||||
ItemIDsDatabase[1506020] = { 7506020, 1506020, 1806020, 1706020, MythicRaid = 2806020 }; --Medallion of Eternal Justice
|
||||
ItemIDsDatabase[1506021] = { 7506021, 1506021, 1806021, 1706021, MythicRaid = 2806021 }; --Charm of Vaulted Secrets
|
||||
ItemIDsDatabase[1506022] = { 7506022, 1506022, 1806022, 1706022, MythicRaid = 2806022 }; --Lariat of Veiled Shadows
|
||||
ItemIDsDatabase[1506023] = { 7506023, 1506023, 1806023, 1706023, MythicRaid = 2806023 }; --Bayadere of Infinite Wisdom
|
||||
ItemIDsDatabase[1506024] = { 7506024, 1506024, 1806024, 1706024, MythicRaid = 2806024 }; --Necklace of the Gathering Storm
|
||||
ItemIDsDatabase[1506025] = { 7506025, 1506025, 1806025, 1706025, MythicRaid = 2806025 }; --Collar of Unyielding Strength
|
||||
ItemIDsDatabase[1506026] = { 7506026, 1506026, 1806026, 1706026, MythicRaid = 2806026 }; --Bayadere of Unspoken Names
|
||||
ItemIDsDatabase[1506027] = { 7506027, 1506027, 1806027, 1706027, MythicRaid = 2806027 }; --Choker of Endless Machinations
|
||||
ItemIDsDatabase[1506028] = { 7506028, 1506028, 1806028, 1706028, MythicRaid = 2806028 }; --Shroud of Endless Machinations
|
||||
ItemIDsDatabase[1506029] = { 7506029, 1506029, 1806029, 1706029, MythicRaid = 2806029 }; --Loop of Endless Machinations
|
||||
ItemIDsDatabase[1506030] = { 7506030, 1506030, 1806030, 1706030, MythicRaid = 2806030 }; --Signet of Roaring Earth
|
||||
ItemIDsDatabase[1506031] = { 7506031, 1506031, 1806031, 1706031, MythicRaid = 2806031 }; --Drape of Roaring Earth
|
||||
ItemIDsDatabase[1506032] = { 7506032, 1506032, 1806032, 1706032, MythicRaid = 2806032 }; --Signet of Ferocious Vigor
|
||||
ItemIDsDatabase[1506033] = { 7506033, 1506033, 1806033, 1706033, MythicRaid = 2806033 }; --Cape of Ferocious Vigor
|
||||
ItemIDsDatabase[1506034] = { 7506034, 1506034, 1806034, 1706034, MythicRaid = 2806034 }; --Choker of Ferocious Vigor
|
||||
ItemIDsDatabase[1506035] = { 7506035, 1506035, 1806035, 1706035, MythicRaid = 2806035 }; --Band of the Faithful Zealot
|
||||
ItemIDsDatabase[1506036] = { 7506036, 1506036, 1806036, 1706036, MythicRaid = 2806036 }; --Shroud of the Faithful Zealot
|
||||
ItemIDsDatabase[1506037] = { 7506037, 1506037, 1806037, 1706037, MythicRaid = 2806037 }; --Locket of the Faithful Zealot
|
||||
ItemIDsDatabase[1506038] = { 7506038, 1506038, 1806038, 1706038, MythicRaid = 2806038 }; --Band of Masterful Technique
|
||||
ItemIDsDatabase[1506039] = { 7506039, 1506039, 1806039, 1706039, MythicRaid = 2806039 }; --Drape of Masterful Technique
|
||||
ItemIDsDatabase[1506040] = { 7506040, 1506040, 1806040, 1706040, MythicRaid = 2806040 }; --Locket of Masterful Technique
|
||||
ItemIDsDatabase[1506041] = { 7506041, 1506041, 1806041, 1706041, MythicRaid = 2806041 }; --Ring of Martial Prowess
|
||||
ItemIDsDatabase[1506042] = { 7506042, 1506042, 1806042, 1706042, MythicRaid = 2806042 }; --Cloak of Martial Prowess
|
||||
ItemIDsDatabase[1506043] = { 7506043, 1506043, 1806043, 1706043, MythicRaid = 2806043 }; --Lariat of Martial Prowess
|
||||
ItemIDsDatabase[1506044] = { 7506044, 1506044, 1806044, 1706044, MythicRaid = 2806044 }; --Signet of Unrivaled Rage
|
||||
ItemIDsDatabase[1506045] = { 7506045, 1506045, 1806045, 1706045, MythicRaid = 2806045 }; --Cloak of Unrivaled Rage
|
||||
ItemIDsDatabase[1506046] = { 7506046, 1506046, 1806046, 1706046, MythicRaid = 2806046 }; --Collar of Unrivaled Rage
|
||||
ItemIDsDatabase[1506047] = { 7506047, 1506047, 1806047, 1706047, MythicRaid = 2806047 }; --Loop of Expansive Research
|
||||
ItemIDsDatabase[1506048] = { 7506048, 1506048, 1806048, 1706048, MythicRaid = 2806048 }; --Drape of Expansive Research
|
||||
ItemIDsDatabase[1506049] = { 7506049, 1506049, 1806049, 1706049, MythicRaid = 2806049 }; --Bayadere of Expansive Research
|
||||
|
||||
|
||||
--Tier 2.5 New Sets
|
||||
--Heroic = Normal + 300'000
|
||||
--Mythic = Normal + 1'300'000
|
||||
--Ascended = Normal + 200'000
|
||||
--Bloodforged = Normal + 6'000'000
|
||||
--Heroic Bloodforged = Normal + 6'300'000
|
||||
ItemIDsDatabase[1507000] = { 7507000, 1507000, 1807000, 1707000, MythicRaid = 2807000 };-- Conqueror's Tusks
|
||||
ItemIDsDatabase[1507001] = { 7507001, 1507001, 1807001, 1707001, MythicRaid = 2807001 };-- Conqueror's Shoulderplates
|
||||
ItemIDsDatabase[1507002] = { 7507002, 1507002, 1807002, 1707002, MythicRaid = 2807002 };-- Conqueror's Carapace
|
||||
ItemIDsDatabase[1507003] = { 7507003, 1507003, 1807003, 1707003, MythicRaid = 2807003 };-- Conqueror's Tassets
|
||||
ItemIDsDatabase[1507004] = { 7507004, 1507004, 1807004, 1707004, MythicRaid = 2807004 };-- Conqueror's Advance
|
||||
|
||||
ItemIDsDatabase[1507015] = { 7507015, 1507015, 1807015, 1707015, MythicRaid = 2807015 };-- Stormcaller's Crown
|
||||
ItemIDsDatabase[1507016] = { 7507016, 1507016, 1807016, 1707016, MythicRaid = 2807016 };-- Stormcaller's Stompers
|
||||
ItemIDsDatabase[1507017] = { 7507017, 1507017, 1807017, 1707017, MythicRaid = 2807017 };-- Stormcaller's Chestguard
|
||||
ItemIDsDatabase[1507018] = { 7507018, 1507018, 1807018, 1707018, MythicRaid = 2807018 };-- Stormcaller's Greaves
|
||||
ItemIDsDatabase[1507019] = { 7507019, 1507019, 1807019, 1707019, MythicRaid = 2807019 };-- Stormcaller's Epaulets
|
||||
|
||||
ItemIDsDatabase[1507020] = { 7507020, 1507020, 1807020, 1707020, MythicRaid = 2807020 };-- Genesis Visor
|
||||
ItemIDsDatabase[1507021] = { 7507021, 1507021, 1807021, 1707021, MythicRaid = 2807021 };-- Genesis Pauldrons
|
||||
ItemIDsDatabase[1507022] = { 7507022, 1507022, 1807022, 1707022, MythicRaid = 2807022 };-- Genesis Footwraps
|
||||
ItemIDsDatabase[1507023] = { 7507023, 1507023, 1807023, 1707023, MythicRaid = 2807023 };-- Genesis Legguards
|
||||
ItemIDsDatabase[1507024] = { 7507024, 1507024, 1807024, 1707024, MythicRaid = 2807024 };-- Genesis Garb
|
||||
|
||||
ItemIDsDatabase[1507025] = { 7507025, 1507025, 1807025, 1707025, MythicRaid = 2807025 };-- Genesis Mask
|
||||
ItemIDsDatabase[1507026] = { 7507026, 1507026, 1807026, 1707026, MythicRaid = 2807026 };-- Genesis Shoulderpads
|
||||
ItemIDsDatabase[1507027] = { 7507027, 1507027, 1807027, 1707027, MythicRaid = 2807027 };-- Genesis Treads
|
||||
ItemIDsDatabase[1507028] = { 7507028, 1507028, 1807028, 1707028, MythicRaid = 2807028 };-- Genesis Pants
|
||||
ItemIDsDatabase[1507029] = { 7507029, 1507029, 1807029, 1707029, MythicRaid = 2807029 };-- Genesis Carapace
|
||||
|
||||
ItemIDsDatabase[1507030] = { 7507030, 1507030, 1807030, 1707030, MythicRaid = 2807030 };-- Avenger's Carapace
|
||||
ItemIDsDatabase[1507031] = { 7507031, 1507031, 1807031, 1707031, MythicRaid = 2807031 };-- Avenger's Laurels
|
||||
ItemIDsDatabase[1507032] = { 7507032, 1507032, 1807032, 1707032, MythicRaid = 2807032 };-- Avenger's Sabatons
|
||||
ItemIDsDatabase[1507033] = { 7507033, 1507033, 1807033, 1707033, MythicRaid = 2807033 };-- Avenger's Legplates
|
||||
ItemIDsDatabase[1507034] = { 7507034, 1507034, 1807034, 1707034, MythicRaid = 2807034 };-- Avenger's Shoulderguards
|
||||
|
||||
|
||||
|
||||
--Tier 3 Tokens
|
||||
|
||||
ItemIDsDatabase[22353] = { 22353, 22353, 102278, 222353 };
|
||||
ItemIDsDatabase[22354] = { 22354, 22354, 102286, 222354 };
|
||||
ItemIDsDatabase[22349] = { 22349, 22349, 102264, 222349 };
|
||||
ItemIDsDatabase[22355] = { 22355, 22355, 102262, 222355 };
|
||||
ItemIDsDatabase[22357] = { 22357, 22357, 102268, 222357 };
|
||||
ItemIDsDatabase[22356] = { 22356, 22356, 102300, 222356 };
|
||||
ItemIDsDatabase[22352] = { 22352, 22352, 102284, 222352 };
|
||||
ItemIDsDatabase[22358] = { 22358, 22358, 102290, 222358 };
|
||||
|
||||
--Tier 4 Tokens
|
||||
|
||||
ItemIDsDatabase[29761] = { 29761, 29761, 329761, 229761 };
|
||||
ItemIDsDatabase[29764] = { 29764, 29764, 329764, 229764 };
|
||||
ItemIDsDatabase[29753] = { 29753, 29753, 329753, 229753 };
|
||||
ItemIDsDatabase[29758] = { 29758, 29758, 329758, 229758 };
|
||||
ItemIDsDatabase[29767] = { 29767, 29767, 329767, 229767 };
|
||||
|
||||
--Tier 5 Tokens
|
||||
|
||||
ItemIDsDatabase[30243] = { 30243, 30243, 330243, 230243 };
|
||||
ItemIDsDatabase[30249] = { 30249, 30249, 330249, 230249 };
|
||||
ItemIDsDatabase[30237] = { 30237, 30237, 330237, 230237 };
|
||||
ItemIDsDatabase[30240] = { 30240, 30240, 330240, 230240 };
|
||||
ItemIDsDatabase[30246] = { 30246, 30246, 330246, 230246 };
|
||||
|
||||
--Druid
|
||||
|
||||
ItemIDsDatabase[29098] = { 6029098, 29098, 314712, 214712 };
|
||||
ItemIDsDatabase[29100] = { 6029100, 29100, 314714, 214714 };
|
||||
ItemIDsDatabase[29096] = { 6029096, 29096, 314710, 214710 };
|
||||
ItemIDsDatabase[29097] = { 6029097, 29097, 314711, 214711 };
|
||||
ItemIDsDatabase[29099] = { 6029099, 29099, 314713, 214713 };
|
||||
|
||||
--ZA New Items
|
||||
ItemIDsDatabase[21824] = { 6021824, 21824, 321824, 221824 };
|
||||
ItemIDsDatabase[24574] = { 6024574, 24574, 324574, 224574 };
|
||||
ItemIDsDatabase[28354] = { 6028354, 28354, 328354, 228354 };
|
||||
ItemIDsDatabase[33059] = { 6033059, 33059, 333059, 233059 };
|
||||
ItemIDsDatabase[33983] = { 6033983, 33983, 333983, 233983 };
|
||||
ItemIDsDatabase[39755] = { 6039755, 39755, 339755, 239755 };
|
||||
ItemIDsDatabase[33533] = { 6033533, 33533, 333533, 233533 };
|
||||
ItemIDsDatabase[33979] = { 6033979, 33979, 333979, 233979 };
|
||||
ItemIDsDatabase[34071] = { 6034071, 34071, 334071, 234071 };
|
||||
ItemIDsDatabase[38634] = { 6038634, 38634, 338634, 238634 };
|
||||
ItemIDsDatabase[33500] = { 6033500, 33500, 333500, 233500 };
|
||||
ItemIDsDatabase[33496] = { 6033496, 33496, 333496, 233496 };
|
||||
ItemIDsDatabase[33498] = { 6033498, 33498, 333498, 233498 };
|
||||
ItemIDsDatabase[33971] = { 6033971, 33971, 333971, 233971 };
|
||||
ItemIDsDatabase[33495] = { 6033495, 33495, 333495, 233495 };
|
||||
ItemIDsDatabase[33480] = { 6033480, 33480, 333480, 233480 };
|
||||
ItemIDsDatabase[33591] = { 6033591, 33591, 333591, 233591 };
|
||||
ItemIDsDatabase[33590] = { 6033590, 33590, 333590, 233590 };
|
||||
ItemIDsDatabase[33481] = { 6033481, 33481, 333481, 233481 };
|
||||
ItemIDsDatabase[33492] = { 6033492, 33492, 333492, 233492 };
|
||||
ItemIDsDatabase[33499] = { 6033499, 33499, 333499, 233499 };
|
||||
ItemIDsDatabase[33805] = { 6033805, 33805, 333805, 233805 };
|
||||
ItemIDsDatabase[33491] = { 6033491, 33491, 333491, 233491 };
|
||||
ItemIDsDatabase[33490] = { 6033490, 33490, 333490, 233490 };
|
||||
ItemIDsDatabase[33489] = { 6033489, 33489, 333489, 233489 };
|
||||
ItemIDsDatabase[33483] = { 6033483, 33483, 333483, 233483 };
|
||||
ItemIDsDatabase[33493] = { 6033493, 33493, 333493, 233493 };
|
||||
ItemIDsDatabase[33497] = { 6033497, 33497, 333497, 233497 };
|
||||
ItemIDsDatabase[33494] = { 6033494, 33494, 333494, 233494 };
|
||||
ItemIDsDatabase[24537] = { 6024537, 24537, 324537, 224537 };
|
||||
--ZA Bears
|
||||
ItemIDsDatabase[1333809] = { 1333809, 1333809, 1433809, 1233809 };
|
||||
|
||||
--intact vial of kael'thas sunstrider
|
||||
ItemIDsDatabase[450001] = { 450001, 450001, 450003, 450005, MythicRaid = 1450003 };
|
||||
ItemIDsDatabase[450000] = { 450000, 450000, 450002, 450004, MythicRaid = 1450002 };
|
||||
|
||||
ItemIDsDatabase[1001620] = { 1001620, 1001620, 1001619, 1001622, MythicRaid = 1001621 };
|
||||
ItemIDsDatabase[98570] = { 98570, 98570, 98570, 98570, MythicRaid = 98570 };
|
||||
|
||||
for _, v in pairs(ItemIDsDatabase) do
|
||||
if not v["MythicRaid"] then
|
||||
v["MythicRaid"] = tonumber("13"..v[2]);
|
||||
end
|
||||
end
|
||||
@@ -36,6 +36,7 @@ function AtlasLoot:OptionsInit()
|
||||
AtlasLootOptionsFrameLootBrowserScale:SetValue(self.db.profile.LootBrowserScale)
|
||||
AtlasLootOptionsMinimapIcon:SetChecked(self.db.profile.minimap.hide)
|
||||
AtlasLootOptionsFrameCraftingInfo:SetChecked(self.db.profile.recipeExtraInfoSwitch)
|
||||
AtlasLootOptionsFrameDropLocation:SetChecked(self.db.profile.showdropLocationOnSearch)
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -170,6 +171,7 @@ end
|
||||
|
||||
function AtlasLoot:OptionsOnShow()
|
||||
AtlasLoot_SelectLootBrowserStyle_Label:SetText(AL["Change AtlasLoot Skin:"])
|
||||
if InterfaceOptionsFrame:GetWidth() < 850 then InterfaceOptionsFrame:SetWidth(850) end
|
||||
UIDropDownMenu_Initialize(AtlasLoot_SelectLootBrowserStyle, selectLootBrowserStyle_Initialize)
|
||||
UIDropDownMenu_SetSelectedID(AtlasLoot_SelectLootBrowserStyle, self.db.profile.LootBrowserStyle)
|
||||
UIDropDownMenu_SetWidth(AtlasLoot_SelectLootBrowserStyle, 150)
|
||||
@@ -223,9 +225,14 @@ local autoInstance = CreateFrame("CheckButton", "AtlasLootOptionsFrameAutoInstan
|
||||
|
||||
local craftingInfo = CreateFrame("CheckButton", "AtlasLootOptionsFrameCraftingInfo", AtlasLootOptionsFrame, "OptionsCheckButtonTemplate")
|
||||
craftingInfo:SetPoint("TOPLEFT",5,-100)
|
||||
AtlasLootOptionsFrameCraftingInfoText:SetText(AL["Only show crafting source while colding CTRL"])
|
||||
AtlasLootOptionsFrameCraftingInfoText:SetText(AL["Hide crafting source unless holding CTRL"])
|
||||
craftingInfo:SetScript("OnClick", function() self.db.profile.recipeExtraInfoSwitch = not self.db.profile.recipeExtraInfoSwitch end)
|
||||
|
||||
local craftingInfo = CreateFrame("CheckButton", "AtlasLootOptionsFrameDropLocation", AtlasLootOptionsFrame, "OptionsCheckButtonTemplate")
|
||||
craftingInfo:SetPoint("TOPLEFT",5,-130)
|
||||
AtlasLootOptionsFrameDropLocationText:SetText(AL["Show drop location on search results"])
|
||||
craftingInfo:SetScript("OnClick", function() self.db.profile.showdropLocationOnSearch = not self.db.profile.showdropLocationOnSearch end)
|
||||
|
||||
local itemid = CreateFrame("CheckButton", "AtlasLootOptionsFrameItemID", AtlasLootOptionsFrame, "OptionsCheckButtonTemplate")
|
||||
itemid:SetPoint("TOP",5,-70)
|
||||
AtlasLootOptionsFrameItemIDText:SetText(AL["Show itemIDs at all times"])
|
||||
|
||||
@@ -680,14 +680,19 @@ function AtlasLoot:DoSearch(searchText)
|
||||
if self.db.profile.SearchOn.All or self.db.profile.SearchOn[data.Module] or (self.db.profile.SearchAscensionVanity and data.Module == "AtlasLoot_Ascension_Vanity") then
|
||||
for tableNum, t in ipairs(data) do
|
||||
for _, itemData in pairs(t) do
|
||||
if itemData.itemID or itemData.spellID then
|
||||
if data.Type then
|
||||
itemData.Type = data.Type
|
||||
if not itemData[self.Difficultys.MAX_DIF] then
|
||||
itemData[self.Difficultys.MAX_DIF] = #self.Difficultys[data.Type]
|
||||
if type(itemData) == "table" then
|
||||
if itemData.itemID or itemData.spellID then
|
||||
if data.Type then
|
||||
itemData.Type = data.Type
|
||||
if not itemData[self.Difficultys.MAX_DIF] then
|
||||
itemData[self.Difficultys.MAX_DIF] = #self.Difficultys[data.Type]
|
||||
end
|
||||
end
|
||||
if self.db.profile.showdropLocationOnSearch then
|
||||
itemData.dropLoc = {data.DisplayName or data.Name, t.Name}
|
||||
end
|
||||
tinsert(itemList, {{itemData, dataID, tableNum, searchTerms, searchText}})
|
||||
end
|
||||
tinsert(itemList, {{itemData, dataID, tableNum, searchTerms, searchText}})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9,6 +9,7 @@ local BLUE = "|cff0070dd"
|
||||
local ORANGE = "|cffFF8400"
|
||||
local CYAN = "|cff00ffff"
|
||||
local SPRINGGREEN = "|cFF00FF7F"
|
||||
local YELLOW = "|cffFFd200"
|
||||
|
||||
-- Used to create a dewdrop menu from a table
|
||||
function AtlasLoot:OpenDewdropMenu(frame, menuList, skipRegister)
|
||||
@@ -106,6 +107,16 @@ function AtlasLoot:CloneTable(table)
|
||||
return new
|
||||
end
|
||||
|
||||
--drop down map menu
|
||||
function AtlasLoot:OpenDB(frame, type, text)
|
||||
local menuList = { [1] = {
|
||||
{text = ORANGE..AL["Open AscensionDB To NPC"], func = function() self:OpenDBURL(text , type) end, notCheckable = true, closeWhenClicked = true, textHeight = 12, textWidth = 12},
|
||||
{close = true, divider = 35},
|
||||
}
|
||||
}
|
||||
self:OpenDewdropMenu(frame, menuList)
|
||||
end
|
||||
|
||||
--[[
|
||||
AtlasLoot:FindId(id, difficulty)
|
||||
Finds the Ids of other difficulties based on the normal id of the item and the difficulty parameter given.
|
||||
@@ -416,7 +427,7 @@ function AtlasLoot:ItemsLoading(count)
|
||||
if(loadingCount > 0) then
|
||||
AtlasLoot_ItemsLoadingSpinner:SetVertexColor(0,1,0)
|
||||
AtlasLoot_ItemsLoadingFrameBackground:SetVertexColor(0,1,0)
|
||||
AtlasLoot_ItemsLoading.tooltip = loadingCount.." Items still loading"
|
||||
AtlasLoot_ItemsLoading.tooltip = WHITE..loadingCount..YELLOW.." Items still caching\n(This can take awhile after a launcher update)"
|
||||
AtlasLoot_ItemsLoading.Loop:Play()
|
||||
AtlasLoot_ItemsLoading:Show()
|
||||
if GameTooltip:GetOwner() == AtlasLoot_ItemsLoading then
|
||||
|
||||
@@ -3625,12 +3625,24 @@ AtlasLoot_CraftingData["CraftingLevels"] = {
|
||||
[968070] = { 300, 320, 330, 340 };
|
||||
[968073] = { 300, 320, 330, 340 };
|
||||
[968076] = { 300, 320, 330, 340 };
|
||||
[968500] = { 300, 320, 330, 340 };
|
||||
[968496] = { 300, 320, 330, 340 };
|
||||
[968506] = { 300, 320, 330, 340 };
|
||||
[968498] = { 300, 320, 330, 340 };
|
||||
[968502] = { 300, 320, 330, 340 };
|
||||
[968504] = { 300, 320, 330, 340 };
|
||||
[968062] = { 300, 320, 330, 340 };
|
||||
[968065] = { 300, 320, 330, 340 };
|
||||
[968068] = { 300, 320, 330, 340 };
|
||||
[968071] = { 300, 320, 330, 340 };
|
||||
[968074] = { 300, 320, 330, 340 };
|
||||
[968077] = { 300, 320, 330, 340 };
|
||||
[968501] = { 300, 320, 330, 340 };
|
||||
[968497] = { 300, 320, 330, 340 };
|
||||
[968507] = { 300, 320, 330, 340 };
|
||||
[968499] = { 300, 320, 330, 340 };
|
||||
[968503] = { 300, 320, 330, 340 };
|
||||
[968505] = { 300, 320, 330, 340 };
|
||||
[968280] = { 300, 320, 330, 340 };
|
||||
[968283] = { 300, 320, 330, 340 };
|
||||
[968286] = { 300, 320, 330, 340 };
|
||||
|
||||
@@ -16,12 +16,11 @@ local INDENT = " "
|
||||
mainframe:SetPoint("CENTER",0,0)
|
||||
mainframe:SetSize(1105,640)
|
||||
mainframe:EnableMouse(true)
|
||||
mainframe:SetMovable(1)
|
||||
mainframe:SetMovable(true)
|
||||
mainframe.portrait:SetPortraitTexture("Interface\\Icons\\INV_Box_01")
|
||||
mainframe:SetFrameStrata("HIGH")
|
||||
mainframe.TitleText:SetText(AtlasLoot.Version)
|
||||
mainframe:RegisterForDrag("LeftButton")
|
||||
mainframe:SetMovable(true)
|
||||
mainframe:EnableKeyboard(true)
|
||||
mainframe:Hide()
|
||||
mainframe:SetScript("OnShow", function()
|
||||
@@ -90,7 +89,6 @@ for num = 1, 30 do
|
||||
local button = CreateFrame("Button","AtlasLootItem_"..num, AtlasLootItemsFrame)
|
||||
button:SetID(num)
|
||||
button:SetSize(236,29)
|
||||
|
||||
button:SetHighlightTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight", "ADD")
|
||||
button.icon = button:CreateTexture("AtlasLootItem_"..num.."_Icon","ARTWORK")
|
||||
button.icon:SetSize(25,25)
|
||||
@@ -101,11 +99,11 @@ for num = 1, 30 do
|
||||
button.Highlight:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\knownGreen")
|
||||
button.Highlight:Hide()
|
||||
button.name = button:CreateFontString("AtlasLootItem_"..num.."_Name","ARTWORK","GameFontNormal")
|
||||
button.name:SetSize(400,12)
|
||||
button.name:SetSize(320,12)
|
||||
button.name:SetPoint("TOPLEFT","AtlasLootItem_"..num.."_Icon","TOPRIGHT",3,0)
|
||||
button.name:SetJustifyH("LEFT")
|
||||
button.extra = button:CreateFontString("AtlasLootItem_"..num.."_Extra","ARTWORK","GameFontNormal")
|
||||
button.extra:SetSize(400,10)
|
||||
button.extra:SetSize(320,10)
|
||||
button.extra:SetPoint("TOPLEFT","AtlasLootItem_"..num.."_Name","BOTTOMLEFT",0,-1)
|
||||
button.extra:SetJustifyH("LEFT")
|
||||
button:RegisterForClicks("AnyDown")
|
||||
@@ -702,12 +700,17 @@ local rows2 = setmetatable({}, { __index = function(t, i)
|
||||
row:SetFrameStrata("HIGH")
|
||||
row:SetNormalFontObject(GameFontHighlightLeft)
|
||||
row:SetCheckedTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight", "ADD")
|
||||
row:RegisterForClicks("AnyDown")
|
||||
row.Text = row:CreateFontString("$parentRow"..i.."Text","OVERLAY","GameFontNormal")
|
||||
row.Text:SetSize(230, ROW_HEIGHT)
|
||||
row.Text:SetPoint("LEFT",row)
|
||||
row.Text:SetJustifyH("LEFT")
|
||||
row:SetScript("OnClick", function()
|
||||
if row.dataSource ~= "AtlasLoot_MapData" then
|
||||
row:SetScript("OnClick", function(self, button)
|
||||
local npcID = _G[row.dataSource][row.tablename][row.tablenum].NpcID
|
||||
if button == "RightButton" and npcID then
|
||||
row:SetChecked(not row:GetChecked())
|
||||
AtlasLoot:OpenDB(self, "npc", npcID)
|
||||
elseif row.dataSource ~= "AtlasLoot_MapData" then
|
||||
AtlasLoot:ShowItemsFrame(row.tablename, row.dataSource, row.tablenum)
|
||||
else
|
||||
row:SetChecked(false)
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
------------------------------------------------------------------------
|
||||
r326 | oscarucb | 2013-10-12 19:33:25 +0000 (Sat, 12 Oct 2013) | 2 lines
|
||||
Changed paths:
|
||||
M /trunk/Dewdrop-2.0/Dewdrop-2.0.lua
|
||||
|
||||
fix menu width auto-resizing to work correctly for long items
|
||||
|
||||
------------------------------------------------------------------------
|
||||
r325 | oscarucb | 2013-02-23 05:42:20 +0000 (Sat, 23 Feb 2013) | 2 lines
|
||||
Changed paths:
|
||||
M /trunk/Dewdrop-2.0/Dewdrop-2.0.lua
|
||||
|
||||
tweak to allow loading in combat
|
||||
|
||||
------------------------------------------------------------------------
|
||||
@@ -1,6 +1,6 @@
|
||||
--[[
|
||||
--[[
|
||||
Name: Dewdrop-2.0
|
||||
Revision: $Rev: 321 $
|
||||
Revision: $Rev: 327 $
|
||||
Author(s): ckknight (ckknight@gmail.com)
|
||||
Website: http://ckknight.wowinterface.com/
|
||||
Documentation: http://wiki.wowace.com/index.php/Dewdrop-2.0
|
||||
@@ -11,7 +11,7 @@ License: LGPL v2.1
|
||||
]]
|
||||
|
||||
local MAJOR_VERSION = "Dewdrop-2.0"
|
||||
local MINOR_VERSION = tonumber(strmatch("$Revision: 321 $", "%d+")) + 90000
|
||||
local MINOR_VERSION = tonumber(strmatch("$Revision: 328 $", "%d+")) + 90000
|
||||
|
||||
if not AceLibrary then error(MAJOR_VERSION .. " requires AceLibrary") end
|
||||
if not AceLibrary:IsNewVersion(MAJOR_VERSION, MINOR_VERSION) then return end
|
||||
@@ -171,8 +171,9 @@ local buttons
|
||||
-- master secureframe that we pop onto menu items on mouseover. This requires
|
||||
-- some dark magic with OnLeave etc, but it's not too bad.
|
||||
|
||||
local secureFrame = CreateFrame("Button", nil, nil, "SecureActionButtonTemplate")
|
||||
secureFrame:Hide()
|
||||
local eventFrame = CreateFrame("Button")
|
||||
local secureFrame
|
||||
local createSecureFrame
|
||||
|
||||
local function secureFrame_Show(self)
|
||||
local owner = self.owner
|
||||
@@ -209,37 +210,46 @@ local function secureFrame_Hide(self)
|
||||
self.secure = nil
|
||||
end
|
||||
|
||||
secureFrame:SetScript("OnEvent",
|
||||
function()
|
||||
eventFrame:SetScript("OnEvent",
|
||||
function(this, event)
|
||||
if event=="PLAYER_REGEN_ENABLED" then
|
||||
this.combat = false
|
||||
if not this:IsShown() and this.owner then
|
||||
secureFrame_Show(this)
|
||||
createSecureFrame()
|
||||
secureFrame.combat = false
|
||||
if not secureFrame:IsShown() and secureFrame.owner then
|
||||
secureFrame_Show(secureFrame)
|
||||
end
|
||||
elseif event=="PLAYER_REGEN_DISABLED" then
|
||||
this.combat = true
|
||||
if this:IsShown() then
|
||||
secureFrame_Hide(this)
|
||||
elseif event=="PLAYER_REGEN_DISABLED" and secureFrame then
|
||||
secureFrame.combat = true
|
||||
if secureFrame:IsShown() then
|
||||
secureFrame_Hide(secureFrame)
|
||||
end
|
||||
end
|
||||
end
|
||||
)
|
||||
secureFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
|
||||
secureFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
|
||||
eventFrame:RegisterEvent("PLAYER_REGEN_ENABLED")
|
||||
eventFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
|
||||
|
||||
function createSecureFrame()
|
||||
if secureFrame or InCombatLockdown() then return end
|
||||
secureFrame = CreateFrame("Button", nil, nil, "SecureActionButtonTemplate")
|
||||
secureFrame:RegisterForClicks("AnyDown")
|
||||
secureFrame:Hide()
|
||||
|
||||
secureFrame:SetScript("OnLeave",
|
||||
function()
|
||||
function(this)
|
||||
local owner=this.owner
|
||||
this:Deactivate()
|
||||
owner:GetScript("OnLeave")()
|
||||
owner:GetScript("OnLeave")(owner)
|
||||
end
|
||||
)
|
||||
|
||||
secureFrame:HookScript("OnClick",
|
||||
function()
|
||||
function(this , buttonClick)
|
||||
if not this then return end
|
||||
local realthis = this
|
||||
this = this.owner
|
||||
this:GetScript("OnClick")()
|
||||
if not this then return end
|
||||
this:GetScript("OnClick")(this, buttonClick)
|
||||
end
|
||||
)
|
||||
|
||||
@@ -266,6 +276,8 @@ function secureFrame:Deactivate()
|
||||
self.owner = nil
|
||||
end
|
||||
|
||||
end
|
||||
createSecureFrame()
|
||||
-- END secure frame utilities
|
||||
|
||||
|
||||
@@ -354,8 +366,8 @@ local function CheckSize(self, level)
|
||||
extra = extra + 24
|
||||
end
|
||||
button.text:SetFont(STANDARD_TEXT_FONT, button.textHeight)
|
||||
if button.text:GetWidth() + extra > width then
|
||||
width = button.text:GetWidth() + extra
|
||||
if button.text:GetStringWidth() + extra > width then
|
||||
width = button.text:GetStringWidth() + extra
|
||||
end
|
||||
end
|
||||
level:SetWidth(width + 20)
|
||||
@@ -592,6 +604,7 @@ local function AcquireButton(self, level)
|
||||
button = CreateFrame("Button", "Dewdrop20Button" .. numButtons, nil)
|
||||
button:SetFrameStrata("FULLSCREEN_DIALOG")
|
||||
button:SetHeight(16)
|
||||
button:RegisterForClicks("AnyDown")
|
||||
local highlight = button:CreateTexture(nil, "BACKGROUND")
|
||||
highlight:SetTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight")
|
||||
button.highlight = highlight
|
||||
@@ -611,7 +624,7 @@ local function AcquireButton(self, level)
|
||||
radioHighlight:SetBlendMode("ADD")
|
||||
radioHighlight:SetTexCoord(0.5, 0.75, 0, 1)
|
||||
radioHighlight:Hide()
|
||||
button:SetScript("OnEnter", function()
|
||||
button:SetScript("OnEnter", function(this)
|
||||
if (sliderFrame and sliderFrame:IsShown() and sliderFrame.mouseDown and sliderFrame.level == this.level.num + 1) or (editBoxFrame and editBoxFrame:IsShown() and editBoxFrame.mouseDown and editBoxFrame.level == this.level.num + 1) then
|
||||
for i = 1, this.level.num do
|
||||
Refresh(self, levels[i])
|
||||
@@ -648,12 +661,12 @@ local function AcquireButton(self, level)
|
||||
end
|
||||
showGameTooltip(this)
|
||||
end)
|
||||
button:SetScript("OnHide", function()
|
||||
button:SetScript("OnHide", function(this)
|
||||
if this.secure and secureFrame:IsOwnedBy(this) then
|
||||
secureFrame:Deactivate()
|
||||
end
|
||||
end)
|
||||
button:SetScript("OnLeave", function()
|
||||
button:SetScript("OnLeave", function(this)
|
||||
if this.secure and secureFrame:IsShown() then
|
||||
return; -- it's ok, we didn't actually mouse out of the button, only onto the secure frame on top of it
|
||||
end
|
||||
@@ -668,7 +681,7 @@ local function AcquireButton(self, level)
|
||||
GameTooltip:Hide()
|
||||
end)
|
||||
local first = true
|
||||
button:SetScript("OnClick", function()
|
||||
button:SetScript("OnClick", function(this, buttonClick)
|
||||
if not this.disabled then
|
||||
if this.hasColorSwatch then
|
||||
local func = button.colorFunc
|
||||
@@ -721,7 +734,39 @@ local function AcquireButton(self, level)
|
||||
end
|
||||
self:Close(1)
|
||||
ShowUIPanel(ColorPickerFrame)
|
||||
elseif this.func then
|
||||
elseif this.funcRight and buttonClick == "RightButton" then
|
||||
local level = this.level
|
||||
if type(this.funcRight) == "string" then
|
||||
if type(this.argRight1[this.funcRight]) ~= "function" then
|
||||
self:error("Cannot call method %q", this.funcRight)
|
||||
end
|
||||
this.argRight1[this.funcRight](this.argRight1, getArgs(this, 'arg', 2))
|
||||
else
|
||||
this.funcRight(getArgs(this, 'arg', 1))
|
||||
end
|
||||
if this.closeWhenClicked then
|
||||
self:Close()
|
||||
elseif level:IsShown() then
|
||||
for i = 1, level.num do
|
||||
Refresh(self, levels[i])
|
||||
end
|
||||
local value = levels[level.num].value
|
||||
for i = level.num-1, 1, -1 do
|
||||
local level = levels[i]
|
||||
local good = false
|
||||
for _,button in ipairs(level.buttons) do
|
||||
if button.value == value then
|
||||
good = true
|
||||
break
|
||||
end
|
||||
end
|
||||
if not good then
|
||||
Dewdrop:Close(i+1)
|
||||
end
|
||||
value = levels[i].value
|
||||
end
|
||||
end
|
||||
elseif this.func and buttonClick == "LeftButton" then
|
||||
local level = this.level
|
||||
if type(this.func) == "string" then
|
||||
if type(this.arg1[this.func]) ~= "function" then
|
||||
@@ -753,22 +798,22 @@ local function AcquireButton(self, level)
|
||||
value = levels[i].value
|
||||
end
|
||||
end
|
||||
elseif this.closeWhenClicked then
|
||||
self:Close()
|
||||
end
|
||||
elseif this.closeWhenClicked then
|
||||
self:Close()
|
||||
end
|
||||
end
|
||||
end)
|
||||
local text = button:CreateFontString(nil, "ARTWORK")
|
||||
button.text = text
|
||||
text:SetFontObject(GameFontHighlightSmall)
|
||||
button.text:SetFont(STANDARD_TEXT_FONT, UIDROPDOWNMENU_DEFAULT_TEXT_HEIGHT)
|
||||
button:SetScript("OnMouseDown", function()
|
||||
if not this.disabled and (this.func or this.colorFunc or this.closeWhenClicked) then
|
||||
button:SetScript("OnMouseDown", function(this)
|
||||
if not this.disabled and (this.func or this.funcRight or this.colorFunc or this.closeWhenClicked) then
|
||||
text:SetPoint("LEFT", button, "LEFT", this.notCheckable and 1 or 25, -1)
|
||||
end
|
||||
end)
|
||||
button:SetScript("OnMouseUp", function()
|
||||
if not this.disabled and (this.func or this.colorFunc or this.closeWhenClicked) then
|
||||
button:SetScript("OnMouseUp", function(this)
|
||||
if not this.disabled and (this.func or this.funcRight or this.colorFunc or this.closeWhenClicked) then
|
||||
text:SetPoint("LEFT", button, "LEFT", this.notCheckable and 0 or 24, 0)
|
||||
end
|
||||
end)
|
||||
@@ -899,7 +944,7 @@ local function AcquireLevel(self, level)
|
||||
frame:SetScript("OnLeave", function()
|
||||
StartCounting(self, i)
|
||||
end)
|
||||
frame:SetScript("OnMouseWheel", function()
|
||||
frame:SetScript("OnMouseWheel", function(this, arg1)
|
||||
Scroll(self, frame, arg1 < 0)
|
||||
end)
|
||||
if i == 1 then
|
||||
@@ -2925,6 +2970,7 @@ function Dewdrop:Register(parent, ...)
|
||||
if parent:HasScript("OnMouseUp") then
|
||||
local script = parent:GetScript("OnMouseUp")
|
||||
parent:SetScript("OnMouseUp", function(this, ...)
|
||||
local arg1 = ...
|
||||
if script then
|
||||
script(this, ...)
|
||||
end
|
||||
@@ -3156,6 +3202,7 @@ function Dewdrop:AddLine(...)
|
||||
end
|
||||
if not button.disabled then
|
||||
button.func = info.func
|
||||
button.funcRight = info.funcRight
|
||||
button.secure = info.secure
|
||||
end
|
||||
button.hasColorSwatch = info.hasColorSwatch
|
||||
@@ -3168,6 +3215,7 @@ function Dewdrop:AddLine(...)
|
||||
button.colorSwatch.texture:SetVertexColor(button.r, button.g, button.b)
|
||||
button.checked = false
|
||||
button.func = nil
|
||||
button.funcRight = nil
|
||||
button.colorFunc = info.colorFunc
|
||||
local i = 1
|
||||
while true do
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
## OptionalDeps: Ace2
|
||||
## X-AceLibrary-Dewdrop-2.0: true
|
||||
## X-License: LGPL v2.1
|
||||
## X-Curse-Packaged-Version: r321
|
||||
## X-Curse-Packaged-Version: r326
|
||||
## X-Curse-Project-Name: DewdropLib
|
||||
## X-Curse-Project-ID: dewdroplib
|
||||
## X-Curse-Repository-ID: wow/dewdroplib/mainline
|
||||
|
||||
@@ -18,6 +18,7 @@ if AL then
|
||||
AL["Mystic Enchanting"] = true
|
||||
AL["Druid"] = true
|
||||
AL["Open AscensionDB To Zone Map"] = true
|
||||
AL["Open AscensionDB To NPC"] = true
|
||||
AL["Open AscensionDB To Entry"] = true
|
||||
AL["Links"] = true
|
||||
AL["Add To Default"] = true
|
||||
@@ -1544,7 +1545,9 @@ if AL then
|
||||
AL["World Drop"] = true
|
||||
AL["Sunwell Isle"] = true
|
||||
AL["Gordok Commons"] = true
|
||||
AL["Only show crafting source while colding CTRL"] = true
|
||||
AL["Hide crafting source unless holding CTRL"] = true
|
||||
AL["Show drop location on search results"] = true
|
||||
|
||||
|
||||
-- Shortcuts for Bossname files
|
||||
AL["LBRS"] = true
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
|
||||
<!--@debug@
|
||||
<Script file="Modules\BurningCrusade\burningcrusade.lua"/>
|
||||
<Script file="Modules\BurningCrusade\localization.lua"/>
|
||||
<Script file="Modules\Crafting\crafting.lua"/>
|
||||
<Script file="Modules\Crafting\localization.lua"/>
|
||||
<Script file="Modules\OriginalWoW\originalwow.lua"/>
|
||||
<Script file="Modules\OriginalWoW\localization.lua"/>
|
||||
<Script file="Modules\WorldEvents\worldevents.lua"/>
|
||||
<Script file="Modules\WorldEvents\localization.lua"/>
|
||||
<Script file="Modules\WrathoftheLichKing\wrathofthelichking.lua"/>
|
||||
<Script file="Modules\WrathoftheLichKing\localization.lua"/>
|
||||
@end-debug@-->
|
||||
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user