fix(Scripts/World): Swap Shard communication spell to direct cast instead of AoE. (#22764)

This commit is contained in:
Benjamin Jackson
2025-09-01 21:40:12 -04:00
committed by GitHub
parent 611c9296ff
commit 033a6e31ed

View File

@@ -519,7 +519,8 @@ struct npc_necrotic_shard : public ScriptedAI
// Buff Players.
DoCastSelf(SPELL_SOUL_REVIVAL, true);
// Sending the Death Bolt.
DoCastAOE(SPELL_COMMUNIQUE_CAMP_TO_RELAY_DEATH, true);
if (Creature* relay = GetClosestCreatureWithEntry(me, NPC_NECROPOLIS_RELAY, 200.0f))
me->CastSpell(relay, SPELL_COMMUNIQUE_CAMP_TO_RELAY_DEATH, true);
DespawnCultists(); // Despawn remaining Cultists (should never happen).
DespawnEventDoodads();
sWorldState->Save(SAVE_ID_SCOURGE_INVASION);