From c1dc931879f908607fdf3f7b4705a22d2b32be46 Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Mon, 18 May 2026 09:14:14 +0800 Subject: [PATCH 1/8] Activity: Fix Label for Prey: Preferential Killing --- Modules/ExpansionLandingPage/Retail/MID_Activity.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/ExpansionLandingPage/Retail/MID_Activity.lua b/Modules/ExpansionLandingPage/Retail/MID_Activity.lua index 1708f2f..2505c76 100644 --- a/Modules/ExpansionLandingPage/Retail/MID_Activity.lua +++ b/Modules/ExpansionLandingPage/Retail/MID_Activity.lua @@ -197,8 +197,8 @@ do --]] function SetupFuncs.HuntTable(listButton) - local activeQuestID = C_QuestLog.GetActivePreyQuest(); - if activeQuestID then + local activeQuestID = C_QuestLog.GetActivePreyQuest() or 91277; -- Prey: Preferential Killing + if C_QuestLog.IsOnQuest(activeQuestID) then listButton:SetQuest(activeQuestID); listButton.flagQuest = activeQuestID; listButton.completed = C_QuestLog.IsQuestFlaggedCompleted(activeQuestID); From 3af5d80bb2bca486e4345fcb736699a90dd2b9d5 Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Tue, 19 May 2026 15:54:57 +0800 Subject: [PATCH 2/8] Loot Window: Highlight Item With Tertiary Stats - Show glow and texts for item with tertiary stats. Can false positive for trinkets with guaranteed tertiary stats. - Show glow for pets, similar to mounts. --- .luacheckrc | 1 + Modules/LootUI_Main.lua | 42 +++++++++++++++++++++++++++++++++++------ 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index c0cb738..fa46ab9 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -855,6 +855,7 @@ stds.wow = { "GetItemQualityByID", "GetItemQualityColor", "GetItemSpell", + "GetItemStats", "GetItemSubClassInfo", "GetItemUpgradeInfo", "IsCosmeticItem", diff --git a/Modules/LootUI_Main.lua b/Modules/LootUI_Main.lua index 49fef92..6cbe9ea 100644 --- a/Modules/LootUI_Main.lua +++ b/Modules/LootUI_Main.lua @@ -571,12 +571,20 @@ do --UI ItemButton function ItemFrameMixin:SetItem(data) self.singleItemID = data.id; - self:SetNameByQuality(data.name, data.quality); + + local showGlow, subtitle = IsRareItem(data); + + if subtitle then + self:SetNameByQuality(string.format("%s\n|cff19ff19%s|r", data.name, subtitle), data.quality); + else + self:SetNameByQuality(data.name, data.quality); + end + self:SetIcon(data.icon, data); self:SetCount(data); self:Layout(); - if IsRareItem(data) then + if showGlow then self:ShowGlow(true); else self:ShowGlow(false); @@ -1995,12 +2003,34 @@ do --Rare Items [224025] = true, --Crackling Shard }; + local TertiaryStats = { + "ITEM_MOD_CR_LIFESTEAL_SHORT", + "ITEM_MOD_CR_AVOIDANCE_SHORT", + "ITEM_MOD_CR_SPEED_SHORT", + "ITEM_MOD_CR_STURDINESS_SHORT", + --"ITEM_MOD_STAMINA_SHORT", -- debug + }; + function IsRareItem(data) if RareItems[data.id] then - return true - elseif data.classID == 15 and data.subclassID == 5 then - --Mount - return true + return true; + elseif data.classID == 15 and (data.subclassID == 2 or data.subclassID == 5) then + -- CompanionPet/Mount + return true; + elseif data.classID == 17 then + -- Battlepet + return true; + elseif data.classID == 2 or data.classID == 4 and data.link and C_Item.GetItemStats then + -- Equipment with tertiary stats. Retail only. + local stats = C_Item.GetItemStats(data.link); + if stats then + for _, k in ipairs(TertiaryStats) do + if stats[k] then + local subtitle = _G[k]; + return true, subtitle; + end + end + end end end end From d0c82887a20a4b02407b2e9be3308e4e682ecbdb Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Tue, 19 May 2026 16:03:17 +0800 Subject: [PATCH 3/8] Activity Tab: Hide WIP Label - Remove the Work In Progress Label. --- Modules/ExpansionLandingPage/Basic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/ExpansionLandingPage/Basic.lua b/Modules/ExpansionLandingPage/Basic.lua index bf8b003..4595a91 100644 --- a/Modules/ExpansionLandingPage/Basic.lua +++ b/Modules/ExpansionLandingPage/Basic.lua @@ -1718,7 +1718,7 @@ do --Expansion Select local CurrentExpansionID; local ExpansionData = { [11] = {name = EXPANSION_NAME10}, --TWW - [12] = {name = EXPANSION_NAME11, isWIP = true}, --MID + [12] = {name = EXPANSION_NAME11, isWIP = false}, --MID [5] = {name = EXPANSION_NAME4}, --MOP }; From 7922547c9a6d73d38183c54491b20f7669cd8767 Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Thu, 21 May 2026 10:03:00 +0800 Subject: [PATCH 4/8] Loot Window: Exclude Certain Items from Celebration - Some trinkets have guaranteed tertiary stats. Exclude these stats when determining if the item has a bonus upgrade. --- Modules/LootUI_Main.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Modules/LootUI_Main.lua b/Modules/LootUI_Main.lua index 6cbe9ea..59cd240 100644 --- a/Modules/LootUI_Main.lua +++ b/Modules/LootUI_Main.lua @@ -2011,6 +2011,12 @@ do --Rare Items --"ITEM_MOD_STAMINA_SHORT", -- debug }; + local ItemStatExclusion = { + -- Items that come with tertiaries + [251783] = "ITEM_MOD_CR_SPEED_SHORT", -- Lost Idol of the Hash'ey + [262754] = "ITEM_MOD_CR_SPEED_SHORT", -- Void Pearl of Haste + }; + function IsRareItem(data) if RareItems[data.id] then return true; @@ -2024,8 +2030,9 @@ do --Rare Items -- Equipment with tertiary stats. Retail only. local stats = C_Item.GetItemStats(data.link); if stats then + local excludeStat = ItemStatExclusion[data.id]; for _, k in ipairs(TertiaryStats) do - if stats[k] then + if stats[k] and k ~= excludeStat then local subtitle = _G[k]; return true, subtitle; end From c82a780daf0f480a5c664add724e99fca0810a3f Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Thu, 21 May 2026 10:04:12 +0800 Subject: [PATCH 5/8] Clean Up Old PTR Code --- Initialization.lua | 2 +- Modules/ExpansionLandingPage/FactionUtil.lua | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Initialization.lua b/Initialization.lua index e1727e5..e0aa13d 100644 --- a/Initialization.lua +++ b/Initialization.lua @@ -570,7 +570,7 @@ do addon.IS_MOP = C_AddOns.GetAddOnMetadata(addonName, "X-Expansion") == "MOP"; - addon.IS_12_0_5 = IsToCVersionEqualOrNewerThan(120005); + addon.IS_12_0_7 = IsToCVersionEqualOrNewerThan(120005); function addon.GetLastLoginTime() diff --git a/Modules/ExpansionLandingPage/FactionUtil.lua b/Modules/ExpansionLandingPage/FactionUtil.lua index df848ac..02cae77 100644 --- a/Modules/ExpansionLandingPage/FactionUtil.lua +++ b/Modules/ExpansionLandingPage/FactionUtil.lua @@ -157,7 +157,7 @@ local OverrideFactionInfo = { do --Layout MID local MajorFactionLayout = { [1] = { - --{factionID = 2792}, --Ritual Sites + {factionID = 2792}, --Ritual Sites {factionID = 2764}, --Prey S1 {factionID = 2742, --Delves S1 subFactions = { @@ -184,9 +184,9 @@ do --Layout MID LandingPageUtil.AddExpansionData(12, "factionLayout", MajorFactionLayout); - if addon.IS_12_0_5 then --For PTR - table.insert(MajorFactionLayout[1], 1, {factionID = 2792}); - end + --if addon.IS_12_0_7 then --For PTR + --table.insert(MajorFactionLayout[1], 1, {factionID = 2792}); + --end end From 2c1d75cea48746e03793424cfcf185a37315d4eb Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Fri, 22 May 2026 15:13:45 +0800 Subject: [PATCH 6/8] Tooltip Vender Location: Only Applied to Bag Item Tooltips #442 --- Modules/GameTooltip_VendorLocation.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/GameTooltip_VendorLocation.lua b/Modules/GameTooltip_VendorLocation.lua index eec4e5e..f91cd38 100644 --- a/Modules/GameTooltip_VendorLocation.lua +++ b/Modules/GameTooltip_VendorLocation.lua @@ -56,6 +56,11 @@ do if self.enabled then if ItemData[itemID] and not InCombatLockdown() then + local info = tooltip.processingInfo; + if not (info and info.getterName == "GetBagItem") then + return false; + end + local data = ItemData[itemID]; self.currentData = data; From d185337d6309466cf4587c98192ee1440b5e8ba5 Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Fri, 22 May 2026 22:30:55 +0800 Subject: [PATCH 7/8] Fix TOC Version Detection --- Initialization.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Initialization.lua b/Initialization.lua index e0aa13d..01d5a0f 100644 --- a/Initialization.lua +++ b/Initialization.lua @@ -570,7 +570,7 @@ do addon.IS_MOP = C_AddOns.GetAddOnMetadata(addonName, "X-Expansion") == "MOP"; - addon.IS_12_0_7 = IsToCVersionEqualOrNewerThan(120005); + addon.IS_12_0_7 = IsToCVersionEqualOrNewerThan(120007); function addon.GetLastLoginTime() From a58cdc89c80ebaf1c77b0b474ba6feae933e487f Mon Sep 17 00:00:00 2001 From: Peter Yu <49627468+Peterodox@users.noreply.github.com> Date: Sat, 23 May 2026 20:33:07 +0800 Subject: [PATCH 8/8] Update Changelog --- Initialization.lua | 4 +-- Modules/ControlCenter/Changelog/enUS.lua | 31 ++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/Initialization.lua b/Initialization.lua index 01d5a0f..8b5fa9f 100644 --- a/Initialization.lua +++ b/Initialization.lua @@ -1,5 +1,5 @@ -local VERSION_TEXT = "1.9.2 b"; -local VERSION_DATE = 1778800000; +local VERSION_TEXT = "1.9.2 c"; +local VERSION_DATE = 1779500000; local addonName, addon = ... diff --git a/Modules/ControlCenter/Changelog/enUS.lua b/Modules/ControlCenter/Changelog/enUS.lua index 28d0a71..37c7030 100644 --- a/Modules/ControlCenter/Changelog/enUS.lua +++ b/Modules/ControlCenter/Changelog/enUS.lua @@ -9,6 +9,37 @@ local changelogs = addon.ControlCenter.changelogs; changelogs[10902] = { + { + type = "date", + versionText = "1.9.2 c", + timestamp = 1779500000, + }, + + { + type = "p", + bullet = true, + text = "Loot Window: Added a highlight effect to looted pets and equipment with bonus tertiary stats.", + }, + + { + type = "p", + bullet = true, + text = "Expansion Summary: Fixed a text display issue for \"Prey\" while on the quest \"Preferential Killing.\"", + }, + + { + type = "p", + bullet = true, + text = "Tooltips: Vendor location instructions now only display when hovering over items in your bags, rather than on all tooltip sources.", + }, + + { + type = "br", + }, + { + type = "br", + }, + { type = "date", versionText = "1.9.2 b",