mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Ulduar: Fixed amount of Mole Machines in Razorscale 10 man
(cherry picked from commit f609589e22)
This commit is contained in:
@@ -590,12 +590,12 @@ struct boss_razorscale : public BossAI
|
||||
break;
|
||||
case EVENT_SUMMON_MINIONS:
|
||||
{
|
||||
uint8 random = urand(2, 4);
|
||||
uint8 random = RAID_MODE<uint8>(2, urand(2, 4));
|
||||
uint8 time = 5;
|
||||
for (uint8 n = 0; n < random; ++n)
|
||||
{
|
||||
events.ScheduleEvent(EVENT_SUMMON_MINIONS_2, Seconds(time), 0, PHASE_AIR);
|
||||
time += 5;
|
||||
time += urand(2, 5);
|
||||
}
|
||||
events.Repeat(Seconds(40));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user