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

Go to the source code of this file.

Macros

#define DataHeader   "TBM"
 
#define TheBlackMorassScriptName   "instance_the_black_morass"
 
#define RegisterTheBlackMorassCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetTheBlackMorassAI)
 

Enumerations

enum  DataTypes {
  DATA_CHRONO_LORD_DEJA = 0 ,
  DATA_TEMPORUS = 1 ,
  DATA_AEONUS = 2 ,
  MAX_ENCOUNTER = 3 ,
  DATA_MEDIVH = 10 ,
  DATA_DAMAGE_SHIELD = 12 ,
  DATA_SHIELD_PERCENT = 13 ,
  DATA_RIFT_NUMBER = 14
}
 
enum  EventStatus {
  EVENT_PREPARE = 0 ,
  EVENT_IN_PROGRESS = 1
}
 
enum  QuestIds {
  QUEST_OPENING_PORTAL = 10297 ,
  QUEST_MASTER_TOUCH = 9836
}
 
enum  CreatureIds {
  NPC_MEDIVH = 15608 ,
  NPC_TIME_RIFT = 17838 ,
  NPC_TIME_KEEPER = 17918 ,
  NPC_RIFT_KEEPER_WARLOCK = 21104 ,
  NPC_RIFT_KEEPER_MAGE = 21148 ,
  NPC_RIFT_LORD = 17839 ,
  NPC_RIFT_LORD_2 = 21140 ,
  NPC_CHRONO_LORD_DEJA = 17879 ,
  NPC_INFINITE_CHRONO_LORD = 21697 ,
  NPC_TEMPORUS = 17880 ,
  NPC_INFINITE_TIMEREAVER = 21698 ,
  NPC_AEONUS = 17881 ,
  NPC_INFINITE_ASSASSIN = 17835 ,
  NPC_INFINITE_WHELP = 21818 ,
  NPC_INFINITE_CHRONOMANCER = 17892 ,
  NPC_INFINITE_EXECUTIONER = 18994 ,
  NPC_INFINITE_VANQUISHER = 18995 ,
  NPC_INFINITE_ASSASSIN_2 = 21137 ,
  NPC_INFINITE_CHRONOMANCER_2 = 21136 ,
  NPC_INFINITE_EXECUTIONER_2 = 21138 ,
  NPC_INFINITE_VANQUISHER_2 = 21139 ,
  NPC_DP_EMITTER_STALKER = 18582 ,
  NPC_DP_CRYSTAL_STALKER = 18553 ,
  NPC_DP_BEAM_STALKER = 18555
}
 
enum  Misc {
  SPELL_RIFT_CHANNEL = 31387 ,
  SPELL_TELEPORT_VISUAL = 7791 ,
  ACTION_OUTRO = 1 ,
  CONTEXT_GROUP_RIFTS = 1
}
 
enum  medivhSays {
  SAY_MEDIVH_ENTER = 0 ,
  SAY_MEDIVH_DEATH = 5 ,
  SAY_MEDIVH_WIN = 6 ,
  SAY_MEDIVH_ORCS_ENTER = 7 ,
  SAY_MEDIVH_ORCS_ANSWER = 0
}
 
enum  medivhSpells {
  SPELL_MANA_SHIELD = 31635 ,
  SPELL_MEDIVH_CHANNEL = 31556 ,
  SPELL_BLACK_CRYSTAL = 32563 ,
  SPELL_PORTAL_CRYSTALS = 32564 ,
  SPELL_BANISH_PURPLE = 32566 ,
  SPELL_BANISH_GREEN = 32567 ,
  SPELL_CORRUPT = 31326 ,
  SPELL_CORRUPT_AEONUS = 37853
}
 

Functions

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

Variables

uint32 const EncounterCount = 3
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "TBM"

◆ RegisterTheBlackMorassCreatureAI

#define RegisterTheBlackMorassCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetTheBlackMorassAI)

◆ TheBlackMorassScriptName

#define TheBlackMorassScriptName   "instance_the_black_morass"

Enumeration Type Documentation

◆ CreatureIds

