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

Go to the source code of this file.

Macros

#define DataHeader   "OH"
 
#define OldHillsbradScriptName   "instance_old_hillsbrad"
 
#define RegisterOldHillsbradCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetOldHillsbradAI)
 

Enumerations

enum  DataIds {
  DATA_ESCORT_PROGRESS = 0 ,
  DATA_LIEUTENANT_DRAKE = 1 ,
  DATA_CAPTAIN_SKARLOC = 2 ,
  DATA_EPOCH_HUNTER = 3 ,
  DATA_BOMBS_PLACED = 10 ,
  DATA_THRALL_REPOSITION = 11 ,
  DATA_THRALL_ADD_FLAG = 12 ,
  DATA_THRALL_GUID = 13 ,
  DATA_TARETHA_GUID = 14 ,
  DATA_ATTEMPTS_COUNT = 15
}
 
enum  NpcIds {
  NPC_STONE_KEEPER = 4857 ,
  NPC_ARCHAEDAS = 2748 ,
  NPC_EROZION = 18723 ,
  NPC_THRALL = 17876 ,
  NPC_TARETHA = 18887 ,
  NPC_EPOCH_HUNTER = 18096 ,
  NPC_LIEUTENANT_DRAKE = 17848 ,
  NPC_LODGE_QUEST_TRIGGER = 20155 ,
  NPC_ORC_PRISONER = 18598 ,
  NPC_DURNHOLDE_ARMORER = 18764 ,
  NPC_DURNHOLDE_WARDEN = 17833 ,
  NPC_DURNHOLDE_VETERAN = 17860 ,
  NPC_DURNHOLDE_MAGE = 18934 ,
  NPC_DURNHOLDE_SENTRY = 17819 ,
  NPC_CAPTAIN_SKARLOC = 17862 ,
  NPC_SKARLOC_MOUNT = 18798 ,
  NPC_IMMOL_THAR = 11496 ,
  NPC_HIGHBORNE_SUMMONER = 11466 ,
  NPC_MAGTHERIDON = 17257 ,
  NPC_HELLFIRE_CHANNELER = 17256 ,
  NPC_HELLFIRE_WARDER = 18829 ,
  NPC_HELLFIRE_RAID_TRIGGER = 17376 ,
  NPC_TARGET_TRIGGER = 17474 ,
  NPC_SUNSEEKER_ASTROMAGE = 19168 ,
  NPC_SUNSEEKER_ENGINEER = 20988 ,
  NPC_BLOODWARDER_CENTURION = 19510 ,
  NPC_BLOODWARDER_PHYSICIAN = 20990 ,
  NPC_TEMPEST_KEEPER_DESTROYER = 19735 ,
  NPC_PATHALEON_THE_CALCULATOR = 19220
}
 
enum  GobjectIds {
  GO_BARREL = 182589 ,
  GO_ROARING_FLAME = 182592 ,
  GO_PRISON_DOOR = 184393
}
 
