AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
blackwing_lair.h File Reference
#include "CreatureAIImpl.h"

Go to the source code of this file.

Macros

#define BWLScriptName   "instance_blackwing_lair"
 
#define DataHeader   "BWL"
 
#define RegisterBlackwingLairCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetBlackwingLairAI)
 

Enumerations

enum  BWLEncounter {
  DATA_RAZORGORE_THE_UNTAMED = 0 ,
  DATA_VAELASTRAZ_THE_CORRUPT = 1 ,
  DATA_BROODLORD_LASHLAYER = 2 ,
  DATA_FIREMAW = 3 ,
  DATA_EBONROC = 4 ,
  DATA_FLAMEGOR = 5 ,
  DATA_CHROMAGGUS = 6 ,
  DATA_NEFARIAN = 7 ,
  DATA_LORD_VICTOR_NEFARIUS = 8 ,
  DATA_GRETHOK = 9 ,
  DATA_NEFARIAN_TROOPS = 10 ,
  DATA_GO_CHROMAGGUS_DOOR = 11 ,
  DATA_GO_CHROMAGGUS_DOOR_EXIT = 12
}
 
enum  BWLCreatureIds {
  NPC_GRETHOK = 12557 ,
  NPC_BLACKWING_GUARDSMAN = 14456 ,
  NPC_NEFARIAN_TROOPS = 14459 ,
  NPC_RAZORGORE = 12435 ,
  NPC_BLACKWING_DRAGON = 12422 ,
  NPC_BLACKWING_TASKMASTER = 12458 ,
  NPC_BLACKWING_LEGIONAIRE = 12416 ,
  NPC_BLACKWING_WARLOCK = 12459 ,
  NPC_BLACKWING_MAGE = 12420 ,
  NPC_VAELASTRAZ = 13020 ,
  NPC_BROODLORD = 12017 ,
  NPC_FIREMAW = 11983 ,
  NPC_EBONROC = 14601 ,
  NPC_FLAMEGOR = 11981 ,
  NPC_CHROMAGGUS = 14020 ,
  NPC_VICTOR_NEFARIUS = 10162 ,
  NPC_NEFARIAN = 11583 ,
  NPC_BLACK_SPAWNER = 14307 ,
  NPC_RED_SPAWNER = 14309 ,
  NPC_GREEN_SPAWNER = 14310 ,
  NPC_BRONZE_SPAWNER = 14311 ,
  NPC_BLUE_SPAWNER = 14312 ,
  NPC_BRONZE_DRAKONID = 14263 ,
  NPC_BLUE_DRAKONID = 14261 ,
  NPC_RED_DRAKONID = 14264 ,
  NPC_GREEN_DRAKONID = 14262 ,
  NPC_BLACK_DRAKONID = 14265 ,
  NPC_CHROMATIC_DRAKONID = 14302 ,
  NPC_BONE_CONSTRUCT = 14605
}
 
enum  BWLGameObjectIds {
  GO_BLACK_DRAGON_EGG = 177807 ,
  GO_PORTCULLIS_RAZORGORE = 175946 ,
  GO_PORTCULLIS_RAZORGORE_ROOM = 176964 ,
  GO_PORTCULLIS_VAELASTRASZ = 175185 ,
  GO_PORTCULLIS_BROODLORD = 179365 ,
  GO_PORTCULLIS_THREEDRAGONS = 179115 ,
  GO_CHROMAGGUS_LEVER = 179148 ,
  GO_PORTCULLIS_CHROMAGGUS = 179116 ,
  GO_PORTCULLIS_CHROMAGGUS_EXIT = 179117 ,
  GO_PORTCULLIS_NEFARIAN = 176966 ,
  GO_SUPPRESSION_DEVICE = 179784
}
 
enum  BWLEvents {
  EVENT_RAZOR_SPAWN = 1 ,
  EVENT_RAZOR_PHASE_TWO = 2 ,
  EVENT_RESPAWN_NEFARIUS = 3
}
 
