TrinityCore
azjol_nerub.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 2 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 AZJOL_NERUB_H_
19#define AZJOL_NERUB_H_
20
21#include "CreatureAIImpl.h"
22
23#define AzjolNerubScriptName "instance_azjol_nerub"
24#define DataHeader "AN"
25
27
29{
30 // Encounter States/Boss GUIDs
34
35 // Additional Data
42};
43
45{
46 NPC_KRIKTHIR = 28684,
47 NPC_HADRONOX = 28921,
48 NPC_ANUBARAK = 29120,
49
53};
54
56{
60 GO_ANUBARAK_DOOR_3 = 192398
61};
62
63// These are passed as -action to AI's DoAction to differentiate between them and boss scripts' own actions
65{
67};
68
69template <class AI, class T>
70inline AI* GetAzjolNerubAI(T* obj)
71{
72 return GetInstanceAI<AI>(obj, AzjolNerubScriptName);
73}
74
75#define RegisterAzjolNerubCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetAzjolNerubAI)
76
77#endif // AZJOL_NERUB_H_
uint32_t uint32
Definition: Define.h:142
ANDataTypes
Definition: azjol_nerub.h:29
@ DATA_KRIKTHIR
Definition: azjol_nerub.h:31
@ DATA_GATEWATCHER_GREET
Definition: azjol_nerub.h:41
@ DATA_WATCHER_SILTHIK
Definition: azjol_nerub.h:38
@ DATA_ANUBARAK
Definition: azjol_nerub.h:33
@ DATA_HADRONOX
Definition: azjol_nerub.h:32
@ DATA_WATCHER_GASHRA
Definition: azjol_nerub.h:37
@ DATA_ANUBARAK_WALL_2
Definition: azjol_nerub.h:40
@ DATA_WATCHER_NARJIL
Definition: azjol_nerub.h:36
@ DATA_ANUBARAK_WALL
Definition: azjol_nerub.h:39
AI * GetAzjolNerubAI(T *obj)
Definition: azjol_nerub.h:70
uint32 const EncounterCount
Definition: azjol_nerub.h:26
#define AzjolNerubScriptName
Definition: azjol_nerub.h:23
ANCreatureIds
Definition: azjol_nerub.h:45
@ NPC_KRIKTHIR
Definition: azjol_nerub.h:46
@ NPC_WATCHER_GASHRA
Definition: azjol_nerub.h:51
@ NPC_ANUBARAK
Definition: azjol_nerub.h:48
@ NPC_WATCHER_NARJIL
Definition: azjol_nerub.h:50
@ NPC_HADRONOX
Definition: azjol_nerub.h:47
@ NPC_WATCHER_SILTHIK
Definition: azjol_nerub.h:52
ANInstanceActions
Definition: azjol_nerub.h:65
@ ACTION_GATEWATCHER_GREET
Definition: azjol_nerub.h:66
ANGameObjectIds
Definition: azjol_nerub.h:56
@ GO_ANUBARAK_DOOR_1
Definition: azjol_nerub.h:58
@ GO_ANUBARAK_DOOR_3
Definition: azjol_nerub.h:60
@ GO_KRIKTHIR_DOOR
Definition: azjol_nerub.h:57
@ GO_ANUBARAK_DOOR_2
Definition: azjol_nerub.h:59