AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
instance_blackrock_depths.cpp File Reference
#include "GameTime.h"
#include "InstanceMapScript.h"
#include "InstanceScript.h"
#include "Player.h"
#include "blackrock_depths.h"

Go to the source code of this file.

Classes

class  RestoreAttack
 
struct  instance_blackrock_depths
 

Enumerations

enum  Timers {
  TIMER_TOMBOFTHESEVEN = 30000 ,
  TIMER_TOMB_START = 1000 ,
  TIMER_TOMB_RESET = 15000
}
 
enum  Distances {
  RADIUS_RING_OF_LAW = 80 ,
  DISTANCE_EMPEROR_ROOM = 125 ,
  DISTANCE_VAULT_WARDER = 15
}
 
enum  PrincessQuests {
  PRINCESS_QUEST_HORDE = 4004 ,
  PRINCESS_QUEST_ALLIANCE = 4363
}
 
enum  GameObjects {
  GO_ARENA1 = 161525 ,
  GO_ARENA2 = 161522 ,
  GO_ARENA3 = 161524 ,
  GO_ARENA4 = 161523 ,
  GO_SHADOW_LOCK = 161460 ,
  GO_SHADOW_MECHANISM = 161461 ,
  GO_SHADOW_GIANT_DOOR = 157923 ,
  GO_SHADOW_DUMMY = 161516 ,
  GO_BAR_KEG_SHOT = 170607 ,
  GO_BAR_KEG_TRAP = 171941 ,
  GO_BAR_DOOR = 170571 ,
  GO_TOMB_ENTER = 170576 ,
  GO_TOMB_EXIT = 170577 ,
  GO_LYCEUM = 170558 ,
  GO_SF_N = 174745 ,
  GO_SF_S = 174744 ,
  GO_GOLEM_ROOM_N = 170573 ,
  GO_GOLEM_ROOM_S = 170574 ,
  GO_THRONE_ROOM = 170575 ,
  GO_SPECTRAL_CHALICE = 164869 ,
  GO_CHEST_SEVEN = 169243 ,
  GO_SECRET_DOOR = 174553 ,
  GO_SECRET_SAFE = 161495
}
 
enum  MiscData { SPELL_STONED = 10255 }
 

Functions

void AddSC_instance_blackrock_depths ()
 

Variables

constexpr auto MAX_ENCOUNTER = 6
 

Enumeration Type Documentation

◆ Distances

enum Distances
Enumerator
RADIUS_RING_OF_LAW 
DISTANCE_EMPEROR_ROOM 
DISTANCE_VAULT_WARDER 
34{
38};
@ DISTANCE_EMPEROR_ROOM
Definition instance_blackrock_depths.cpp:36
@ DISTANCE_VAULT_WARDER
Definition instance_blackrock_depths.cpp:37
@ RADIUS_RING_OF_LAW
Definition instance_blackrock_depths.cpp:35

◆ GameObjects

Enumerator
GO_ARENA1 
GO_ARENA2 
GO_ARENA3 
GO_ARENA4 
GO_SHADOW_LOCK 
GO_SHADOW_MECHANISM 
GO_SHADOW_GIANT_DOOR 
GO_SHADOW_DUMMY 
GO_BAR_KEG_SHOT 
GO_BAR_KEG_TRAP 
GO_BAR_DOOR 
GO_TOMB_ENTER 
GO_TOMB_EXIT 
GO_LYCEUM 
GO_SF_N 
GO_SF_S 
GO_GOLEM_ROOM_N 
GO_GOLEM_ROOM_S 
GO_THRONE_ROOM 
GO_SPECTRAL_CHALICE 
GO_CHEST_SEVEN 
GO_SECRET_DOOR 
GO_SECRET_SAFE 
47{
48 GO_ARENA1 = 161525,
49 GO_ARENA2 = 161522,
50 GO_ARENA3 = 161524,
51 GO_ARENA4 = 161523,
52 GO_SHADOW_LOCK = 161460,
53 GO_SHADOW_MECHANISM = 161461,
54 GO_SHADOW_GIANT_DOOR = 157923,
55 GO_SHADOW_DUMMY = 161516,
56 GO_BAR_KEG_SHOT = 170607,
57 GO_BAR_KEG_TRAP = 171941,
58 GO_BAR_DOOR = 170571,
59 GO_TOMB_ENTER = 170576,
60 GO_TOMB_EXIT = 170577,
61 GO_LYCEUM = 170558,
62 GO_SF_N = 174745, // Shadowforge Brazier North
63 GO_SF_S = 174744, // Shadowforge Brazier South
64 GO_GOLEM_ROOM_N = 170573, // Magmus door North
65 GO_GOLEM_ROOM_S = 170574, // Magmus door Soutsh
66 GO_THRONE_ROOM = 170575, // Throne door
67 GO_SPECTRAL_CHALICE = 164869,
68 GO_CHEST_SEVEN = 169243,
69 GO_SECRET_DOOR = 174553,
70 GO_SECRET_SAFE = 161495,
71};
@ GO_SHADOW_MECHANISM
Definition instance_blackrock_depths.cpp:53
@ GO_ARENA3
Definition instance_blackrock_depths.cpp:50
@ GO_GOLEM_ROOM_N
Definition instance_blackrock_depths.cpp:64
@ GO_SECRET_DOOR
Definition instance_blackrock_depths.cpp:69
@ GO_SHADOW_LOCK
Definition instance_blackrock_depths.cpp:52
@ GO_SHADOW_GIANT_DOOR
Definition instance_blackrock_depths.cpp:54
@ GO_TOMB_EXIT
Definition instance_blackrock_depths.cpp:60
@ GO_LYCEUM
Definition instance_blackrock_depths.cpp:61
@ GO_SHADOW_DUMMY
Definition instance_blackrock_depths.cpp:55
@ GO_SF_S
Definition instance_blackrock_depths.cpp:63
@ GO_TOMB_ENTER
Definition instance_blackrock_depths.cpp:59
@ GO_ARENA2
Definition instance_blackrock_depths.cpp:49
@ GO_GOLEM_ROOM_S
Definition instance_blackrock_depths.cpp:65
@ GO_BAR_DOOR
Definition instance_blackrock_depths.cpp:58
@ GO_SF_N
Definition instance_blackrock_depths.cpp:62
@ GO_BAR_KEG_SHOT
Definition instance_blackrock_depths.cpp:56
@ GO_SECRET_SAFE
Definition instance_blackrock_depths.cpp:70
@ GO_ARENA4
Definition instance_blackrock_depths.cpp:51
@ GO_ARENA1
Definition instance_blackrock_depths.cpp:48
@ GO_SPECTRAL_CHALICE
Definition instance_blackrock_depths.cpp:67
@ GO_BAR_KEG_TRAP
Definition instance_blackrock_depths.cpp:57
@ GO_THRONE_ROOM
Definition instance_blackrock_depths.cpp:66
@ GO_CHEST_SEVEN
Definition instance_blackrock_depths.cpp:68

