mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
4.3.4's CGIncomingResurrection. SMSG_SPELL_START adds a resurrect cast under its object target, a unit or a corpse. SMSG_SPELL_GO, the failure packets and ClearCastingSpell (through Spell::Cast, Turtle's only interrupt signal) end it. A cast whose caster leaves view never reports its end, so it ends on the next world tick. Each change fires the event for every token naming the target, or the corpse's owner. 1.12's class resurrections carry effect 113, not 4.3.4's 18, so both count. Object::Corpse::ByOwner, lifted from spell/Range.cpp, now skips bones as 4.3.4's ClntObjMgrFindCorpseByOwner does. Turtle's bones keep their owner, so old bones hid a ghost's live corpse, from this API and from the range check's ghost redirect. HasEffect moves from CombatLog to Spell::Lookup, and the SpellCastTargets object mask 0x8A02 becomes one Offsets.h constant.