TrinityCore
baradin_hold.h
Go to the documentation of this file.
1/*
2* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3*
4* This program is free software; you can redistribute it and/or modify it
5* under the terms of the GNU General Public License as published by the
6* Free Software Foundation; either version 3 of the License, or (at your
7* option) any later version.
8*
9* This program is distributed in the hope that it will be useful, but WITHOUT
10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12* more details.
13*
14* You should have received a copy of the GNU General Public License along
15* with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef DEF_BARADIN_HOLD_H_
19#define DEF_BARADIN_HOLD_H_
20
21#include "CreatureAIImpl.h"
22
23#define DataHeader "BH"
24#define BHScriptName "instance_baradin_hold"
25
27
29{
30 // Encounters
34
35 // Encounter Related
37};
38
40{
41 // Bosses
42 NPC_ARGALOTH = 47120,
43 NPC_OCCUTHAR = 52363,
44 NPC_ALIZABAL = 55869,
45
46 // Encounter Related Creatures
47 /*Argaloth*/
49
52 NPC_OCCUTHAR_EYE = 52368
53};
54
56{
59 GO_ALIZABAL_DOOR = 209849
60};
61
63{
64 // Fel Flames
65 SPELL_FEL_FLAMES = 88999
66};
67
68template<class AI, class T>
69inline AI* GetBaradinHoldAI(T* obj)
70{
71 return GetInstanceAI<AI>(obj, BHScriptName);
72}
73
74#define RegisterBaradinHoldCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBaradinHoldAI)
75
76#endif
uint32_t uint32
Definition: Define.h:142
BHSpells
Definition: baradin_hold.h:63
@ SPELL_FEL_FLAMES
Definition: baradin_hold.h:65
uint32 const EncounterCount
Definition: baradin_hold.h:26
BHGameObjectIds
Definition: baradin_hold.h:56
@ GO_OCCUTHAR_DOOR
Definition: baradin_hold.h:58
@ GO_ALIZABAL_DOOR
Definition: baradin_hold.h:59
@ GO_ARGALOTH_DOOR
Definition: baradin_hold.h:57
#define BHScriptName
Definition: baradin_hold.h:24
AI * GetBaradinHoldAI(T *obj)
Definition: baradin_hold.h:69
BHDataTypes
Definition: baradin_hold.h:29
@ BOSS_ALIZABAL
Definition: baradin_hold.h:33
@ BOSS_ARGALOTH
Definition: baradin_hold.h:31
@ DATA_EXTINUISH_FEL_FLAMES
Definition: baradin_hold.h:36
@ BOSS_OCCUTHAR
Definition: baradin_hold.h:32
BHCreatureIds
Definition: baradin_hold.h:40
@ NPC_FEL_FLAMES
Definition: baradin_hold.h:48
@ NPC_OCCUTHAR
Definition: baradin_hold.h:43
@ NPC_ARGALOTH
Definition: baradin_hold.h:42
@ NPC_OCCUTHAR_EYE
Definition: baradin_hold.h:52
@ NPC_EYE_OF_OCCUTHAR
Definition: baradin_hold.h:50
@ NPC_FOCUS_FIRE_DUMMY
Definition: baradin_hold.h:51
@ NPC_ALIZABAL
Definition: baradin_hold.h:44