Merge branch 'Autorefresh-m-pluss-options'
This commit is contained in:
@@ -92,7 +92,7 @@ local AtlasLootDBDefaults = {
|
||||
LootlinkTT = false,
|
||||
ItemSyncTT = false,
|
||||
EquipCompare = false,
|
||||
ItemAutoQuery = false,
|
||||
ItemAutoQuery = false,
|
||||
Opaque = false,
|
||||
ItemIDs = false,
|
||||
ItemSpam = false,
|
||||
@@ -108,7 +108,8 @@ local AtlasLootDBDefaults = {
|
||||
AtlasLootVersion = "1",
|
||||
AtlasNaggedVersion = "",
|
||||
FuBarPosition = 1,
|
||||
AutoQuery = false,
|
||||
MythicPlussTier = 1,
|
||||
AutoQuery = false,
|
||||
LoadAllLoDStartup = false,
|
||||
PartialMatching = true,
|
||||
LootBrowserStyle = 1,
|
||||
|
||||
+10
-56
@@ -307,69 +307,23 @@ end
|
||||
|
||||
function AtlasLoot_SelectMythicPlussTier_Initialize()
|
||||
local info;
|
||||
info = {
|
||||
text = AL["Mythic Tier 0"];
|
||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
||||
};
|
||||
UIDropDownMenu_AddButton(info);
|
||||
info = {
|
||||
text = AL["Mythic Tier 1"];
|
||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
||||
};
|
||||
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);
|
||||
|
||||
for t = 0, 10, 1 do
|
||||
info = {
|
||||
text = AL["Mythic Tier "..t];
|
||||
func = AtlasLoot_MythicPlussTier_OnClick;
|
||||
};
|
||||
UIDropDownMenu_AddButton(info);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function AtlasLoot_MythicPlussTier_OnClick()
|
||||
|
||||
local thisID = this:GetID();
|
||||
UIDropDownMenu_SetSelectedID(AtlasLoot_SelectMythicPlussTier, thisID);
|
||||
AtlasLoot.db.profile.MythicPlussTier = thisID;
|
||||
if AtlasLootItemsFrame:IsVisible() and AtlasLootItemsFrame.refresh then
|
||||
Mythic_Reload();
|
||||
AtlasLoot_ShowItemsFrame(AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]);
|
||||
end
|
||||
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
|
||||
- Added option to select Mythic Pluss tiers (Requires /reload for changes)
|
||||
- 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