From 6c0a3de675c05f7e6d2810d5577e6d9631c9313d Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 12 Jul 2024 17:11:56 -0700 Subject: [PATCH] fix: #2170 specific aura variable indexes 1,2,3 not working on buff/debuff icons --- CHANGELOG.md | 5 ++++- Components/IconTypes/IconType_buff/buff.lua | 2 +- Options/CHANGELOG.lua | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f096f356..d5639ed8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## v10.2.8 -* Fix dragging a spell to an icon not working in WoW 10.2.7. +* Fix: dragging a spell to an icon not working in WoW 10.2.7. +* Fix: #2168 floating point errors in alpha animations +* Fix: Icon fade animations not always working on condition icons +* Fix: #2170 specific aura variable indexes 1,2,3 not working on buff/debuff icons ## v10.2.7 * Initial support for WoW 11.0 diff --git a/Components/IconTypes/IconType_buff/buff.lua b/Components/IconTypes/IconType_buff/buff.lua index acf52610..c0d7b673 100644 --- a/Components/IconTypes/IconType_buff/buff.lua +++ b/Components/IconTypes/IconType_buff/buff.lua @@ -611,7 +611,7 @@ function Type:HandleYieldedInfo(icon, iconToSet, unit, instance) end else -- icon.ShowTTText is a number if it isn't false and it isn't true - count = select(icon.ShowTTText, v1, v2, v3) + count = instance.points[icon.ShowTTText] end end diff --git a/Options/CHANGELOG.lua b/Options/CHANGELOG.lua index f21ae5ce..ee2337bb 100644 --- a/Options/CHANGELOG.lua +++ b/Options/CHANGELOG.lua @@ -4,7 +4,10 @@ TMW.CHANGELOG_LASTVER="7.4.0" TMW.CHANGELOG = [==[ ## v10.2.8 -* Fix dragging a spell to an icon not working in WoW 10.2.7. +* Fix: dragging a spell to an icon not working in WoW 10.2.7. +* Fix: #2168 floating point errors in alpha animations +* Fix: Icon fade animations not always working on condition icons +* Fix: #2170 specific aura variable indexes 1,2,3 not working on buff/debuff icons ## v10.2.7 * Initial support for WoW 11.0