diff --git a/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.lua b/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.lua index 40d685dcc..9bea37063 100644 --- a/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.lua +++ b/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.lua @@ -1,5 +1,7 @@ --[[ -Written by: Hugh@Burning Blade-US and Simca@Malfurion-US +Written by: Simca@Malfurion-US + +Thanks to Hugh@Burning-Blade, a co-author for the first few versions of the AddOn. Special thanks to Nullberri, Ro, and Warla for helping at various points throughout the addon's development. ]]-- diff --git a/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.toc b/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.toc index 91140a11e..24748d08a 100644 --- a/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.toc +++ b/Interface/AddOns/BattlePetBreedID/BattlePetBreedID.toc @@ -1,10 +1,10 @@ ## Interface: 100000 ## Title: Battle Pet BreedID -## Author: Simca@Malfurion and Hugh@Burning Blade +## Author: Simca@Malfurion ## Notes: Battle Pet BreedID displays the BreedID of pets in your journal, in battle, in chat links, and in AH tooltips. -## Version: v1.22.1 +## Version: v1.22.2 ## X-Category: Pet Battles -## X-Date: 2022-10-25T06:27:43Z +## X-Date: 2022-10-31T05:47:35Z ## X-License: BSD ## X-Localizations: enUS ## X-Curse-Project-ID: 45935 diff --git a/Interface/AddOns/BattlePetBreedID/BreedTooltips.lua b/Interface/AddOns/BattlePetBreedID/BreedTooltips.lua index 0fcbdb19d..474548b5f 100644 --- a/Interface/AddOns/BattlePetBreedID/BreedTooltips.lua +++ b/Interface/AddOns/BattlePetBreedID/BreedTooltips.lua @@ -1,5 +1,7 @@ --[[ -Written by: Hugh@Burning Blade-US and Simca@Malfurion-US +Written by: Simca@Malfurion-US + +Thanks to Hugh@Burning-Blade, a co-author for the first few versions of the AddOn. Special thanks to Ro for letting me bounce solutions off him regarding tooltip conflicts. ]]-- @@ -71,7 +73,10 @@ function BPBID_SetBreedTooltip(parent, speciesID, tblBreedID, rareness, tooltipD for i = 1, 10 do local t = _G["TSMExtraTip" .. i] if t then - local _, relativeFrame = t:GetPoint("TOP") + -- It probably never matters which point we check to learn the relative frame + -- This is because TSM tooltips should only be relative to one frame each + -- If this changes in the future or this assumption is wrong, we'll have to iterate points here + local _, relativeFrame = t:GetPoint() if (relativeFrame == BattlePetTooltip) then t:ClearAllPoints() t:SetParent(BPBID_BreedTooltip) diff --git a/Interface/AddOns/BattlePetBreedID/CHANGELOG.md b/Interface/AddOns/BattlePetBreedID/CHANGELOG.md index 898163664..fea5246a9 100644 --- a/Interface/AddOns/BattlePetBreedID/CHANGELOG.md +++ b/Interface/AddOns/BattlePetBreedID/CHANGELOG.md @@ -1,6 +1,8 @@ # Battle Pet BreedID -## v1.22.1 (2022-10-25) +## v1.22.2 (2022-10-31) -- Rewrote options panel to work in Patch 10.0. +- Removed an outdated form of GetPoint usage. +- Updated author attribution slightly. + Hugh stopped being a co-author for this addon over a decade ago at this point. diff --git a/Interface/AddOns/BattlePetBreedID/OptionsPanel.lua b/Interface/AddOns/BattlePetBreedID/OptionsPanel.lua index a1f2055fc..aef388813 100644 --- a/Interface/AddOns/BattlePetBreedID/OptionsPanel.lua +++ b/Interface/AddOns/BattlePetBreedID/OptionsPanel.lua @@ -1,5 +1,7 @@ --[[ -Written by: Hugh@Burning Blade-US and Simca@Malfurion-US +Written by: Simca@Malfurion-US + +Thanks to Hugh@Burning-Blade, a co-author for the first few versions of the AddOn. Special thanks to Ro for inspiration for the overall structure of this options panel (and the title/version/description code) ]]-- diff --git a/Interface/AddOns/BattlePetBreedID/PetData.lua b/Interface/AddOns/BattlePetBreedID/PetData.lua index d7e4877a9..b419bdd4f 100644 --- a/Interface/AddOns/BattlePetBreedID/PetData.lua +++ b/Interface/AddOns/BattlePetBreedID/PetData.lua @@ -1,9 +1,9 @@ --[[ BattlePetBreedID: Pet Data Module -Last Update: Patch 9.2.7 PTR; 2022-07-20T17:33:35Z +Last Update: Patch 9.2.7 PTR; 2022-10-31T05:47:02Z If you would like a copy of this data in a different format for your own purposes or to be informed of future updates: -Contact MMOSimca / Simca@Malfurion - either through MMO-Champion, through CurseForge, or in-game +Contact MMOSimca / Simca@Malfurion-US - either through MMO-Champion, through CurseForge, or in-game You may use this compiled data in any form for any purpose without my permission (though it'd be cool if you gave a shoutout somewhere). Ultimately, it's all property of Blizzard Entertainment anyway. ]]--