mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-08-02 02:41:11 -04:00
Healing yourself mid-fight meant dropping the target, casting, and picking it back up again. Retail falls back to the caster when a beneficial spell is cast with nothing friendly selected. A heal and a nuke cannot be told apart by effect id or school — both are APPLY_AURA, both can be Holy. Spell.dbc's EffectImplicitTargetA can: it is what the spell expects to be aimed at. Verified against the shipped data, where Flash Heal, Rejuvenation, Mark of the Wild, Arcane Intellect and Blessing of Might all read 21 while Smite, Fireball, Shadow Bolt and Shadow Word: Pain read 6. The column moves with the expansion — 82 in vanilla and Turtle, 86 in TBC and WotLK — so it is added to each layout with the index checked against that expansion's own file. Only the "needs an ally" case falls back. A spell that takes either target, like Dispel Magic, is left alone: choosing between cleansing yourself and purging an enemy is guessing at what the keypress meant. Self-only spells already resolve through their range and are untouched.