mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-08-04 11:55:07 -04:00
Every spell fix this week was verified by hand against the DBCs, which found the bugs but did nothing to stop them coming back. The decision logic is now a set of pure functions in spell_classification.hpp, driven by DBC data rather than spell ids, and SpellHandler delegates to them so the tested code is the code that runs. 31 assertions across 8 cases, each pinned to a real regression: a physical-school self-buff must not read as melee (Battle Shout), a physical-school 35-yard shot must not read as melee (Steady Shot, Taunt, Deadly Throw), and a superseded rank must resolve to the highest rank actually known while leaving item spells and other classes' spells alone.
6.0 KiB
6.0 KiB