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

Go to the source code of this file.

Macros

#define KarazhanScriptName   "instance_karazhan"
 
#define DataHeader   "KZ"
 

Enumerations

enum  KZDataTypes {
  DATA_ATTUMEN = 0 ,
  DATA_MOROES = 1 ,
  DATA_MAIDEN = 2 ,
  DATA_OPTIONAL_BOSS = 3 ,
  DATA_OPERA_PERFORMANCE = 4 ,
  DATA_CURATOR = 5 ,
  DATA_ARAN = 6 ,
  DATA_TERESTIAN = 7 ,
  DATA_NETHERSPITE = 8 ,
  DATA_CHESS = 9 ,
  DATA_MALCHEZZAR = 10 ,
  DATA_NIGHTBANE = 11 ,
  DATA_SERVANT_QUARTERS = 12 ,
  DATA_SELECTED_RARE = 13 ,
  DATA_OPERA_OZ_DEATHCOUNT = 14 ,
  DATA_KILREK = 15 ,
  MAX_ENCOUNTERS = 16 ,
  DATA_GO_CURTAINS = 18 ,
  DATA_GO_STAGEDOORLEFT = 19 ,
  DATA_GO_STAGEDOORRIGHT = 20 ,
  DATA_GO_LIBRARY_DOOR = 21 ,
  DATA_GO_MASSIVE_DOOR = 22 ,
  DATA_GO_NETHER_DOOR = 23 ,
  DATA_GO_GAME_DOOR = 24 ,
  DATA_GO_GAME_EXIT_DOOR = 25 ,
  DATA_IMAGE_OF_MEDIVH = 26 ,
  DATA_MASTERS_TERRACE_DOOR_1 = 27 ,
  DATA_MASTERS_TERRACE_DOOR_2 = 28 ,
  DATA_GO_SIDE_ENTRANCE_DOOR = 29 ,
  DATA_PRINCE = 30
}
 
enum  KZOperaEvents {
  EVENT_OZ = 1 ,
  EVENT_HOOD = 2 ,
  EVENT_RAJ = 3
}
 
enum  KZMiscCreatures {
  NPC_HYAKISS_THE_LURKER = 16179 ,
  NPC_ROKAD_THE_RAVAGER = 16181 ,
  NPC_SHADIKITH_THE_GLIDER = 16180 ,
  NPC_TERESTIAN_ILLHOOF = 15688 ,
  NPC_MOROES = 15687 ,
  NPC_ATTUMEN_THE_HUNTSMAN = 15550 ,
  NPC_ATTUMEN_THE_HUNTSMAN_MOUNTED = 16152 ,
  NPC_NIGHTBANE = 17225 ,
  NPC_COLDMIST_WIDOW = 16171 ,
  NPC_COLDMIST_STALKER = 16170 ,
  NPC_SHADOWBAT = 16173 ,
  NPC_VAMPIRIC_SHADOWBAT = 16175 ,
  NPC_GREATER_SHADOWBAT = 16174 ,
  NPC_PHASE_HOUND = 16178 ,
  NPC_DREADBEAST = 16177 ,
  NPC_SHADOWBEAST = 16176 ,
  NPC_KILREK = 17229 ,
  NPC_RELAY = 17645
}
 
enum  KZGameObjectIds {
  GO_STAGE_CURTAIN = 183932 ,
  GO_STAGE_DOOR_LEFT = 184278 ,
  GO_STAGE_DOOR_RIGHT = 184279 ,
  GO_PRIVATE_LIBRARY_DOOR = 184517 ,
  GO_MASSIVE_DOOR = 185521 ,
  GO_GAMESMAN_HALL_DOOR = 184276 ,
  GO_GAMESMAN_HALL_EXIT_DOOR = 184277 ,
  GO_NETHERSPACE_DOOR = 185134 ,
  GO_MASTERS_TERRACE_DOOR = 184274 ,
  GO_MASTERS_TERRACE_DOOR2 = 184280 ,
  GO_SIDE_ENTRANCE_DOOR = 184275 ,
  GO_DUST_COVERED_CHEST = 185119
}
 
enum  KZMisc { OPTIONAL_BOSS_REQUIRED_DEATH_COUNT = 50 }
 
enum  KarazhanSpells {
  SPELL_RATTLED = 32437 ,
  SPELL_OVERLOAD = 29766 ,
  SPELL_BLINK = 29884
}
 

Functions

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

Variables

uint32 const EncounterCount = 12
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "KZ"

◆ KarazhanScriptName

#define KarazhanScriptName   "instance_karazhan"

Enumeration Type Documentation

◆ KarazhanSpells

Enumerator
SPELL_RATTLED 
SPELL_OVERLOAD 
SPELL_BLINK 
118{
119 SPELL_RATTLED = 32437,
120 SPELL_OVERLOAD = 29766,
121 SPELL_BLINK = 29884
122};
@ SPELL_RATTLED
Definition: karazhan.h:119
@ SPELL_BLINK
Definition: karazhan.h:121
@ SPELL_OVERLOAD
Definition: karazhan.h:120

