>wowhelm_
Loading ruleset status…
~/forever/addon-api/source/1.60.1.70755

Interface/AddOns/Blizzard_ActionBar/Camelot/ActionButtonUtilOverrides.lua

1.60.1.70755 compared with 1.60.1.70707 · 2026-11-03 · +12 −0· view file
@@ -0,0 +1,12 @@
+-- We want to only show highlighting on spells that are not on your bar but the highest rank.
+function ActionButtonUtil.OverrideStatusForUnplacedSpell(status, spellID, notOnBar)
+ if notOnBar then
+ -- check if spellID is the highest rank, if it isn't then just give it ActionButtonUtil.ActionBarActionStatus.NotMissing
+ if C_ActionBar.IsHighestSpellRank(spellID) then
+ status = ActionButtonUtil.ActionBarActionStatus.MissingFromAllBars;
+ else
+ status = ActionButtonUtil.ActionBarActionStatus.NotMissing;
+ end
+ end
+ return status;
+end