fix(DB/Creature): Remove extra Shaffar adds (#22255)

This commit is contained in:
Martin Leuner
2025-06-05 17:43:52 +02:00
committed by GitHub
parent b0c2d3a13b
commit 1f082cb29c
2 changed files with 10 additions and 6 deletions

View File

@@ -66,13 +66,7 @@ struct boss_nexusprince_shaffar : public BossAI
void Reset() override
{
_Reset();
float dist = 8.0f;
float posX, posY, posZ, angle;
me->GetHomePosition(posX, posY, posZ, angle);
summons.DespawnAll();
me->SummonCreature(NPC_BEACON, posX - dist, posY - dist, posZ, angle, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 7200000);
me->SummonCreature(NPC_BEACON, posX - dist, posY + dist, posZ, angle, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 7200000);
me->SummonCreature(NPC_BEACON, posX + dist, posY, posZ, angle, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 7200000);
}
void MoveInLineOfSight(Unit* who) override