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

Go to the source code of this file.

Macros

#define DataHeader   "OL"
 
#define OnyxiasLairScriptName   "instance_onyxias_lair"
 
#define RegisterOnyxiasLairCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetOnyxiasLairAI)
 

Enumerations

enum  eInstanceData {
  DATA_ONYXIA = 0 ,
  MAX_ENCOUNTER = 1 ,
  DATA_WHELP_SUMMONED ,
  DATA_DEEP_BREATH_FAILED
}
 
enum  eCreatures {
  NPC_ONYXIA = 10184 ,
  NPC_ONYXIAN_WHELP = 11262 ,
  NPC_ONYXIAN_LAIR_GUARD = 36561 ,
  NPC_KELESETH = 23953 ,
  NPC_DALRONN = 24201 ,
  NPC_DALRONN_GHOST = 27389 ,
  NPC_SKARVALD = 24200 ,
  NPC_SKARVALD_GHOST = 27390 ,
  NPC_INGVAR = 23954 ,
  NPC_DARK_RANGER_MARRAH = 24137 ,
  NPC_ENSLAVED_PROTO_DRAKE = 24083 ,
  NPC_ICHOR_GLOBULE = 29321
}
 
enum  eGameObjects {
  GO_WHELP_SPAWNER = 176510 ,
  GO_WHELP_EGG = 176511 ,
  GO_MAIN_GATE = 195647 ,
  GO_SOUTH_PORTCULLIS = 195649 ,
  GO_EAST_PORTCULLIS = 195648 ,
  GO_NORTH_PORTCULLIS = 195650 ,
  GO_CHAMPIONS_LOOT = 195709 ,
  GO_CHAMPIONS_LOOT_H = 195710 ,
  GO_EADRIC_LOOT = 195374 ,
  GO_EADRIC_LOOT_H = 195375 ,
  GO_PALETRESS_LOOT = 195323 ,
  GO_PALETRESS_LOOT_H = 195324
}
 
enum  eAchievementData {
  ACHIEV_CRITERIA_MANY_WHELPS_10_PLAYER = 12565 ,
  ACHIEV_CRITERIA_MANY_WHELPS_25_PLAYER = 12568 ,
  ACHIEV_CRITERIA_DEEP_BREATH_10_PLAYER = 12566 ,
  ACHIEV_CRITERIA_DEEP_BREATH_25_PLAYER = 12569 ,
  ACHIEV_TIMED_START_EVENT = 6601
}
 

Functions

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

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "OL"

◆ OnyxiasLairScriptName

#define OnyxiasLairScriptName   "instance_onyxias_lair"

◆ RegisterOnyxiasLairCreatureAI

#define RegisterOnyxiasLairCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetOnyxiasLairAI)

Enumeration Type Documentation

◆ eAchievementData

Enumerator
ACHIEV_CRITERIA_MANY_WHELPS_10_PLAYER 
ACHIEV_CRITERIA_MANY_WHELPS_25_PLAYER 
ACHIEV_CRITERIA_DEEP_BREATH_10_PLAYER 
ACHIEV_CRITERIA_DEEP_BREATH_25_PLAYER 
ACHIEV_TIMED_START_EVENT 
49{
50 ACHIEV_CRITERIA_MANY_WHELPS_10_PLAYER = 12565, // Criteria for achievement 4403: Many Whelps! Handle It! (10 player) Hatch 50 eggs in 10s
51 ACHIEV_CRITERIA_MANY_WHELPS_25_PLAYER = 12568, // Criteria for achievement 4406: Many Whelps! Handle It! (25 player) Hatch 50 eggs in 10s
52 ACHIEV_CRITERIA_DEEP_BREATH_10_PLAYER = 12566, // Criteria for achievement 4404: She Deep Breaths More (10 player) Everybody evade Deep Breath
53 ACHIEV_CRITERIA_DEEP_BREATH_25_PLAYER = 12569, // Criteria for achievement 4407: She Deep Breaths More (25 player) Everybody evade Deep Breath
54 ACHIEV_TIMED_START_EVENT = 6601, // Timed event for achievement 4402, 4005: More Dots! (10,25 player) 5 min kill
55};
@ ACHIEV_CRITERIA_MANY_WHELPS_10_PLAYER
Definition: onyxias_lair.h:50
@ ACHIEV_TIMED_START_EVENT
Definition: onyxias_lair.h:54
@ ACHIEV_CRITERIA_DEEP_BREATH_25_PLAYER
Definition: onyxias_lair.h:53
@ ACHIEV_CRITERIA_DEEP_BREATH_10_PLAYER
Definition: onyxias_lair.h:52
@ ACHIEV_CRITERIA_MANY_WHELPS_25_PLAYER
Definition: onyxias_lair.h:51

◆ eCreatures

enum eCreatures
Enumerator
NPC_ONYXIA 
NPC_ONYXIAN_WHELP 
NPC_ONYXIAN_LAIR_GUARD 
NPC_KELESETH 
NPC_DALRONN 
NPC_DALRONN_GHOST 
NPC_SKARVALD 
NPC_SKARVALD_GHOST 
NPC_INGVAR 
NPC_DARK_RANGER_MARRAH 
NPC_ENSLAVED_PROTO_DRAKE 
NPC_ICHOR_GLOBULE 
36{
37 NPC_ONYXIA = 10184,
38 NPC_ONYXIAN_WHELP = 11262,
40};
@ NPC_ONYXIAN_WHELP
Definition: onyxias_lair.h:38
@ NPC_ONYXIA
Definition: onyxias_lair.h:37
@ NPC_ONYXIAN_LAIR_GUARD
Definition: onyxias_lair.h:39

◆ eGameObjects

Enumerator
GO_WHELP_SPAWNER 
GO_WHELP_EGG 
GO_MAIN_GATE 
GO_SOUTH_PORTCULLIS 
GO_EAST_PORTCULLIS 
GO_NORTH_PORTCULLIS 
GO_CHAMPIONS_LOOT 
GO_CHAMPIONS_LOOT_H 
GO_EADRIC_LOOT 
GO_EADRIC_LOOT_H 
GO_PALETRESS_LOOT 
GO_PALETRESS_LOOT_H 
43{
44 GO_WHELP_SPAWNER = 176510,
45 GO_WHELP_EGG = 176511
46};
@ GO_WHELP_EGG
Definition: onyxias_lair.h:45
@ GO_WHELP_SPAWNER
Definition: onyxias_lair.h:44

◆ eInstanceData

Enumerator
DATA_ONYXIA 
MAX_ENCOUNTER 
DATA_WHELP_SUMMONED 
DATA_DEEP_BREATH_FAILED 
28{
29 DATA_ONYXIA = 0,
30 MAX_ENCOUNTER = 1,
33};
@ DATA_DEEP_BREATH_FAILED
Definition: onyxias_lair.h:32
@ DATA_WHELP_SUMMONED
Definition: onyxias_lair.h:31
@ MAX_ENCOUNTER
Definition: onyxias_lair.h:30
@ DATA_ONYXIA
Definition: onyxias_lair.h:29

Function Documentation

◆ GetOnyxiasLairAI()

template<class AI , class T >
AI * GetOnyxiasLairAI ( T *  obj)
inline
59{
60 return GetInstanceAI<AI>(obj, OnyxiasLairScriptName);
61}
#define OnyxiasLairScriptName
Definition: onyxias_lair.h:25

References OnyxiasLairScriptName.