◆ KZDataTypes

Enumerator
DATA_ATTUMEN 
DATA_MOROES 
DATA_MAIDEN 
DATA_OPTIONAL_BOSS 
DATA_OPERA_PERFORMANCE 
DATA_CURATOR 
DATA_ARAN 
DATA_TERESTIAN 
DATA_NETHERSPITE 
DATA_CHESS 
DATA_MALCHEZZAR 
DATA_NIGHTBANE 
DATA_SERVANT_QUARTERS 
DATA_SELECTED_RARE 
DATA_OPERA_OZ_DEATHCOUNT 
DATA_KILREK 
MAX_ENCOUNTERS 
DATA_GO_CURTAINS 
DATA_GO_STAGEDOORLEFT 
DATA_GO_STAGEDOORRIGHT 
DATA_GO_LIBRARY_DOOR 
DATA_GO_MASSIVE_DOOR 
DATA_GO_NETHER_DOOR 
DATA_GO_GAME_DOOR 
DATA_GO_GAME_EXIT_DOOR 
DATA_IMAGE_OF_MEDIVH 
DATA_MASTERS_TERRACE_DOOR_1 
DATA_MASTERS_TERRACE_DOOR_2 
DATA_GO_SIDE_ENTRANCE_DOOR 
DATA_PRINCE 
29{
30 DATA_ATTUMEN = 0,
31 DATA_MOROES = 1,
32 DATA_MAIDEN = 2,
35 DATA_CURATOR = 5,
36 DATA_ARAN = 6,
39 DATA_CHESS = 9,
40 DATA_MALCHEZZAR = 10,
41 DATA_NIGHTBANE = 11,
44
46
47 DATA_KILREK = 15,
48 MAX_ENCOUNTERS = 16,
57
62 DATA_PRINCE = 30
63};
@ DATA_MALCHEZZAR
Definition: karazhan.h:40
@ DATA_PRINCE
Definition: karazhan.h:62
@ DATA_KILREK
Definition: karazhan.h:47
@ DATA_GO_STAGEDOORRIGHT
Definition: karazhan.h:51
@ DATA_GO_CURTAINS
Definition: karazhan.h:49
@ DATA_GO_MASSIVE_DOOR
Definition: karazhan.h:53
@ DATA_GO_STAGEDOORLEFT
Definition: karazhan.h:50
@ DATA_ATTUMEN
Definition: karazhan.h:30
@ DATA_GO_GAME_EXIT_DOOR
Definition: karazhan.h:56
@ DATA_CURATOR
Definition: karazhan.h:35
@ DATA_OPTIONAL_BOSS
Definition: karazhan.h:33
@ DATA_IMAGE_OF_MEDIVH
Definition: karazhan.h:58
@ DATA_CHESS
Definition: karazhan.h:39
@ DATA_MASTERS_TERRACE_DOOR_1
Definition: karazhan.h:59
@ DATA_NETHERSPITE
Definition: karazhan.h:38
@ DATA_TERESTIAN
Definition: karazhan.h:37
@ MAX_ENCOUNTERS
Definition: karazhan.h:48
@ DATA_GO_GAME_DOOR
Definition: karazhan.h:55
@ DATA_SELECTED_RARE
Definition: karazhan.h:43
@ DATA_MOROES
Definition: karazhan.h:31
@ DATA_GO_SIDE_ENTRANCE_DOOR
Definition: karazhan.h:61
@ DATA_ARAN
Definition: karazhan.h:36
@ DATA_GO_LIBRARY_DOOR
Definition: karazhan.h:52
@ DATA_NIGHTBANE
Definition: karazhan.h:41
@ DATA_MASTERS_TERRACE_DOOR_2
Definition: karazhan.h:60
@ DATA_OPERA_OZ_DEATHCOUNT
Definition: karazhan.h:45
@ DATA_OPERA_PERFORMANCE
Definition: karazhan.h:34
@ DATA_MAIDEN
Definition: karazhan.h:32
@ DATA_SERVANT_QUARTERS
Definition: karazhan.h:42
@ DATA_GO_NETHER_DOOR
Definition: karazhan.h:54

◆ KZGameObjectIds

