mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Three values 1.12's messages leave out, read from what the client already holds at the moment each message arrives. DAMAGE_SHIELD: the owner's one damage-shield aura (EffectApplyAuraName 15) of the damage's school names the shield — Thorns, Fire Shield, Retribution Aura. Two of one school on one owner, or an owner out of view, keep the unnamed form. SPELL_DISPEL, SPELL_DISPEL_FAILED and SPELL_INSTAKILL: the server sends each from the spell's effect handler, in the same tick as and after that cast's SMSG_SPELL_GO. CombatLog::RecentCasts keeps the last second of hit lists, fed from Casts.cpp's existing SPELL_GO parse, and names the caster's newest cast at the target with a dispel effect (38, 108), or the caster of the newest cast of the instakill spell at the victim. A dispel from an aura (Abolish Poison) has no cast and stays unnamed. Verified live: Remove Lesser Curse -> SPELL_DISPEL 475 "Remove Lesser Curse" "Curse of Tongues"; a druid's Thorns -> DAMAGE_SHIELD 9910 "Thorns".