◆ MiscData

enum MiscData
Enumerator
SPELL_STONED 
74{
75 SPELL_STONED = 10255
76};
@ SPELL_STONED
Definition instance_blackrock_depths.cpp:75

◆ PrincessQuests

Enumerator
PRINCESS_QUEST_HORDE 
PRINCESS_QUEST_ALLIANCE 
41{
44};
@ PRINCESS_QUEST_HORDE
Definition instance_blackrock_depths.cpp:42
@ PRINCESS_QUEST_ALLIANCE
Definition instance_blackrock_depths.cpp:43

◆ Timers

enum Timers
Enumerator
TIMER_TOMBOFTHESEVEN 
TIMER_TOMB_START 
TIMER_TOMB_RESET 
27{
29 TIMER_TOMB_START = 1000,
30 TIMER_TOMB_RESET = 15000
31};
@ TIMER_TOMB_START
Definition instance_blackrock_depths.cpp:29
@ TIMER_TOMB_RESET
Definition instance_blackrock_depths.cpp:30
@ TIMER_TOMBOFTHESEVEN
Definition instance_blackrock_depths.cpp:28

Function Documentation

◆ AddSC_instance_blackrock_depths()

void AddSC_instance_blackrock_depths ( )
892{
894}
@ MAP_BLACKROCK_DEPTHS
Definition AreaDefines.h:205
#define RegisterInstanceScript(script_name, mapId)
Definition InstanceMapScript.h:45
Definition instance_blackrock_depths.cpp:102

References MAP_BLACKROCK_DEPTHS, and RegisterInstanceScript.

Referenced by AddEasternKingdomsScripts().

Variable Documentation

◆ MAX_ENCOUNTER

constexpr auto MAX_ENCOUNTER = 6
constexpr

Referenced by instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::GetGuidData(), instance_zulaman::instance_zulaman_InstanceMapScript::Initialize(), instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript::Initialize(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::Initialize(), instance_ahnkahet::instance_ahnkahet_InstanceScript::instance_ahnkahet_InstanceScript(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::instance_forge_of_souls_InstanceScript(), instance_gruuls_lair::instance_gruuls_lair_InstanceMapScript::instance_gruuls_lair_InstanceMapScript(), instance_halls_of_reflection::instance_halls_of_reflection(), instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript::instance_magisters_terrace_InstanceMapScript(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::instance_magtheridons_lair_InstanceMapScript(), instance_mechanar::instance_mechanar_InstanceMapScript::instance_mechanar_InstanceMapScript(), instance_molten_core::instance_molten_core(), instance_the_botanica::instance_the_botanica_InstanceMapScript::instance_the_botanica_InstanceMapScript(), instance_the_eye::instance_the_eye_InstanceMapScript::instance_the_eye_InstanceMapScript(), instance_ulduar::instance_ulduar_InstanceMapScript::instance_ulduar_InstanceMapScript(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::IsEncounterInProgress(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::IsEncounterInProgress(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::IsEncounterInProgress(), instance_ulduar::instance_ulduar_InstanceMapScript::IsEncounterInProgress(), instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript::IsEncounterInProgress(), instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::IsEncounterInProgress(), instance_blackrock_depths::Load(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::Load(), instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::OnPlayerEnter(), instance_ulduar::instance_ulduar_InstanceMapScript::SetBossState(), instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript::SetData(), and instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript::Update().