Enumerator
GO_STAGE_CURTAIN 
GO_STAGE_DOOR_LEFT 
GO_STAGE_DOOR_RIGHT 
GO_PRIVATE_LIBRARY_DOOR 
GO_MASSIVE_DOOR 
GO_GAMESMAN_HALL_DOOR 
GO_GAMESMAN_HALL_EXIT_DOOR 
GO_NETHERSPACE_DOOR 
GO_MASTERS_TERRACE_DOOR 
GO_MASTERS_TERRACE_DOOR2 
GO_SIDE_ENTRANCE_DOOR 
GO_DUST_COVERED_CHEST 
97{
98 GO_STAGE_CURTAIN = 183932,
99 GO_STAGE_DOOR_LEFT = 184278,
100 GO_STAGE_DOOR_RIGHT = 184279,
102 GO_MASSIVE_DOOR = 185521,
103 GO_GAMESMAN_HALL_DOOR = 184276,
105 GO_NETHERSPACE_DOOR = 185134,
108 GO_SIDE_ENTRANCE_DOOR = 184275,
109 GO_DUST_COVERED_CHEST = 185119
110};
@ GO_STAGE_DOOR_RIGHT
Definition: karazhan.h:100
@ GO_STAGE_CURTAIN
Definition: karazhan.h:98
@ GO_PRIVATE_LIBRARY_DOOR
Definition: karazhan.h:101
@ GO_MASSIVE_DOOR
Definition: karazhan.h:102
@ GO_STAGE_DOOR_LEFT
Definition: karazhan.h:99
@ GO_NETHERSPACE_DOOR
Definition: karazhan.h:105
@ GO_GAMESMAN_HALL_EXIT_DOOR
Definition: karazhan.h:104
@ GO_SIDE_ENTRANCE_DOOR
Definition: karazhan.h:108
@ GO_MASTERS_TERRACE_DOOR
Definition: karazhan.h:106
@ GO_MASTERS_TERRACE_DOOR2
Definition: karazhan.h:107
@ GO_GAMESMAN_HALL_DOOR
Definition: karazhan.h:103
@ GO_DUST_COVERED_CHEST
Definition: karazhan.h:109

◆ KZMisc

enum KZMisc
Enumerator
OPTIONAL_BOSS_REQUIRED_DEATH_COUNT 
113{
115};
@ OPTIONAL_BOSS_REQUIRED_DEATH_COUNT
Definition: karazhan.h:114

◆ KZMiscCreatures

Enumerator
NPC_HYAKISS_THE_LURKER 
NPC_ROKAD_THE_RAVAGER 
NPC_SHADIKITH_THE_GLIDER 
NPC_TERESTIAN_ILLHOOF 
NPC_MOROES 
NPC_ATTUMEN_THE_HUNTSMAN 
NPC_ATTUMEN_THE_HUNTSMAN_MOUNTED 
NPC_NIGHTBANE 
NPC_COLDMIST_WIDOW 
NPC_COLDMIST_STALKER 
NPC_SHADOWBAT 
NPC_VAMPIRIC_SHADOWBAT 
NPC_GREATER_SHADOWBAT 
NPC_PHASE_HOUND 
NPC_DREADBEAST 
NPC_SHADOWBEAST 
NPC_KILREK 
NPC_RELAY 
73{
78 NPC_MOROES = 15687,
81 NPC_NIGHTBANE = 17225,
82
83 // Trash
84 NPC_COLDMIST_WIDOW = 16171,
86 NPC_SHADOWBAT = 16173,
89 NPC_PHASE_HOUND = 16178,
90 NPC_DREADBEAST = 16177,
91 NPC_SHADOWBEAST = 16176,
92 NPC_KILREK = 17229,
93 NPC_RELAY = 17645
94};
@ NPC_VAMPIRIC_SHADOWBAT
Definition: karazhan.h:87
@ NPC_PHASE_HOUND
Definition: karazhan.h:89
@ NPC_GREATER_SHADOWBAT
Definition: karazhan.h:88
@ NPC_SHADOWBEAST
Definition: karazhan.h:91
@ NPC_TERESTIAN_ILLHOOF
Definition: karazhan.h:77
@ NPC_MOROES
Definition: karazhan.h:78
@ NPC_ATTUMEN_THE_HUNTSMAN
Definition: karazhan.h:79
@ NPC_ROKAD_THE_RAVAGER
Definition: karazhan.h:75
@ NPC_SHADOWBAT
Definition: karazhan.h:86
@ NPC_HYAKISS_THE_LURKER
Definition: karazhan.h:74
@ NPC_KILREK
Definition: karazhan.h:92
@ NPC_NIGHTBANE
Definition: karazhan.h:81
@ NPC_SHADIKITH_THE_GLIDER
Definition: karazhan.h:76
@ NPC_DREADBEAST
Definition: karazhan.h:90
@ NPC_COLDMIST_WIDOW
Definition: karazhan.h:84
@ NPC_COLDMIST_STALKER
Definition: karazhan.h:85
@ NPC_RELAY
Definition: karazhan.h:93
@ NPC_ATTUMEN_THE_HUNTSMAN_MOUNTED
Definition: karazhan.h:80

◆ KZOperaEvents

Enumerator
EVENT_OZ 
EVENT_HOOD 
EVENT_RAJ 
66{
67 EVENT_OZ = 1,
68 EVENT_HOOD = 2,
69 EVENT_RAJ = 3
70};
@ EVENT_HOOD
Definition: karazhan.h:68
@ EVENT_OZ
Definition: karazhan.h:67
@ EVENT_RAJ
Definition: karazhan.h:69

Function Documentation

◆ GetKarazhanAI()

template<class AI , class T >
AI * GetKarazhanAI ( T *  obj)
inline
126{
127 return GetInstanceAI<AI>(obj, KarazhanScriptName);
128}
#define KarazhanScriptName
Definition: karazhan.h:23

References KarazhanScriptName.

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 12