TrinityCore
ahnkahet.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 AHNKAHET_H_
19 #define AHNKAHET_H_
20 
21 #include "CreatureAIImpl.h"
22 
23 #define AhnKahetScriptName "instance_ahnkahet"
24 #define DataHeader "AK"
25 
27 
29 {
30  // Encounter States/Boss GUIDs
36 
37  // Additional Data
41 };
42 
44 {
45  NPC_ELDER_NADOX = 29309,
48  NPC_AMANITAR = 30258,
50 
51  // Elder Nadox
54 
55  // Jedoga Shadowseeker
60 
61  // Amanitar
64 
65  // Herald Volazj
66  //NPC_TWISTED_VISAGE_1 = 30621,
67  //NPC_TWISTED_VISAGE_2 = 30622,
68  //NPC_TWISTED_VISAGE_3 = 30623,
69  //NPC_TWISTED_VISAGE_4 = 30624,
71 };
72 
74 {
77  GO_SPHERE_1 = 193093,
78  GO_SPHERE_2 = 193094
79 };
80 
81 template <class AI, class T>
82 inline AI* GetAhnKahetAI(T* obj)
83 {
84  return GetInstanceAI<AI>(obj, AhnKahetScriptName);
85 }
86 
87 #define RegisterAhnKahetCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetAhnKahetAI)
88 #define RegisterAhnKahetGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetAhnKahetAI)
89 
90 #endif // AHNKAHET_H_
Definition: ahnkahet.h:63
Definition: ahnkahet.h:47
Definition: ahnkahet.h:77
Definition: ahnkahet.h:48
Definition: ahnkahet.h:56
Definition: ahnkahet.h:78
Definition: ahnkahet.h:53
Definition: ahnkahet.h:35
Definition: ahnkahet.h:70
Definition: ahnkahet.h:58
Definition: ahnkahet.h:76
Definition: ahnkahet.h:33
Definition: ahnkahet.h:62
Definition: ahnkahet.h:34
Definition: ahnkahet.h:46
Definition: ahnkahet.h:39
Definition: ahnkahet.h:49
#define AhnKahetScriptName
Definition: ahnkahet.h:23
uint32_t uint32
Definition: Define.h:143
Definition: ahnkahet.h:75
AI * GetAhnKahetAI(T *obj)
Definition: ahnkahet.h:82
Definition: ahnkahet.h:38
Definition: ahnkahet.h:57
AKCreatureIds
Definition: ahnkahet.h:43
AKDataTypes
Definition: ahnkahet.h:28
AKGameObjectIds
Definition: ahnkahet.h:73
Definition: ahnkahet.h:40
Definition: ahnkahet.h:31
Definition: ahnkahet.h:59
Definition: ahnkahet.h:45
Definition: ahnkahet.h:32
uint32 const EncounterCount
Definition: ahnkahet.h:26
Definition: ahnkahet.h:52