enum  MiscIds {
  SAY_BLACK_GUARD_INIT = 0 ,
  SAY_BARON_INIT_YELL = 0 ,
  SAY_BRAON_ZIGGURAT_FALL_YELL = 1 ,
  SAY_BARON_10M = 2 ,
  SAY_BARON_5M = 3 ,
  SAY_BARON_0M = 4 ,
  SAY_BRAON_SUMMON_RAMSTEIN = 5 ,
  SAY_BARON_GUARD_DEAD = 6 ,
  EVENT_BARON_TIME = 1 ,
  EVENT_SPAWN_MINDLESS = 2 ,
  EVENT_FORCE_SLAUGHTER_EVENT = 3 ,
  EVENT_SPAWN_BLACK_GUARD = 4 ,
  EVENT_EXECUTE_PRISONER = 5 ,
  EVENT_GATE1_TRAP = 6 ,
  EVENT_GATE1_DELAY = 7 ,
  EVENT_GATE1_CRITTER_DELAY = 8 ,
  EVENT_GATE2_TRAP = 9 ,
  EVENT_GATE2_DELAY = 10 ,
  EVENT_GATE2_CRITTER_DELAY = 11 ,
  SPELL_BARON_ULTIMATUM = 27861 ,
  DATA_TIMED_RUN = 0 ,
  ACTION_START_TIMED_RUN = 0 ,
  ACTION_START_AKILZON_GAUNTLET = 1 ,
  GROUP_TIMED_RUN = 1 ,
  WORLD_STATE_BARRELS_PLANTED = 2436 ,
  SKARLOC_MOUNT_MODEL = 18223 ,
  ENCOUNTER_PROGRESS_NONE = 0 ,
  ENCOUNTER_PROGRESS_BARRELS = 1 ,
  ENCOUNTER_PROGRESS_THRALL_ARMORED = 3 ,
  ENCOUNTER_PROGRESS_AMBUSHES_1 = 4 ,
  ENCOUNTER_PROGRESS_SKARLOC_KILLED = 5 ,
  ENCOUNTER_PROGRESS_TARREN_MILL = 6 ,
  ENCOUNTER_PROGRESS_TARETHA_MEET = 7 ,
  ENCOUNTER_PROGRESS_EPOCH_KILLED = 8 ,
  ENCOUNTER_PROGRESS_FINISHED = 9 ,
  EVENT_INITIAL_BARRELS_FLAME = 1 ,
  EVENT_FINAL_BARRELS_FLAME = 2 ,
  EVENT_SUMMON_LIEUTENANT = 3 ,
  EVENT_THRALL_REPOSITION = 4 ,
  INSTANCE_POSITIONS_COUNT = 3 ,
  THRALL_POSITIONS_COUNT = 5 ,
  SPELL_CHEST_PAINS = 41356 ,
  SPELL_WYVERN_STING = 24336 ,
  SPELL_SHADOW_INFERNO_DAMAGE = 39646 ,
  SPELL_CHAOTIC_CHARGE = 41033 ,
  SPELL_DEMENTIA1 = 41406 ,
  SPELL_DEMENTIA2 = 41409 ,
  SPELL_SUMMON_SHADOWFIENDS = 41159
}
 

Functions

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

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "OH"

◆ OldHillsbradScriptName

#define OldHillsbradScriptName   "instance_old_hillsbrad"

◆ RegisterOldHillsbradCreatureAI

#define RegisterOldHillsbradCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetOldHillsbradAI)

Enumeration Type Documentation

◆ DataIds

enum DataIds
Enumerator
DATA_ESCORT_PROGRESS 
DATA_LIEUTENANT_DRAKE 
DATA_CAPTAIN_SKARLOC 
DATA_EPOCH_HUNTER 
DATA_BOMBS_PLACED 
DATA_THRALL_REPOSITION 
DATA_THRALL_ADD_FLAG 
DATA_THRALL_GUID 
DATA_TARETHA_GUID 
DATA_ATTEMPTS_COUNT 
28{
33
40};
@ DATA_TARETHA_GUID
Definition: old_hillsbrad.h:38
@ DATA_CAPTAIN_SKARLOC
Definition: old_hillsbrad.h:31
@ DATA_THRALL_REPOSITION
Definition: old_hillsbrad.h:35
@ DATA_EPOCH_HUNTER
Definition: old_hillsbrad.h:32
@ DATA_ESCORT_PROGRESS
Definition: old_hillsbrad.h:29
@ DATA_LIEUTENANT_DRAKE
Definition: old_hillsbrad.h:30
@ DATA_THRALL_ADD_FLAG
Definition: old_hillsbrad.h:36
@ DATA_BOMBS_PLACED
Definition: old_hillsbrad.h:34
@ DATA_ATTEMPTS_COUNT
Definition: old_hillsbrad.h:39
@ DATA_THRALL_GUID
Definition: old_hillsbrad.h:37

◆ GobjectIds

enum GobjectIds
Enumerator
GO_BARREL 
GO_ROARING_FLAME 
GO_PRISON_DOOR 
64{
65 GO_BARREL = 182589,
66 GO_ROARING_FLAME = 182592,
67 GO_PRISON_DOOR = 184393
68};
@ GO_PRISON_DOOR
Definition: old_hillsbrad.h:67
@ GO_BARREL
Definition: old_hillsbrad.h:65
@ GO_ROARING_FLAME
Definition: old_hillsbrad.h:66

