mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-21 22:58:24 -04:00
Classic 1.12 SMSG_CAST_RESULT uses an enum starting at 0=AFFECTING_COMBAT (no SUCCESS entry), while WotLK starts at 0=SUCCESS, 1=AFFECTING_COMBAT. Without this override, Classic result codes were handled by TBC's parseCastResult which passed them unshifted, causing result 0 (AFFECTING_COMBAT) to be silently treated as success with no error shown. This applies the same +1 shift used in parseCastFailed so all Classic spell failure codes map correctly to getSpellCastResultString.