Panda's HealPad
What's new
Panda's HealPad 1.17.1
Fixed
- Shield, Renew, Prayer of Mending and Weakened Soul in combat (#21). The addon checks whether the game will let it read these buffs in combat. That check used to look at one spell ID. On Forever every rank has its own ID, so the answer could be wrong for the rank you actually cast. It now checks the spell name and every rank's ID. If any of them say "hidden", the addon treats the buff as hidden and uses its own tracking instead.
Changed
/healpad diag: the aura section now shows, for each of those four spells, what the game says by name, by spell ID and across all ranks. That makes it easier to see what the client is hiding.
Under the hood
None of these are meant to change how the addon looks or behaves.
- The frame size and hurt % −/+ buttons in settings share one piece of code. They keep the same limits (size 0.7–1.6, hurt 50–99%) and still wait for combat to end before relaying out.
- Buff checks scan your auras once instead of twice.
- Party, raid and target bars sit in one list, so hiding bars, the global cooldown sweep, applying spell binds and refreshing buff icons all use the same loop.
- Raid group lookups and the Shift/Ctrl/Alt check are each done in one place. They are used for range dimming, the click hook and the raid layout.
- One dead/ghost check is shared by the tooltip and the bar painter.
- One table sets the health colours (above 55%, 30–55%, under 30%). It drives the bar colour, the text colour and the hidden-health look.
- One function places the addon's own buff icons, used for Weakened Soul, the fallback marks and test mode.
- The spell picker's rows and list use one mouse-wheel scroll handler.
- Smaller tidy-ups:
- the unit list for cast tracking is built once at load;
- a duplicate known-spell check is gone;
- duplicate size and hide calls are gone.
This mod has no additional files