mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
314d89e30d
Replaces the texture-from-action + "no macro text" heuristic with a proper resolve-to-spellID step. Macros that cast a 40y heal but display a non-spell icon (custom macro icon, /castsequence wrappers, etc.) now match correctly — the previous code missed them because GetActionTexture returns the macro's icon, not the underlying spell's. C_Spell.GetSpellTexture(spellID) returns the spell's intrinsic icon path, which is what the class-spell table is keyed on, so the texture-comparison logic is unchanged.