Army of the Dead ghouls appear instantly instead of rising out of the ground
Current Behaviour
Army of the Dead (42650) ghouls (Army of the Dead Ghoul, 24207) pop into existence at full height and attack immediately. No spawn animation plays.
Expected Behaviour
Each ghoul should play a "rise out of the ground" animation when it is summoned, before it starts attacking.
Source
Needs sniff confirmation, which is why this is filed as an issue and not a PR. If you have a 3.3.5 sniff of a Death Knight casting Army of the Dead, the ghoul's SMSG_SPELL_START / SMSG_SPELL_GO right after it spawns should show which spell it uses.
Candidates (all SPELL_EFFECT_SPAWN (46), which the client animates; AC treats effect 46 as unused server-side, so the ghoul only needs to cast it):
| Spell | Name | Cast time | Visual | Notes |
|---|---|---|---|---|
| 63107 | Army of the Dead (Spawn) | instant | 10157 | Name matches, no threat; no core uses it that I could find |
| 47448 | Risen Ghoul Spawn-In | instant | 10157 | Same visual as 63107 |
| 7398 | Birth | 2 s | 735 | What cMaNGOS casts, see below |
cMaNGOS casts Birth (7398) on each ghoul in ArmyOfTheDeadGhoul::OnSummon, along with 51996, 67561 and 61697:
https://github.com/cmangos/mangos-wotlk/commit/c0f5fdcd99698d973be852365920b4807ef0709f
Neither the commit nor the code says the spell list came from a sniff. TrinityCore casts no spawn spell for these ghouls.
Steps to reproduce the problem
- Log in as a level 80 Death Knight.
- Stand near an enemy and cast Army of the Dead (42650).
- Watch the ghouls appear: they show up at full height with no rise animation and attack right away.
Extra Notes
The ghoul AI is npc_pet_dk_army_of_the_dead in src/server/scripts/Pet/pet_dk.cpp. Once the right spell is known, the fix is likely a self-cast from IsSummonedBy.
AC rev. hash/commit
AzerothCore rev. 80a36c8e25eedc7335e37b3aba03ca17f09c0652 (https://github.com/azerothcore/azerothcore-wotlk/commit/80a36c8e25eedc7335e37b3aba03ca17f09c0652)
Operating system
Windows 11 x64
Custom changes or Modules
None
Source: azerothcore/azerothcore-wotlk