+21
-13
@@ -69,7 +69,7 @@ local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
--Establish version number and compatible version of Atlas
|
||||
local VERSION_MAJOR = "1";
|
||||
local VERSION_MINOR = "1";
|
||||
local VERSION_BOSSES = "0";
|
||||
local VERSION_BOSSES = "2";
|
||||
ATLASLOOT_VERSION = "|cffFF8400AtlasLoot TW Edition v"..VERSION_MAJOR.."."..VERSION_MINOR.."."..VERSION_BOSSES.."|r";
|
||||
ATLASLOOT_CURRENT_ATLAS = "1.12.0";
|
||||
ATLASLOOT_PREVIEW_ATLAS = "1.12.1";
|
||||
@@ -2398,7 +2398,7 @@ AtlasLoot_HewdropDown = {
|
||||
{ AL["Elemental Invasion"], "ElementalInvasion", "Table" },
|
||||
},
|
||||
[4] = {
|
||||
{ AL["Feast of Winter Veil"], "Winterviel1", "Table" },
|
||||
{ AL["Feast of Winter Veil"], "Winterviel", "Submenu" },
|
||||
},
|
||||
[5] = {
|
||||
{ AL["Gurubashi Arena Booty Run"], "GurubashiArena", "Table" },
|
||||
@@ -2961,6 +2961,7 @@ AtlasLoot_HewdropDown_SubTables = {
|
||||
{ "|cffffffff[44]|cffffd200 Bonecruncher |cffffffff(Gilneas)", "Bonecruncher" },
|
||||
{ "|cffffffff[44]|cffffd200 Duskskitter |cffffffff(Gilneas)", "Duskskitter" },
|
||||
{ "|cffffffff[45]|cffffd200 Baron Perenolde |cffffffff(Gilneas)", "BaronPerenolde" },
|
||||
{ "|cffffffff[45]|cffffd200 Kin'Tozo |cffffffff(Stranglethorn Vale)", "KinTozo" },
|
||||
{ "|cffffffff[47]|cffffd200 Grug'thok the Seer |cffffffff(Feralas)", "Grugthok" },
|
||||
{ "|cffffffff[49]|cffffd200 Explorer Ashbeard |cffffffff(Searing Gorge)", "Ashbeard" },
|
||||
{ "|cffffffff[50]|cffffd200 Jal'akar |cffffffff(Hinterlands)", "Jalakar" },
|
||||
@@ -2974,12 +2975,12 @@ AtlasLoot_HewdropDown_SubTables = {
|
||||
{ "|cffffffff[55]|cffffd200 Letashaz |cffffffff(Gilijim Isle)", "Letashaz" },
|
||||
{ "|cffffffff[55]|cffffd200 Margon the Mighty |cffffffff(Lapidis Isle)", "MargontheMighty" },
|
||||
{ "|cffffffff[55]|cffffd200 The Wandering Knight |cffffffff(WPL)", "WanderingKnight" },
|
||||
{ "|cffffffff[56]|cffffd200 Stoneshell |cffffffff(Tel'abim)", "Stoneshell" },
|
||||
{ "|cffffffff[56]|cffffd200 Stoneshell |cffffffff(Tel'abim)", "Stoneshell" },
|
||||
{ "|cffffffff[57]|cffffd200 Zareth Terrorblade |cffffffff(Blasted Lands)", "Zareth" },
|
||||
{ "|cffffffff[58]|cffffd200 Highvale Silverback |cffffffff(Tel'abim)", "HighvaleSilverback" },
|
||||
{ "|cffffffff[58]|cffffd200 Highvale Silverback |cffffffff(Tel'abim)", "HighvaleSilverback" },
|
||||
{ "|cffffffff[58]|cffffd200 Mallon The Moontouched |cffffffff(Winterspring)", "Mallon" },
|
||||
{ "|cffffffff[59]|cffffd200 Blademaster Kargron |cffffffff(Burning Steppes)", "Kargron" },
|
||||
{ "|cffffffff[60]|cffffd200 Admiral Barean Westwind |cffffffff(Sarlet Enclave)", "AdmiralBareanWestwind" },
|
||||
{ "|cffffffff[60]|cffffd200 Admiral Barean Westwind |cffffffff(Scarlet Enclave)", "AdmiralBareanWestwind" },
|
||||
{ "|cffffffff[60]|cffffd200 Azurebeak |cffffffff(Hyjal)", "Azurebeak" },
|
||||
{ "|cffffffff[60]|cffffd200 Barkskin Fisher |cffffffff(Hyjal)", "BarkskinFisher" },
|
||||
{ "|cffffffff[61]|cffffd200 Crusader Larsarius |cffffffff(EPL)", "CrusaderLarsarius" },
|
||||
@@ -2992,6 +2993,10 @@ AtlasLoot_HewdropDown_SubTables = {
|
||||
{ AL["Abyssal Council"].." - "..AL["Dukes"], "AbyssalDukes" },
|
||||
{ AL["Abyssal Council"].." - "..AL["High Council"], "AbyssalLords" },
|
||||
},
|
||||
["Winterviel"] = {
|
||||
{ AL["Feast of Winter Veil"], "Winterviel1", "Table" },
|
||||
{ "Snowball", "WintervielSnowball", "Table" },
|
||||
},
|
||||
["Factions"] = {
|
||||
{ AL["Argent Dawn"], "Argent1" },
|
||||
{ AL["Bloodsail Buccaneers"], "Bloodsail1" },
|
||||
@@ -3838,10 +3843,11 @@ AtlasLoot_updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
|
||||
|
||||
AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
if event == "CHAT_MSG_ADDON" and arg1 == "AtlasLoot" then
|
||||
local v, remoteversion = AtlasLoot_strsplit(":", arg2)
|
||||
local v, remoteversion, remotetitle = AtlasLoot_strsplit(":", arg2)
|
||||
local _,title = GetAddOnInfo("AtlasLoot")
|
||||
local remoteversion = tonumber(remoteversion)
|
||||
if remoteversion >= 40000 then remoteversion = 0 end --Block for people using some version from another version of WoW.
|
||||
if v == "VERSION" and remoteversion then
|
||||
if v == "VERSION" and remoteversion and title == remotetitle then
|
||||
if remoteversion > localversion then
|
||||
AtlasLoot_updateavailable = remoteversion
|
||||
if not alreadyshown then
|
||||
@@ -3858,11 +3864,12 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
_,name = GetChannelName(source)
|
||||
end
|
||||
if name == "LFT" then
|
||||
local msg, v, remoteversion = AtlasLoot_strsplit(":", arg1)
|
||||
local msg, v, remoteversion, remotetitle = AtlasLoot_strsplit(":", arg1)
|
||||
if msg == "Atlasloot" then
|
||||
local remoteversion = tonumber(remoteversion) or 0
|
||||
local _,title = GetAddOnInfo("AtlasLoot")
|
||||
if remoteversion >= 40000 then remoteversion = 0 end --Block for people using some version from another version of WoW.
|
||||
if v == "VERSION" and remoteversion then
|
||||
if v == "VERSION" and remoteversion and title == remotetitle then
|
||||
if remoteversion > localversion then
|
||||
AtlasLoot_updateavailable = remoteversion
|
||||
if not alreadyshown then
|
||||
@@ -3874,12 +3881,13 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
local _,title = GetAddOnInfo("AtlasLoot")
|
||||
if event == "PARTY_MEMBERS_CHANGED" then
|
||||
local groupsize = GetNumRaidMembers() > 0 and GetNumRaidMembers() or GetNumPartyMembers() > 0 and GetNumPartyMembers() or 0
|
||||
if ( this.group or 0 ) < groupsize then
|
||||
for _, chan in pairs(groupchannels) do
|
||||
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion, chan)
|
||||
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion..":"..title, chan)
|
||||
end
|
||||
end
|
||||
this.group = groupsize
|
||||
@@ -3893,10 +3901,10 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
|
||||
for _, chan in pairs(loginchannels) do
|
||||
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion, chan)
|
||||
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion..":"..title, chan)
|
||||
end
|
||||
if GetChannelName("LFT") ~= 0 then
|
||||
SendChatMessage("Atlasloot:VERSION:" .. localversion, "CHANNEL", nil, GetChannelName("LFT"))
|
||||
SendChatMessage("Atlasloot:VERSION:" .. localversion..":"..title, "CHANNEL", nil, GetChannelName("LFT"))
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -4185,11 +4185,22 @@ AtlasLoot_ButtonRegistry = {
|
||||
};
|
||||
["Winterviel2"] = {
|
||||
Title = AtlasLoot_TableNames["Winterviel2"][1];
|
||||
Next_Page = "WintervielSnowball";
|
||||
Next_Title = "Snowball";
|
||||
Prev_Page = "Winterviel1";
|
||||
Prev_Title = AL["Feast of Winter Veil"];
|
||||
Back_Page = "WORLDEVENTMENU";
|
||||
Back_Title = AL["World Events"];
|
||||
};
|
||||
["WintervielSnowball"] = {
|
||||
Title = "Snowball";
|
||||
Next_Page = "Winterviel1";
|
||||
Next_Title = AL["Feast of Winter Veil"];
|
||||
Prev_Page = "Winterviel2";
|
||||
Prev_Title = AtlasLoot_TableNames["Winterviel2"][1];
|
||||
Back_Page = "WORLDEVENTMENU";
|
||||
Back_Title = AL["World Events"];
|
||||
};
|
||||
["Halloween1"] = {
|
||||
Title = AL["Hallow's End"];
|
||||
Next_Page = "Halloween2";
|
||||
|
||||
+135
-2
@@ -8712,7 +8712,7 @@ GetSpellInfoVanillaDB = {
|
||||
[1] = {10620},
|
||||
},
|
||||
},
|
||||
[57121] = {
|
||||
[45451] = {
|
||||
["name"] = "Smelting: Smelt Dreamsteel",
|
||||
["requires"] = AL["Forge"],
|
||||
["tools"] = "",
|
||||
@@ -8722,7 +8722,7 @@ GetSpellInfoVanillaDB = {
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {61199},
|
||||
[1] = {61198},
|
||||
[2] = {3859},
|
||||
[3] = {20381},
|
||||
},
|
||||
@@ -13038,6 +13038,125 @@ GetSpellInfoVanillaDB = {
|
||||
[4] = {7910, 4},
|
||||
},
|
||||
},
|
||||
[46652] = {
|
||||
["name"] = "Blacksmithing: Untempered Runeblade",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60293,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12655, 25},
|
||||
[2] = {12808, 10},
|
||||
[3] = {20520, 8},
|
||||
[4] = {12810, 2},
|
||||
[5] = {12644, 6},
|
||||
[6] = {12364},
|
||||
},
|
||||
},
|
||||
[47021] = {
|
||||
["name"] = "Blacksmithing: Rune-Etched Greaves",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60288,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12359, 20},
|
||||
[2] = {12655, 2},
|
||||
[3] = {20520, 2},
|
||||
[4] = {12810},
|
||||
[5] = {12361},
|
||||
},
|
||||
},
|
||||
[47022] = {
|
||||
["name"] = "Blacksmithing: Rune-Etched Legplates",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60289,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12359, 24},
|
||||
[2] = {12655, 6},
|
||||
[3] = {20520, 4},
|
||||
[4] = {12810, 2},
|
||||
[5] = {12800},
|
||||
},
|
||||
},
|
||||
[47023] = {
|
||||
["name"] = "Blacksmithing: Rune-Etched Breastplate",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60290,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12359, 24},
|
||||
[2] = {12655, 4},
|
||||
[3] = {20520, 4},
|
||||
[4] = {12810, 2},
|
||||
[5] = {12644},
|
||||
[6] = {7910},
|
||||
},
|
||||
},
|
||||
[47024] = {
|
||||
["name"] = "Blacksmithing: Rune-Etched Crown",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60291,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12359, 16},
|
||||
[2] = {12655, 2},
|
||||
[3] = {20520, 2},
|
||||
[4] = {7080},
|
||||
},
|
||||
},
|
||||
[47025] = {
|
||||
["name"] = "Blacksmithing: Rune-Etched Mantle",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60292,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12359, 14},
|
||||
[2] = {12655, 2},
|
||||
[3] = {20520, 3},
|
||||
[4] = {12810},
|
||||
[5] = {7076},
|
||||
},
|
||||
},
|
||||
[47026] = {
|
||||
["name"] = "Blacksmithing: Rune-Etched Grips",
|
||||
["requires"] = AL["Anvil"],
|
||||
["tools"] = {5956},
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 60287,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {12359, 12},
|
||||
[2] = {12655, 2},
|
||||
[3] = {20520, 2},
|
||||
[4] = {12810, 2},
|
||||
},
|
||||
},
|
||||
[15296] = {
|
||||
["name"] = "Blacksmithing: Dark Iron Plate",
|
||||
["requires"] = AL["Black Anvil"],
|
||||
@@ -17515,6 +17634,20 @@ GetSpellInfoVanillaDB = {
|
||||
[2] = {4291, 4},
|
||||
},
|
||||
},
|
||||
[10550] = {
|
||||
["name"] = "Leatherworking: Nightscape Cloak",
|
||||
["requires"] = "",
|
||||
["tools"] = "",
|
||||
["castTime"] = 60,
|
||||
["text"] = "",
|
||||
["craftItem"] = 8195,
|
||||
["craftQuantityMin"] = "",
|
||||
["craftQuantityMax"] = "",
|
||||
["reagents"] = {
|
||||
[1] = {4304, 12},
|
||||
[2] = {4291, 4},
|
||||
},
|
||||
},
|
||||
[10552] = {
|
||||
["name"] = "Leatherworking: Turtle Scale Helm",
|
||||
["requires"] = "",
|
||||
|
||||
Reference in New Issue
Block a user