◆ MiscIds

enum MiscIds
Enumerator
SAY_BLACK_GUARD_INIT 
SAY_BARON_INIT_YELL 
SAY_BRAON_ZIGGURAT_FALL_YELL 
SAY_BARON_10M 
SAY_BARON_5M 
SAY_BARON_0M 
SAY_BRAON_SUMMON_RAMSTEIN 
SAY_BARON_GUARD_DEAD 
EVENT_BARON_TIME 
EVENT_SPAWN_MINDLESS 
EVENT_FORCE_SLAUGHTER_EVENT 
EVENT_SPAWN_BLACK_GUARD 
EVENT_EXECUTE_PRISONER 
EVENT_GATE1_TRAP 
EVENT_GATE1_DELAY 
EVENT_GATE1_CRITTER_DELAY 
EVENT_GATE2_TRAP 
EVENT_GATE2_DELAY 
EVENT_GATE2_CRITTER_DELAY 
SPELL_BARON_ULTIMATUM 
DATA_TIMED_RUN 
ACTION_START_TIMED_RUN 
ACTION_START_AKILZON_GAUNTLET 
GROUP_TIMED_RUN 
WORLD_STATE_BARRELS_PLANTED 
SKARLOC_MOUNT_MODEL 
ENCOUNTER_PROGRESS_NONE 
ENCOUNTER_PROGRESS_BARRELS 
ENCOUNTER_PROGRESS_THRALL_ARMORED 
ENCOUNTER_PROGRESS_AMBUSHES_1 
ENCOUNTER_PROGRESS_SKARLOC_KILLED 
ENCOUNTER_PROGRESS_TARREN_MILL 
ENCOUNTER_PROGRESS_TARETHA_MEET 
ENCOUNTER_PROGRESS_EPOCH_KILLED 
ENCOUNTER_PROGRESS_FINISHED 
EVENT_INITIAL_BARRELS_FLAME 
EVENT_FINAL_BARRELS_FLAME 
EVENT_SUMMON_LIEUTENANT 
EVENT_THRALL_REPOSITION 
INSTANCE_POSITIONS_COUNT 
THRALL_POSITIONS_COUNT 
SPELL_CHEST_PAINS 
SPELL_WYVERN_STING 
SPELL_SHADOW_INFERNO_DAMAGE 
SPELL_CHAOTIC_CHARGE 
SPELL_DEMENTIA1 
SPELL_DEMENTIA2 
SPELL_SUMMON_SHADOWFIENDS 
71{
73 SKARLOC_MOUNT_MODEL = 18223,
74
77 //ENCOUNTER_PROGRESS_DRAKE_KILLED = 2, No longer used. Kept as reference as DB might rely on the existing order.
85
90
93};
@ ENCOUNTER_PROGRESS_AMBUSHES_1
Definition: old_hillsbrad.h:79
@ THRALL_POSITIONS_COUNT
Definition: old_hillsbrad.h:92
@ ENCOUNTER_PROGRESS_THRALL_ARMORED
Definition: old_hillsbrad.h:78
@ EVENT_INITIAL_BARRELS_FLAME
Definition: old_hillsbrad.h:86
@ EVENT_THRALL_REPOSITION
Definition: old_hillsbrad.h:89
@ EVENT_SUMMON_LIEUTENANT
Definition: old_hillsbrad.h:88
@ WORLD_STATE_BARRELS_PLANTED
Definition: old_hillsbrad.h:72
@ ENCOUNTER_PROGRESS_BARRELS
Definition: old_hillsbrad.h:76
@ ENCOUNTER_PROGRESS_EPOCH_KILLED
Definition: old_hillsbrad.h:83
@ ENCOUNTER_PROGRESS_TARETHA_MEET
Definition: old_hillsbrad.h:82
@ ENCOUNTER_PROGRESS_SKARLOC_KILLED
Definition: old_hillsbrad.h:80
@ ENCOUNTER_PROGRESS_TARREN_MILL
Definition: old_hillsbrad.h:81
@ EVENT_FINAL_BARRELS_FLAME
Definition: old_hillsbrad.h:87
@ ENCOUNTER_PROGRESS_FINISHED
Definition: old_hillsbrad.h:84
@ INSTANCE_POSITIONS_COUNT
Definition: old_hillsbrad.h:91
@ SKARLOC_MOUNT_MODEL
Definition: old_hillsbrad.h:73
@ ENCOUNTER_PROGRESS_NONE
Definition: old_hillsbrad.h:75

