mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
DB/Spawns: Rampart of skulls
Closes #23966
(cherry picked from commit 366ec08160)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user