From 8ad932b5295ba8d5fccba7072119526f49dc4cc2 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Thu, 21 May 2026 03:32:18 -0500 Subject: [PATCH] removed some hardcoded strings --- api/unitframes.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index f00511f6..f7a7dc9d 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -38,9 +38,9 @@ end -- reused by other spells. Maps icon (lowercased) → expected aura name + -- libpredict key for the prediction integration. local HOT_INDICATORS = { - ["interface\\icons\\spell_nature_rejuvenation"] = { name = "rejuvenation", predict = "Reju" }, - ["interface\\icons\\spell_holy_renew"] = { name = "renew", predict = "Renew" }, - ["interface\\icons\\spell_nature_resistnature"] = { name = "regrowth", predict = "Regr" }, + [strlower(C_Spell.GetSpellTexture(774))] = { name = strlower(C_Spell.GetSpellName(774)), predict = "Reju" }, + [strlower(C_Spell.GetSpellTexture(139))] = { name = strlower(C_Spell.GetSpellName(139)), predict = "Renew" }, + [strlower(C_Spell.GetSpellTexture(8936))] = { name = strlower(C_Spell.GetSpellName(8936)), predict = "Regr" }, } local glow = {