diff options
author | Killyana <morphone1@gmail.com> | 2019-12-13 21:28:58 +0100 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2019-12-13 21:28:58 +0100 |
commit | 366ec081607a04de0195672c87711ce0dcc38dfd (patch) | |
tree | eb3c9ce066e34e8c30c88c5f24071614487bc17e /src | |
parent | 268e73964842087aee6e354bd9ec634eefbc2dd4 (diff) |
DB/Spawns: Rampart of skulls
Closes #23966
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp index a3c150b9de6..9aee6d48dea 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp @@ -51,6 +51,12 @@ enum TimedEvents EVENT_RESPAWN_GUNSHIP = 4 }; +enum SpawnGroups +{ + SPAWN_GROUP_ALLIANCE_ROS = 57, + SPAWN_GROUP_HORDE_ROS = 58 +}; + BossBoundaryData const boundaries = { { DATA_LORD_MARROWGAR, new CircleBoundary(Position(-428.0f,2211.0f), 95.0) }, @@ -183,6 +189,10 @@ class instance_icecrown_citadel : public InstanceMapScript if (!TeamInInstance) TeamInInstance = player->GetTeam(); + uint8 spawnGroupId = TeamInInstance == ALLIANCE ? SPAWN_GROUP_ALLIANCE_ROS : SPAWN_GROUP_HORDE_ROS; + if (!instance->IsSpawnGroupActive(spawnGroupId)) + instance->SpawnGroupSpawn(spawnGroupId); + if (GetBossState(DATA_LADY_DEATHWHISPER) == DONE && GetBossState(DATA_ICECROWN_GUNSHIP_BATTLE) != DONE) SpawnGunship(); |