enum  BWLMisc {
  ACTION_PHASE_TWO = 1 ,
  DATA_EGG_EVENT = 2 ,
  TALK_EGG_BROKEN_RAND = 3 ,
  SAY_NEFARIAN_VAEL_INTRO = 14 ,
  DATA_NEFARIAN_LEFT_TUNNEL = 15 ,
  DATA_NEFARIAN_RIGHT_TUNNEL = 16 ,
  ACTION_NEFARIUS_ADD_KILLED = 2
}
 

Functions

template<class AI , class T >
AI * GetBlackwingLairAI (T *obj)
 

Variables

constexpr uint32 EncounterCount = 8
 

Macro Definition Documentation

◆ BWLScriptName

#define BWLScriptName   "instance_blackwing_lair"

◆ DataHeader

#define DataHeader   "BWL"

◆ RegisterBlackwingLairCreatureAI

#define RegisterBlackwingLairCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetBlackwingLairAI)

Enumeration Type Documentation

◆ BWLCreatureIds

Enumerator
NPC_GRETHOK 
NPC_BLACKWING_GUARDSMAN 
NPC_NEFARIAN_TROOPS 
NPC_RAZORGORE 
NPC_BLACKWING_DRAGON 
NPC_BLACKWING_TASKMASTER 
NPC_BLACKWING_LEGIONAIRE 
NPC_BLACKWING_WARLOCK 
NPC_BLACKWING_MAGE 
NPC_VAELASTRAZ 
NPC_BROODLORD 
NPC_FIREMAW 
NPC_EBONROC 
NPC_FLAMEGOR 
NPC_CHROMAGGUS 
NPC_VICTOR_NEFARIUS 
NPC_NEFARIAN 
NPC_BLACK_SPAWNER 
NPC_RED_SPAWNER 
NPC_GREEN_SPAWNER 
NPC_BRONZE_SPAWNER 
NPC_BLUE_SPAWNER 
NPC_BRONZE_DRAKONID 
NPC_BLUE_DRAKONID 
NPC_RED_DRAKONID 
NPC_GREEN_DRAKONID 
NPC_BLACK_DRAKONID 
NPC_CHROMATIC_DRAKONID 
NPC_BONE_CONSTRUCT 
51{
52 NPC_GRETHOK = 12557,
54 NPC_NEFARIAN_TROOPS = 14459,
55 NPC_RAZORGORE = 12435,
60 NPC_BLACKWING_MAGE = 12420,
61 NPC_VAELASTRAZ = 13020,
62 NPC_BROODLORD = 12017,
63 NPC_FIREMAW = 11983,
64 NPC_EBONROC = 14601,
65 NPC_FLAMEGOR = 11981,
66 NPC_CHROMAGGUS = 14020,
67 NPC_VICTOR_NEFARIUS = 10162,
68 NPC_NEFARIAN = 11583,
69
70 // Nefarian fight
71 NPC_BLACK_SPAWNER = 14307,
72 NPC_RED_SPAWNER = 14309,
73 NPC_GREEN_SPAWNER = 14310,
74 NPC_BRONZE_SPAWNER = 14311,
75 NPC_BLUE_SPAWNER = 14312,
76
77 NPC_BRONZE_DRAKONID = 14263,
78 NPC_BLUE_DRAKONID = 14261,
79 NPC_RED_DRAKONID = 14264,
80 NPC_GREEN_DRAKONID = 14262,
81 NPC_BLACK_DRAKONID = 14265,
83 NPC_BONE_CONSTRUCT = 14605
84};
@ NPC_BROODLORD
Definition: blackwing_lair.h:62
@ NPC_RED_SPAWNER
Definition: blackwing_lair.h:72
@ NPC_BONE_CONSTRUCT
Definition: blackwing_lair.h:83
@ NPC_RED_DRAKONID
Definition: blackwing_lair.h:79
@ NPC_VICTOR_NEFARIUS
Definition: blackwing_lair.h:67
@ NPC_BLACKWING_DRAGON
Definition: blackwing_lair.h:56
@ NPC_CHROMATIC_DRAKONID
Definition: blackwing_lair.h:82
@ NPC_BLUE_DRAKONID
Definition: blackwing_lair.h:78
@ NPC_BLACKWING_GUARDSMAN
Definition: blackwing_lair.h:53
@ NPC_CHROMAGGUS
Definition: blackwing_lair.h:66
@ NPC_BLACKWING_MAGE
Definition: blackwing_lair.h:60
@ NPC_EBONROC
Definition: blackwing_lair.h:64
@ NPC_BRONZE_SPAWNER
Definition: blackwing_lair.h:74
@ NPC_NEFARIAN_TROOPS
Definition: blackwing_lair.h:54
@ NPC_GREEN_DRAKONID
Definition: blackwing_lair.h:80
@ NPC_BLACK_SPAWNER
Definition: blackwing_lair.h:71
@ NPC_BLACKWING_TASKMASTER
Definition: blackwing_lair.h:57
@ NPC_FIREMAW
Definition: blackwing_lair.h:63
@ NPC_BRONZE_DRAKONID
Definition: blackwing_lair.h:77
@ NPC_BLACK_DRAKONID
Definition: blackwing_lair.h:81
@ NPC_RAZORGORE
Definition: blackwing_lair.h:55
@ NPC_BLACKWING_LEGIONAIRE
Definition: blackwing_lair.h:58
@ NPC_BLACKWING_WARLOCK
Definition: blackwing_lair.h:59
@ NPC_VAELASTRAZ
Definition: blackwing_lair.h:61
@ NPC_FLAMEGOR
Definition: blackwing_lair.h:65
@ NPC_BLUE_SPAWNER
Definition: blackwing_lair.h:75
@ NPC_NEFARIAN
Definition: blackwing_lair.h:68
@ NPC_GREEN_SPAWNER
Definition: blackwing_lair.h:73
@ NPC_GRETHOK
Definition: blackwing_lair.h:52

