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
 
class  instance_blackrock_depths
 
struct  instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript
 

Enumerations

enum  Timers {
  TIMER_SHADOWBOLT = 7000 ,
  TIMER_CURSE_TONGUES = 24000 ,
  TIMER_CURSE_WEAKNESS = 12000 ,
  TIMER_DEMON_ARMOR = 3000 ,
  TIMER_ENVELOPING_WEB = 16000 ,
  TIMER_SHADOWBOLT_VOLLEY = 7000 ,
  TIMER_REND = 20000 ,
  TIMER_SHIELD = 12000 ,
  TIMER_WHIRLWIND = 12000 ,
  TIMER_MORTAL = 22000 ,
  TIMER_BLOODLUST = 30000 ,
  TIMER_PARALYZING = 20000 ,
  TIMER_BANEFUL = 24000 ,
  TIMER_WEB_EXPLOSION = 20000 ,
  TIMER_ARCANE_BOLT = 7000 ,
  TIMER_ARCANE_EXPLOSION = 24000 ,
  TIMER_POLYMORPH = 12000 ,
  TIMER_SLOW = 15000 ,
  TIMER_TOMBOFTHESEVEN = 30000 ,
  TIMER_TOMB_START = 1000 ,
  TIMER_TOMB_RESET = 15000 ,
  TIMER_SOLAKAR_WAVE = 30000 ,
  TIMER_ARCANE_MIN = 8000 ,
  TIMER_ARCANE_MAX = 14000 ,
  TIMER_CURSE_MIN = 20000 ,
  TIMER_CURSE_MAX = 30000 ,
  TIMER_SHIELD_MIN = 30000 ,
  TIMER_SHIELD_MAX = 40000 ,
  TIMER_PORTAL = 25000
}
 
enum  Distances {
  RADIUS_RING_OF_LAW = 80 ,
  DISTANCE_EMPEROR_ROOM = 125
}
 
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_DRAKONID_BONES = 179804 ,
  GO_PORTCULLIS_ACTIVE = 164726 ,
  GO_PORTCULLIS_TOBOSSROOMS = 175186 ,
  GO_FACTORY_DOOR = 13965 ,
  GO_HEAVY_DOOR_1 = 17153 ,
  GO_HEAVY_DOOR_2 = 17154 ,
  GO_IRON_CLAD_DOOR = 16397 ,
  GO_DOOR_LEVER_1 = 101831 ,
  GO_DOOR_LEVER_2 = 101833 ,
  GO_DOOR_LEVER_3 = 101834 ,
  GO_CANNON = 16398 ,
  GO_CAVE_IN_1 = 146085 ,
  GO_CAVE_IN_2 = 146086 ,
  GO_WORKSHOP_DOOR = 90858 ,
  GO_FINAL_CHAMBER_DOOR = 142207 ,
  GO_COURTYARD_DOOR = 18895 ,
  GO_SORCERER_DOOR = 18972 ,
  GO_ARUGAL_DOOR = 18971 ,
  GO_SHKAF_GATE = 188686 ,
  GO_EXIT_GATE = 191788 ,
  GO_MALGANIS_CHEST_N = 190663 ,
  GO_MALGANIS_CHEST_H = 193597 ,
  GO_SUSPICIOUS_CRATE = 190094 ,
  GO_PLAGUED_CRATE = 190095 ,
  GO_OSSIRIAN_CRYSTAL = 180619 ,
  GO_NOVOS_CRYSTAL_1 = 189299 ,
  GO_NOVOS_CRYSTAL_2 = 189300 ,
  GO_NOVOS_CRYSTAL_3 = 189301 ,
  GO_NOVOS_CRYSTAL_4 = 189302 ,
  GO_FROSTMOURNE = 202302 ,
  GO_FROSTMOURNE_ALTAR = 202236 ,
  GO_FRONT_DOOR = 201976 ,
  GO_ARTHAS_DOOR = 197341 ,
  GO_CAVE_IN = 201596 ,
  GO_DOOR_BEFORE_THRONE = 197342 ,
  GO_DOOR_AFTER_THRONE = 197343 ,
  GO_ICE_WALL = 201385 ,
  GO_THE_SKYBREAKER = 201598 ,
  GO_ORGRIMS_HAMMER = 201599 ,
  GO_STAIRS_ALLIANCE = 201709 ,
  GO_STAIRS_HORDE = 202211 ,
  GO_CHEST_NORMAL = 201710 ,
  GO_CHEST_HEROIC = 202336 ,
  GO_PORTAL_TO_DALARAN = 195682 ,
  GO_ALTAR_OF_SLAD_RAN = 192518 ,
  GO_STATUE_OF_SLAD_RAN = 192564 ,
  GO_ALTAR_OF_DRAKKARI = 192520 ,
  GO_STATUE_OF_DRAKKARI = 192567 ,
  GO_ALTAR_OF_MOORABI = 192519 ,
  GO_STATUE_OF_MOORABI = 192565 ,
  GO_STATUE_OF_GAL_DARAH = 192566 ,
  GO_GUNDRAK_BRIDGE = 193188 ,
  GO_GUNDRAK_COLLISION = 192633 ,
  GO_ECK_DOORS = 192632 ,
  GO_ECK_UNDERWATER_GATE = 192569 ,
  GO_GAL_DARAH_DOORS0 = 192568 ,
  GO_GAL_DARAH_DOORS1 = 193208 ,
  GO_GAL_DARAH_DOORS2 = 193209 ,
  GO_MAIN_DOOR = 191723 ,
  GO_XEVOZZ_DOOR = 191556 ,
  GO_LAVANTHOR_DOOR = 191566 ,
  GO_ICHORON_DOOR = 191722 ,
  GO_ZURAMAT_DOOR = 191565 ,
  GO_EREKEM_DOOR = 191564 ,
  GO_EREKEM_GUARD_1_DOOR = 191563 ,
  GO_EREKEM_GUARD_2_DOOR = 191562 ,
  GO_MORAGG_DOOR = 191606 ,
  GO_INTRO_ACTIVATION_CRYSTAL = 193615 ,
  GO_ACTIVATION_CRYSTAL = 193611
}
 
