mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
8796fab6d8
Built-in click casting drives the cast through secure frame attributes, bypassing the CastSpell/CastSpellByName/UseAction hooks that populate spell_queue -- so the heal-prediction lookup in the SPELL_START_SELF handler missed and no incoming heal showed. Populate spell_queue from the cast's own rank-specific spellId (via C_Spell.GetSpellName/GetSpellSubtext) right before the cache lookup, so prediction works regardless of how the cast was initiated. Deriving the rank from the actual spellId also fixes stale-rank lookups when a prior keybind cast left a different rank of the same spell queued.