◆ BWLEncounter

Enumerator
DATA_RAZORGORE_THE_UNTAMED 
DATA_VAELASTRAZ_THE_CORRUPT 
DATA_BROODLORD_LASHLAYER 
DATA_FIREMAW 
DATA_EBONROC 
DATA_FLAMEGOR 
DATA_CHROMAGGUS 
DATA_NEFARIAN 
DATA_LORD_VICTOR_NEFARIUS 
DATA_GRETHOK 
DATA_NEFARIAN_TROOPS 
DATA_GO_CHROMAGGUS_DOOR 
DATA_GO_CHROMAGGUS_DOOR_EXIT 
29{
30 // Encounter States/Boss GUIDs
34 DATA_FIREMAW = 3,
35 DATA_EBONROC = 4,
36 DATA_FLAMEGOR = 5,
38 DATA_NEFARIAN = 7,
39
40 // Additional Data
42 DATA_GRETHOK = 9,
44
45 // Doors
48};
@ DATA_VAELASTRAZ_THE_CORRUPT
Definition: blackwing_lair.h:32
@ DATA_FLAMEGOR
Definition: blackwing_lair.h:36
@ DATA_LORD_VICTOR_NEFARIUS
Definition: blackwing_lair.h:41
@ DATA_CHROMAGGUS
Definition: blackwing_lair.h:37
@ DATA_NEFARIAN
Definition: blackwing_lair.h:38
@ DATA_GRETHOK
Definition: blackwing_lair.h:42
@ DATA_GO_CHROMAGGUS_DOOR_EXIT
Definition: blackwing_lair.h:47
@ DATA_GO_CHROMAGGUS_DOOR
Definition: blackwing_lair.h:46
@ DATA_NEFARIAN_TROOPS
Definition: blackwing_lair.h:43
@ DATA_EBONROC
Definition: blackwing_lair.h:35
@ DATA_BROODLORD_LASHLAYER
Definition: blackwing_lair.h:33
@ DATA_FIREMAW
Definition: blackwing_lair.h:34
@ DATA_RAZORGORE_THE_UNTAMED
Definition: blackwing_lair.h:31

◆ BWLEvents