◆ NpcIds

enum NpcIds
Enumerator
NPC_STONE_KEEPER 
NPC_ARCHAEDAS 
NPC_EROZION 
NPC_THRALL 
NPC_TARETHA 
NPC_EPOCH_HUNTER 
NPC_LIEUTENANT_DRAKE 
NPC_LODGE_QUEST_TRIGGER 
NPC_ORC_PRISONER 
NPC_DURNHOLDE_ARMORER 
NPC_DURNHOLDE_WARDEN 
NPC_DURNHOLDE_VETERAN 
NPC_DURNHOLDE_MAGE 
NPC_DURNHOLDE_SENTRY 
NPC_CAPTAIN_SKARLOC 
NPC_SKARLOC_MOUNT 
NPC_IMMOL_THAR 
NPC_HIGHBORNE_SUMMONER 
NPC_MAGTHERIDON 
NPC_HELLFIRE_CHANNELER 
NPC_HELLFIRE_WARDER 
NPC_HELLFIRE_RAID_TRIGGER 
NPC_TARGET_TRIGGER 
NPC_SUNSEEKER_ASTROMAGE 
NPC_SUNSEEKER_ENGINEER 
NPC_BLOODWARDER_CENTURION 
NPC_BLOODWARDER_PHYSICIAN 
NPC_TEMPEST_KEEPER_DESTROYER 
NPC_PATHALEON_THE_CALCULATOR 
43{
44 NPC_EROZION = 18723,
45 NPC_THRALL = 17876,
46 NPC_TARETHA = 18887,
47 NPC_EPOCH_HUNTER = 18096,
49
51 NPC_ORC_PRISONER = 18598,
52
56 NPC_DURNHOLDE_MAGE = 18934,
58
59 NPC_CAPTAIN_SKARLOC = 17862,
60 NPC_SKARLOC_MOUNT = 18798,
61};
@ NPC_DURNHOLDE_MAGE
Definition: old_hillsbrad.h:56
@ NPC_LIEUTENANT_DRAKE
Definition: old_hillsbrad.h:48
@ NPC_EPOCH_HUNTER
Definition: old_hillsbrad.h:47
@ NPC_LODGE_QUEST_TRIGGER
Definition: old_hillsbrad.h:50
@ NPC_EROZION
Definition: old_hillsbrad.h:44
@ NPC_SKARLOC_MOUNT
Definition: old_hillsbrad.h:60
@ NPC_DURNHOLDE_ARMORER
Definition: old_hillsbrad.h:53
@ NPC_ORC_PRISONER
Definition: old_hillsbrad.h:51
@ NPC_DURNHOLDE_VETERAN
Definition: old_hillsbrad.h:55
@ NPC_TARETHA
Definition: old_hillsbrad.h:46
@ NPC_THRALL
Definition: old_hillsbrad.h:45
@ NPC_DURNHOLDE_WARDEN
Definition: old_hillsbrad.h:54
@ NPC_DURNHOLDE_SENTRY
Definition: old_hillsbrad.h:57
@ NPC_CAPTAIN_SKARLOC
Definition: old_hillsbrad.h:59

Function Documentation

◆ GetOldHillsbradAI()

template<class AI , class T >
AI * GetOldHillsbradAI ( T *  obj)
inline
97{
98 return GetInstanceAI<AI>(obj, OldHillsbradScriptName);
99}
#define OldHillsbradScriptName
Definition: old_hillsbrad.h:25

References OldHillsbradScriptName.