Bug Fixes
This commit is contained in:
@@ -3846,6 +3846,10 @@ AtlasLoot_updater:RegisterEvent("CHAT_MSG_ADDON")
|
||||
AtlasLoot_updater:RegisterEvent("CHAT_MSG_CHANNEL")
|
||||
AtlasLoot_updater:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
AtlasLoot_updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
|
||||
AtlasLoot_updater:RegisterEvent("CHAT_MSG_CHANNEL_JOIN")
|
||||
|
||||
AtlasLootUserCounter = {}
|
||||
PlayerCounter = {}
|
||||
|
||||
AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
if event == "CHAT_MSG_ADDON" and arg1 == "AtlasLoot" then
|
||||
@@ -3864,6 +3868,13 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
|
||||
if event == "CHAT_MSG_CHANNEL_JOIN" then
|
||||
local name = arg2
|
||||
if not PlayerCounter[name] then
|
||||
PlayerCounter[name] = 1
|
||||
end
|
||||
end
|
||||
|
||||
if event == "CHAT_MSG_CHANNEL" then
|
||||
local _,_,source = string.find(arg4,"(%d+)%.")
|
||||
if source then
|
||||
@@ -3885,6 +3896,10 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
end
|
||||
local name = arg2
|
||||
if not AtlasLootUserCounter[name] then
|
||||
AtlasLootUserCounter[name] = 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4877,12 +4877,12 @@ AtlasLoot_ButtonRegistry = {
|
||||
Back_Page = "SURVIVALMENU";
|
||||
Back_Title = AL["Survival"];
|
||||
Prev_Page = "Survival2";
|
||||
Prev_Title = AL["Garderning"];
|
||||
Prev_Title = AL["Gardening"];
|
||||
Next_Page = "Survival2";
|
||||
Next_Title = AL["Garderning"];
|
||||
Next_Title = AL["Gardening"];
|
||||
};
|
||||
["Survival2"] = {
|
||||
Title = AL["Garderning"];
|
||||
Title = AL["Gardening"];
|
||||
Back_Page = "SURVIVALMENU";
|
||||
Back_Title = AL["Survival"];
|
||||
Prev_Page = "Survival1";
|
||||
|
||||
+1
-1
@@ -704,7 +704,7 @@ function AtlasLoot_SurvivalMenu()
|
||||
AtlasLootMenuItem_2.lootpage = "Survival1";
|
||||
AtlasLootMenuItem_2:Show();
|
||||
--Journeyman
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Garderning"]);
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Gardening"]);
|
||||
AtlasLootMenuItem_3_Extra:SetText("");
|
||||
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\trade_herbalism");
|
||||
AtlasLootMenuItem_3.lootpage = "Survival2";
|
||||
|
||||
@@ -118,7 +118,7 @@ function AtlasLoot_FixText(text)
|
||||
text = gsub(text, "#p14#", AL["Gnomish Engineering"]);
|
||||
text = gsub(text, "#p15#", AL["Goblin Engineering"]);
|
||||
text = gsub(text, "#p16#", AL["Survival"]);
|
||||
text = gsub(text, "#p17#", AL["Garderning"]);
|
||||
text = gsub(text, "#p17#", AL["Gardening"]);
|
||||
|
||||
--Reputation
|
||||
text = gsub(text, "#r1#", AL["Neutral"]);
|
||||
|
||||
@@ -586,10 +586,10 @@ AtlasLoot_Data["AtlasLootRepItems"] = {
|
||||
{ 80542, "INV_Staff_39", "=q3=Quel'dorei Cleric's Staff", "=ds=#h2#, #w9#" },
|
||||
{ 80545, "INV_WAND_07", "=q2=Quel'dorei Cleric's Wand", "=ds=#w12#" },
|
||||
{ 0, "", "", "" },
|
||||
{ 80528, "inv_weapon_shortblade_07", "=q3=Quel'dorei Assassin's Kris", "=ds=#w4#" },
|
||||
{ 0, "", "", "" },
|
||||
{ 80546, "INV_Weapon_Bow_17", "=q3=Quel'dorei Ranger's Longbow", "=ds=#w2#" },
|
||||
{ 0, "", "", "" },
|
||||
{ 0, "", "", "" },
|
||||
{ 80530, "INV_Hammer_02", "=q3=Quel'dorei Guardian's Mace", "=ds=#h1#, #w6#" },
|
||||
{ 80531, "INV_Mace_30", "=q3=Quel'dorei Guardian's Warhammer", "=ds=#h2#, #w6#" },
|
||||
{ 0, "", "", "" },
|
||||
@@ -678,10 +678,10 @@ AtlasLoot_Data["AtlasLootRepItems"] = {
|
||||
{ 80645, "INV_Wand_01", "=q3=Revantusk Mender's Wand", "=ds=#w12#" },
|
||||
{ 0, "", "", "" },
|
||||
{ 0, "", "", "" },
|
||||
{ 80628, "inv_misc_monsterfang_01", "=q3=Revantusk Stalker's Kris", "=ds=#w4#" },
|
||||
{ 0, "", "", "" },
|
||||
{ 80646, "INV_Weapon_Bow_08", "=q3=Revantusk Shadow Hunter's Longbow", "=ds=#w2#" },
|
||||
{ 0, "", "", "" },
|
||||
{ 0, "", "", "" },
|
||||
{ 0, "", "", "" },
|
||||
{ 80630, "INV_Mace_01", "=q3=Revantusk Watcher's Mace", "=ds=#h1#, #w6#" },
|
||||
{ 80631, "INV_Hammer_09", "=q3=Revantusk Watcher's Maul", "=ds=#h2#, #w6#" },
|
||||
{ 0, "", "", "" },
|
||||
|
||||
@@ -1442,7 +1442,7 @@ AL:RegisterTranslations("enUS", function() return {
|
||||
["Cooking"] = true,
|
||||
["First Aid"] = true,
|
||||
["Survival"] = true,
|
||||
["Garderning"] = true,
|
||||
["Gardening"] = true,
|
||||
["Alterac Valley"] = true,
|
||||
["Arathi Basin"] = true,
|
||||
["Warsong Gulch"] = true,
|
||||
|
||||
@@ -889,7 +889,7 @@ AtlasLoot_TableNames = {
|
||||
["FirstAid1"] = { AL["First Aid"], "AtlasLootCrafting" },
|
||||
--Survival
|
||||
["Survival1"] = { AL["Survival"], "AtlasLootCrafting" },
|
||||
["Survival2"] = { AL["Garderning"], "AtlasLootCrafting" },
|
||||
["Survival2"] = { AL["Gardening"], "AtlasLootCrafting" },
|
||||
--Poisons
|
||||
["Poisons1"] = { AL["Rogue"] .. ": " .. AL["Poisons"], "AtlasLootCrafting" },
|
||||
|
||||
@@ -1849,6 +1849,7 @@ AtlasLoot_TableNamesBoss = {
|
||||
["Undercity"] = { AL["Undercity"], "AtlasLootRepItems" },
|
||||
["Orgrimmar"] = { AL["Orgrimmar"], "AtlasLootRepItems" },
|
||||
["ThunderBluff"] = { AL["Thunder Bluff"], "AtlasLootRepItems" },
|
||||
["Dalaran"] = { AL["Dalaran"], "AtlasLootRepItems" },
|
||||
["Wildhammer"] = { AL["Wildhammer Clan"], "AtlasLootRepItems" },
|
||||
},
|
||||
|
||||
@@ -1936,7 +1937,7 @@ AtlasLoot_TableNamesBoss = {
|
||||
["FirstAid1"] = { AL["First Aid"], "AtlasLootCrafting" },
|
||||
--Survival
|
||||
["Survival1"] = { AL["Survival"], "AtlasLootCrafting" },
|
||||
["Survival2"] = { AL["Garderning"], "AtlasLootCrafting" },
|
||||
["Survival2"] = { AL["Gardening"], "AtlasLootCrafting" },
|
||||
--Poisons
|
||||
["Poisons1"] = { AL["Rogue"] .. ": " .. AL["Poisons"], "AtlasLootCrafting" },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user