enum BWLEvents
Enumerator
EVENT_RAZOR_SPAWN 
EVENT_RAZOR_PHASE_TWO 
EVENT_RESPAWN_NEFARIUS 
102{
106};
@ EVENT_RAZOR_PHASE_TWO
Definition: blackwing_lair.h:104
@ EVENT_RAZOR_SPAWN
Definition: blackwing_lair.h:103
@ EVENT_RESPAWN_NEFARIUS
Definition: blackwing_lair.h:105

◆ BWLGameObjectIds

Enumerator
GO_BLACK_DRAGON_EGG 
GO_PORTCULLIS_RAZORGORE 
GO_PORTCULLIS_RAZORGORE_ROOM 
GO_PORTCULLIS_VAELASTRASZ 
GO_PORTCULLIS_BROODLORD 
GO_PORTCULLIS_THREEDRAGONS 
GO_CHROMAGGUS_LEVER 
GO_PORTCULLIS_CHROMAGGUS 
GO_PORTCULLIS_CHROMAGGUS_EXIT 
GO_PORTCULLIS_NEFARIAN 
GO_SUPPRESSION_DEVICE 
87{
88 GO_BLACK_DRAGON_EGG = 177807,
94 GO_CHROMAGGUS_LEVER = 179148,
99};
@ GO_PORTCULLIS_CHROMAGGUS
Definition: blackwing_lair.h:95
@ GO_PORTCULLIS_BROODLORD
Definition: blackwing_lair.h:92
@ GO_PORTCULLIS_NEFARIAN
Definition: blackwing_lair.h:97
@ GO_BLACK_DRAGON_EGG
Definition: blackwing_lair.h:88
@ GO_PORTCULLIS_CHROMAGGUS_EXIT
Definition: blackwing_lair.h:96
@ GO_PORTCULLIS_VAELASTRASZ
Definition: blackwing_lair.h:91
@ GO_PORTCULLIS_THREEDRAGONS
Definition: blackwing_lair.h:93
@ GO_CHROMAGGUS_LEVER
Definition: blackwing_lair.h:94
@ GO_SUPPRESSION_DEVICE
Definition: blackwing_lair.h:98
@ GO_PORTCULLIS_RAZORGORE_ROOM
Definition: blackwing_lair.h:90
@ GO_PORTCULLIS_RAZORGORE
Definition: blackwing_lair.h:89

◆ BWLMisc

enum BWLMisc
Enumerator
ACTION_PHASE_TWO 
DATA_EGG_EVENT 
TALK_EGG_BROKEN_RAND 
SAY_NEFARIAN_VAEL_INTRO 
DATA_NEFARIAN_LEFT_TUNNEL 
DATA_NEFARIAN_RIGHT_TUNNEL 
ACTION_NEFARIUS_ADD_KILLED 
109{
110 // Razorgore Egg Event
112 DATA_EGG_EVENT = 2,
114
116
117 // Nefarian fight
121};
@ TALK_EGG_BROKEN_RAND
Definition: blackwing_lair.h:113
@ DATA_EGG_EVENT
Definition: blackwing_lair.h:112
@ DATA_NEFARIAN_RIGHT_TUNNEL
Definition: blackwing_lair.h:119
@ ACTION_NEFARIUS_ADD_KILLED
Definition: blackwing_lair.h:120
@ DATA_NEFARIAN_LEFT_TUNNEL
Definition: blackwing_lair.h:118
@ SAY_NEFARIAN_VAEL_INTRO
Definition: blackwing_lair.h:115
@ ACTION_PHASE_TWO
Definition: blackwing_lair.h:111

Function Documentation

◆ GetBlackwingLairAI()

template<class AI , class T >
AI * GetBlackwingLairAI ( T *  obj)
inline
125{
126 return GetInstanceAI<AI>(obj, BWLScriptName);
127}
#define BWLScriptName
Definition: blackwing_lair.h:25

References BWLScriptName.

Variable Documentation

◆ EncounterCount

constexpr uint32 EncounterCount = 8
constexpr