enum  MiscData {
  SPELL_STONED = 10255 ,
  EQUIP_ID_SWORD = 49345 ,
  EQUIP_ID_MACE = 49344 ,
  GO_SARONITE_ROCK = 196485 ,
  MUSIC_ENCOUNTER = 17289 ,
  LIGHT_SNOWSTORM = 2490 ,
  LIGHT_SOULSTORM = 2508 ,
  EQUIP_ASHBRINGER = 13262 ,
  MUSIC_FROZEN_THRONE = 17457 ,
  MUSIC_SPECIAL = 17458 ,
  MUSIC_FURY_OF_FROSTMOURNE = 17459 ,
  MUSIC_FINAL = 17460 ,
  SOUND_PAIN = 17360 ,
  EQUIP_ASHBRINGER_GLOWING = 50442 ,
  EQUIP_BROKEN_FROSTMOURNE = 50840 ,
  MOVIE_FALL_OF_THE_LICH_KING = 16
}
 

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 
34{
37};
@ DISTANCE_EMPEROR_ROOM
Definition: instance_blackrock_depths.cpp:36
@ 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_DRAKONID_BONES 
GO_PORTCULLIS_ACTIVE 
GO_PORT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DOOR 
GO_ZURAMAT_DOOR 
GO_EREKEM_DOOR 
GO_EREKEM_GUARD_1_DOOR 
GO_EREKEM_GUARD_2_DOOR 
GO_MORAGG_DOOR 
GO_INTRO_ACTIVATION_CRYSTAL 
GO_ACTIVATION_CRYSTAL 
46{
47 GO_ARENA1 = 161525,
48 GO_ARENA2 = 161522,
49 GO_ARENA3 = 161524,
50 GO_ARENA4 = 161523,
51 GO_SHADOW_LOCK = 161460,
52 GO_SHADOW_MECHANISM = 161461,
53 GO_SHADOW_GIANT_DOOR = 157923,
54 GO_SHADOW_DUMMY = 161516,
55 GO_BAR_KEG_SHOT = 170607,
56 GO_BAR_KEG_TRAP = 171941,
57 GO_BAR_DOOR = 170571,
58 GO_TOMB_ENTER = 170576,
59 GO_TOMB_EXIT = 170577,
60 GO_LYCEUM = 170558,
61 GO_SF_N = 174745, // Shadowforge Brazier North
62 GO_SF_S = 174744, // Shadowforge Brazier South
63 GO_GOLEM_ROOM_N = 170573, // Magmus door North
64 GO_GOLEM_ROOM_S = 170574, // Magmus door Soutsh
65 GO_THRONE_ROOM = 170575, // Throne door
66 GO_SPECTRAL_CHALICE = 164869,
67 GO_CHEST_SEVEN = 169243,
68};
@ GO_SHADOW_MECHANISM
Definition: instance_blackrock_depths.cpp:52
@ GO_ARENA3
Definition: instance_blackrock_depths.cpp:49
@ GO_GOLEM_ROOM_N
Definition: instance_blackrock_depths.cpp:63
@ GO_SHADOW_LOCK
Definition: instance_blackrock_depths.cpp:51
@ GO_SHADOW_GIANT_DOOR
Definition: instance_blackrock_depths.cpp:53
@ GO_TOMB_EXIT
Definition: instance_blackrock_depths.cpp:59
@ GO_LYCEUM
Definition: instance_blackrock_depths.cpp:60
@ GO_SHADOW_DUMMY
Definition: instance_blackrock_depths.cpp:54
@ GO_SF_S
Definition: instance_blackrock_depths.cpp:62
@ GO_TOMB_ENTER
Definition: instance_blackrock_depths.cpp:58
@ GO_ARENA2
Definition: instance_blackrock_depths.cpp:48
@ GO_GOLEM_ROOM_S
Definition: instance_blackrock_depths.cpp:64
@ GO_BAR_DOOR
Definition: instance_blackrock_depths.cpp:57
@ GO_SF_N
Definition: instance_blackrock_depths.cpp:61
@ GO_BAR_KEG_SHOT
Definition: instance_blackrock_depths.cpp:55
@ GO_ARENA4
Definition: instance_blackrock_depths.cpp:50
@ GO_ARENA1
Definition: instance_blackrock_depths.cpp:47
@ GO_SPECTRAL_CHALICE
Definition: instance_blackrock_depths.cpp:66
@ GO_BAR_KEG_TRAP
Definition: instance_blackrock_depths.cpp:56
@ GO_THRONE_ROOM
Definition: instance_blackrock_depths.cpp:65
@ GO_CHEST_SEVEN
Definition: instance_blackrock_depths.cpp:67

