fix(Scripts/Naxxramas): Gluth - zombie chow locations (#27074)

This commit is contained in:
Eddy Vega
2026-09-07 20:38:13 +02:00
committed by GitHub
parent fea7a17e0f
commit d7ce67dc18
@@ -193,26 +193,16 @@ public:
events.Repeat(RAID_MODE(110s, 90s));
break;
case EVENT_SUMMON_ZOMBIE:
// \1 |0 /2 pos
if (Is25ManRaid())
{
uint8 rand = urand(0, 2);
for (int32 i = 0; i < RAID_MODE(1, 2); ++i)
{
// In 10 man raid, normal mode - should spawn only from mid gate
// \1 |0 /2 pos
// In 25 man raid - should spawn from all 3 gates
if (me->GetMap()->GetDifficulty() == RAID_DIFFICULTY_10MAN_NORMAL)
{
me->SummonCreature(NPC_ZOMBIE_CHOW, zombiePos[0]);
}
else
{
me->SummonCreature(NPC_ZOMBIE_CHOW, zombiePos[urand(0, 2)]);
}
(rand == 2 ? rand = 0 : rand++);
}
events.Repeat(10s);
break;
me->SummonCreature(NPC_ZOMBIE_CHOW, zombiePos[1]);
me->SummonCreature(NPC_ZOMBIE_CHOW, zombiePos[2]);
}
else
me->SummonCreature(NPC_ZOMBIE_CHOW, zombiePos[0]);
events.Repeat(10s);
break;
case EVENT_CAN_EAT_ZOMBIE:
events.Repeat(1s);
if (me->GetVictim()->GetEntry() == NPC_ZOMBIE_CHOW && me->IsWithinMeleeRange(me->GetVictim()))