mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-24 00:26:55 +00:00
554c447514
GetActionInfo + GetMacroSpell resolve each action slot to a spell name (or skip if it's an item / empty / non-resolvable macro). The names to match against come from C_Spell.GetSpellName on the canonical rank-1 spellIDs (78 = Heroic Strike, 845 = Cleave) so the comparison is locale-independent without hardcoding all ranks: every rank of Heroic Strike returns the same localized name. Replaces the old two-path scan (texture string match + hardcoded English name match against "heroic strike" / "hs" / "cleave"). Closes two correctness holes the old logic had: macros that cast HS/Cleave with a custom icon now match correctly, and macros merely *named* "HS" without actually casting HS no longer false-match.