Merge branch 'Autorefresh-m-pluss-options'
This commit is contained in:
@@ -92,7 +92,7 @@ local AtlasLootDBDefaults = {
|
|||||||
LootlinkTT = false,
|
LootlinkTT = false,
|
||||||
ItemSyncTT = false,
|
ItemSyncTT = false,
|
||||||
EquipCompare = false,
|
EquipCompare = false,
|
||||||
ItemAutoQuery = false,
|
ItemAutoQuery = false,
|
||||||
Opaque = false,
|
Opaque = false,
|
||||||
ItemIDs = false,
|
ItemIDs = false,
|
||||||
ItemSpam = false,
|
ItemSpam = false,
|
||||||
@@ -108,7 +108,8 @@ local AtlasLootDBDefaults = {
|
|||||||
AtlasLootVersion = "1",
|
AtlasLootVersion = "1",
|
||||||
AtlasNaggedVersion = "",
|
AtlasNaggedVersion = "",
|
||||||
FuBarPosition = 1,
|
FuBarPosition = 1,
|
||||||
AutoQuery = false,
|
MythicPlussTier = 1,
|
||||||
|
AutoQuery = false,
|
||||||
LoadAllLoDStartup = false,
|
LoadAllLoDStartup = false,
|
||||||
PartialMatching = true,
|
PartialMatching = true,
|
||||||
LootBrowserStyle = 1,
|
LootBrowserStyle = 1,
|
||||||
|
|||||||
+10
-56
@@ -307,69 +307,23 @@ end
|
|||||||
|
|
||||||
function AtlasLoot_SelectMythicPlussTier_Initialize()
|
function AtlasLoot_SelectMythicPlussTier_Initialize()
|
||||||
local info;
|
local info;
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 0"];
|
for t = 0, 10, 1 do
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
info = {
|
||||||
};
|
text = AL["Mythic Tier "..t];
|
||||||
UIDropDownMenu_AddButton(info);
|
func = AtlasLoot_MythicPlussTier_OnClick;
|
||||||
info = {
|
};
|
||||||
text = AL["Mythic Tier 1"];
|
UIDropDownMenu_AddButton(info);
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
end
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 2"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 3"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 4"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 5"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 6"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 7"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 8"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 9"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
info = {
|
|
||||||
text = AL["Mythic Tier 10"];
|
|
||||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
|
||||||
};
|
|
||||||
UIDropDownMenu_AddButton(info);
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function AtlasLoot_MythicPlussTier_OnClick()
|
function AtlasLoot_MythicPlussTier_OnClick()
|
||||||
|
|
||||||
local thisID = this:GetID();
|
local thisID = this:GetID();
|
||||||
UIDropDownMenu_SetSelectedID(AtlasLoot_SelectMythicPlussTier, thisID);
|
UIDropDownMenu_SetSelectedID(AtlasLoot_SelectMythicPlussTier, thisID);
|
||||||
AtlasLoot.db.profile.MythicPlussTier = thisID;
|
AtlasLoot.db.profile.MythicPlussTier = thisID;
|
||||||
if AtlasLootItemsFrame:IsVisible() and AtlasLootItemsFrame.refresh then
|
if AtlasLootItemsFrame:IsVisible() and AtlasLootItemsFrame.refresh then
|
||||||
|
Mythic_Reload();
|
||||||
AtlasLoot_ShowItemsFrame(AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]);
|
AtlasLoot_ShowItemsFrame(AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]);
|
||||||
end
|
end
|
||||||
AtlasLoot_OptionsOnShow();
|
AtlasLoot_OptionsOnShow();
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
v2.04 09/13/2021
|
||||||
|
- Added automatic reloads of loot tables when changing mythic+ options (Credit: Rvng)
|
||||||
|
---------------------------------------------------------------------------------------------------------------------------
|
||||||
v2.03 09/13/2021
|
v2.03 09/13/2021
|
||||||
- Added option to select Mythic Pluss tiers (Requires /reload for changes)
|
- Added option to select Mythic Pluss tiers (Requires /reload for changes)
|
||||||
- Added Mythic +1 to +10 to all Vanilla dungeons (selectable in options menu)
|
- Added Mythic +1 to +10 to all Vanilla dungeons (selectable in options menu)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user