Enumerator
NPC_MEDIVH 
NPC_TIME_RIFT 
NPC_TIME_KEEPER 
NPC_RIFT_KEEPER_WARLOCK 
NPC_RIFT_KEEPER_MAGE 
NPC_RIFT_LORD 
NPC_RIFT_LORD_2 
NPC_CHRONO_LORD_DEJA 
NPC_INFINITE_CHRONO_LORD 
NPC_TEMPORUS 
NPC_INFINITE_TIMEREAVER 
NPC_AEONUS 
NPC_INFINITE_ASSASSIN 
NPC_INFINITE_WHELP 
NPC_INFINITE_CHRONOMANCER 
NPC_INFINITE_EXECUTIONER 
NPC_INFINITE_VANQUISHER 
NPC_INFINITE_ASSASSIN_2 
NPC_INFINITE_CHRONOMANCER_2 
NPC_INFINITE_EXECUTIONER_2 
NPC_INFINITE_VANQUISHER_2 
NPC_DP_EMITTER_STALKER 
NPC_DP_CRYSTAL_STALKER 
NPC_DP_BEAM_STALKER 
56{
57 NPC_MEDIVH = 15608,
58 NPC_TIME_RIFT = 17838,
59 NPC_TIME_KEEPER = 17918,
60
63 NPC_RIFT_LORD = 17839,
64 NPC_RIFT_LORD_2 = 21140,
65
68 NPC_TEMPORUS = 17880,
70 NPC_AEONUS = 17881,
71
73 NPC_INFINITE_WHELP = 21818,
77
82
86};
@ NPC_DP_EMITTER_STALKER
Definition the_black_morass.h:83
@ NPC_AEONUS
Definition the_black_morass.h:70
@ NPC_INFINITE_ASSASSIN_2
Definition the_black_morass.h:78
@ NPC_INFINITE_EXECUTIONER_2
Definition the_black_morass.h:80
@ NPC_INFINITE_EXECUTIONER
Definition the_black_morass.h:75
@ NPC_TIME_KEEPER
Definition the_black_morass.h:59
@ NPC_INFINITE_WHELP
Definition the_black_morass.h:73
@ NPC_INFINITE_VANQUISHER
Definition the_black_morass.h:76
@ NPC_INFINITE_TIMEREAVER
Definition the_black_morass.h:69
@ NPC_TIME_RIFT
Definition the_black_morass.h:58
@ NPC_RIFT_KEEPER_WARLOCK
Definition the_black_morass.h:61
@ NPC_DP_BEAM_STALKER
Definition the_black_morass.h:85
@ NPC_INFINITE_CHRONO_LORD
Definition the_black_morass.h:67
@ NPC_DP_CRYSTAL_STALKER
Definition the_black_morass.h:84
@ NPC_INFINITE_VANQUISHER_2
Definition the_black_morass.h:81
@ NPC_INFINITE_ASSASSIN
Definition the_black_morass.h:72
@ NPC_RIFT_LORD_2
Definition the_black_morass.h:64
@ NPC_MEDIVH
Definition the_black_morass.h:57
@ NPC_RIFT_LORD
Definition the_black_morass.h:63
@ NPC_TEMPORUS
Definition the_black_morass.h:68
@ NPC_INFINITE_CHRONOMANCER
Definition the_black_morass.h:74
@ NPC_INFINITE_CHRONOMANCER_2
Definition the_black_morass.h:79
@ NPC_RIFT_KEEPER_MAGE
Definition the_black_morass.h:62
@ NPC_CHRONO_LORD_DEJA
Definition the_black_morass.h:66

◆ DataTypes

enum DataTypes
Enumerator
DATA_CHRONO_LORD_DEJA 
DATA_TEMPORUS 
DATA_AEONUS 
MAX_ENCOUNTER 
DATA_MEDIVH 
DATA_DAMAGE_SHIELD 
DATA_SHIELD_PERCENT 
DATA_RIFT_NUMBER 
30{
32 DATA_TEMPORUS = 1,
33 DATA_AEONUS = 2,
34 MAX_ENCOUNTER = 3,
35
36 DATA_MEDIVH = 10,
37
41};
@ DATA_MEDIVH
Definition the_black_morass.h:36
@ DATA_DAMAGE_SHIELD
Definition the_black_morass.h:38
@ DATA_TEMPORUS
Definition the_black_morass.h:32
@ MAX_ENCOUNTER
Definition the_black_morass.h:34
@ DATA_RIFT_NUMBER
Definition the_black_morass.h:40
@ DATA_SHIELD_PERCENT
Definition the_black_morass.h:39
@ DATA_CHRONO_LORD_DEJA
Definition the_black_morass.h:31
@ DATA_AEONUS
Definition the_black_morass.h:33