◆ MiscData

enum MiscData
Enumerator
SPELL_STONED 
EQUIP_ID_SWORD 
EQUIP_ID_MACE 
GO_SARONITE_ROCK 
MUSIC_ENCOUNTER 
LIGHT_SNOWSTORM 
LIGHT_SOULSTORM 
EQUIP_ASHBRINGER 
MUSIC_FROZEN_THRONE 
MUSIC_SPECIAL 
MUSIC_FURY_OF_FROSTMOURNE 
MUSIC_FINAL 
SOUND_PAIN 
EQUIP_ASHBRINGER_GLOWING 
EQUIP_BROKEN_FROSTMOURNE 
MOVIE_FALL_OF_THE_LICH_KING 
71{
72 SPELL_STONED = 10255
73};
@ SPELL_STONED
Definition: instance_blackrock_depths.cpp:72

◆ PrincessQuests

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

◆ Timers

enum Timers
Enumerator
TIMER_SHADOWBOLT 
TIMER_CURSE_TONGUES 
TIMER_CURSE_WEAKNESS 
TIMER_DEMON_ARMOR 
TIMER_ENVELOPING_WEB 
TIMER_SHADOWBOLT_VOLLEY 
TIMER_REND 
TIMER_SHIELD 
TIMER_WHIRLWIND 
TIMER_MORTAL 
TIMER_BLOODLUST 
TIMER_PARALYZING 
TIMER_BANEFUL 
TIMER_WEB_EXPLOSION 
TIMER_ARCANE_BOLT 
TIMER_ARCANE_EXPLOSION 
TIMER_POLYMORPH 
TIMER_SLOW 
TIMER_TOMBOFTHESEVEN 
TIMER_TOMB_START 
TIMER_TOMB_RESET 
TIMER_SOLAKAR_WAVE 
TIMER_ARCANE_MIN 
TIMER_ARCANE_MAX 
TIMER_CURSE_MIN 
TIMER_CURSE_MAX 
TIMER_SHIELD_MIN 
TIMER_SHIELD_MAX 
TIMER_PORTAL 
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 ( )
854{
856}
Definition: instance_blackrock_depths.cpp:99

Referenced by AddEasternKingdomsScripts().

Variable Documentation

◆ MAX_ENCOUNTER

constexpr auto MAX_ENCOUNTER = 6
constexpr