◆ EventStatus

Enumerator
EVENT_PREPARE 
EVENT_IN_PROGRESS 
44{
45 EVENT_PREPARE = 0,
47};
@ EVENT_IN_PROGRESS
Definition the_black_morass.h:46
@ EVENT_PREPARE
Definition the_black_morass.h:45

◆ medivhSays

enum medivhSays
Enumerator
SAY_MEDIVH_ENTER 
SAY_MEDIVH_DEATH 
SAY_MEDIVH_WIN 
SAY_MEDIVH_ORCS_ENTER 
SAY_MEDIVH_ORCS_ANSWER 
99{
102 SAY_MEDIVH_WIN = 6,
104
106};
@ SAY_MEDIVH_ORCS_ANSWER
Definition the_black_morass.h:105
@ SAY_MEDIVH_ENTER
Definition the_black_morass.h:100
@ SAY_MEDIVH_ORCS_ENTER
Definition the_black_morass.h:103
@ SAY_MEDIVH_WIN
Definition the_black_morass.h:102
@ SAY_MEDIVH_DEATH
Definition the_black_morass.h:101

◆ medivhSpells

Enumerator
SPELL_MANA_SHIELD 
SPELL_MEDIVH_CHANNEL 
SPELL_BLACK_CRYSTAL 
SPELL_PORTAL_CRYSTALS 
SPELL_BANISH_PURPLE 
SPELL_BANISH_GREEN 
SPELL_CORRUPT 
SPELL_CORRUPT_AEONUS 
109{
110 SPELL_MANA_SHIELD = 31635,
111 SPELL_MEDIVH_CHANNEL = 31556,
112 SPELL_BLACK_CRYSTAL = 32563,
113 SPELL_PORTAL_CRYSTALS = 32564,
114 SPELL_BANISH_PURPLE = 32566,
115 SPELL_BANISH_GREEN = 32567,
116
117 SPELL_CORRUPT = 31326,
118 SPELL_CORRUPT_AEONUS = 37853,
119};
@ SPELL_CORRUPT
Definition the_black_morass.h:117
@ SPELL_BLACK_CRYSTAL
Definition the_black_morass.h:112
@ SPELL_PORTAL_CRYSTALS
Definition the_black_morass.h:113
@ SPELL_MANA_SHIELD
Definition the_black_morass.h:110
@ SPELL_CORRUPT_AEONUS
Definition the_black_morass.h:118
@ SPELL_MEDIVH_CHANNEL
Definition the_black_morass.h:111
@ SPELL_BANISH_PURPLE
Definition the_black_morass.h:114
@ SPELL_BANISH_GREEN
Definition the_black_morass.h:115

◆ Misc

enum Misc
Enumerator
SPELL_RIFT_CHANNEL 
SPELL_TELEPORT_VISUAL 
ACTION_OUTRO 
CONTEXT_GROUP_RIFTS 
89{
90 SPELL_RIFT_CHANNEL = 31387,
92
93 ACTION_OUTRO = 1,
94
96};
@ ACTION_OUTRO
Definition the_black_morass.h:93
@ SPELL_RIFT_CHANNEL
Definition the_black_morass.h:90
@ SPELL_TELEPORT_VISUAL
Definition the_black_morass.h:91
@ CONTEXT_GROUP_RIFTS
Definition the_black_morass.h:95

◆ QuestIds

enum QuestIds
Enumerator
QUEST_OPENING_PORTAL 
QUEST_MASTER_TOUCH 
50{
53};
@ QUEST_MASTER_TOUCH
Definition the_black_morass.h:52
@ QUEST_OPENING_PORTAL
Definition the_black_morass.h:51

Function Documentation

◆ GetTheBlackMorassAI()

template<class AI , class T >
AI * GetTheBlackMorassAI ( T *  obj)
inline
123{
124 return GetInstanceAI<AI>(obj, TheBlackMorassScriptName);
125}
#define TheBlackMorassScriptName
Definition the_black_morass.h:27

References TheBlackMorassScriptName.

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 3