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{
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,
70 NPC_TWISTED_VISAGE = 30625
71};
72
74{
77 GO_SPHERE_1 = 193093,
78 GO_SPHERE_2 = 193094
79};
80
81template <class AI, class T>
82inline 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_
uint32_t uint32
Definition: Define.h:142
uint32 const EncounterCount
Definition: ahnkahet.h:26
AKDataTypes
Definition: ahnkahet.h:29
@ DATA_HERALD_VOLAZJ
Definition: ahnkahet.h:35
@ DATA_JEDOGA_SHADOWSEEKER
Definition: ahnkahet.h:33
@ DATA_AMANITAR
Definition: ahnkahet.h:34
@ DATA_SPHERE_2
Definition: ahnkahet.h:39
@ DATA_PRINCE_TALDARAM_PLATFORM
Definition: ahnkahet.h:40
@ DATA_ELDER_NADOX
Definition: ahnkahet.h:31
@ DATA_PRINCE_TALDARAM
Definition: ahnkahet.h:32
@ DATA_SPHERE_1
Definition: ahnkahet.h:38
#define AhnKahetScriptName
Definition: ahnkahet.h:23
AI * GetAhnKahetAI(T *obj)
Definition: ahnkahet.h:82
AKGameObjectIds
Definition: ahnkahet.h:74
@ GO_PRINCE_TALDARAM_GATE
Definition: ahnkahet.h:75
@ GO_PRINCE_TALDARAM_PLATFORM
Definition: ahnkahet.h:76
@ GO_SPHERE_2
Definition: ahnkahet.h:78
@ GO_SPHERE_1
Definition: ahnkahet.h:77
AKCreatureIds
Definition: ahnkahet.h:44
@ NPC_AHNKAHAR_SWARMER
Definition: ahnkahet.h:53
@ NPC_AMANITAR
Definition: ahnkahet.h:48
@ NPC_HERALD_VOLAZJ
Definition: ahnkahet.h:49
@ NPC_HEALTHY_MUSHROOM
Definition: ahnkahet.h:62
@ NPC_JEDOGA_SHADOWSEEKER
Definition: ahnkahet.h:47
@ NPC_TWILIGHT_VOLUNTEER
Definition: ahnkahet.h:57
@ NPC_TWISTED_VISAGE
Definition: ahnkahet.h:70
@ NPC_TWILIGHT_INITIATE
Definition: ahnkahet.h:56
@ NPC_TWILIGHT_WORSHIPPER
Definition: ahnkahet.h:58
@ NPC_AHNKAHAR_GUARDIAN
Definition: ahnkahet.h:52
@ NPC_JEDOGA_CONTROLLER
Definition: ahnkahet.h:59
@ NPC_ELDER_NADOX
Definition: ahnkahet.h:45
@ NPC_POISONOUS_MUSHROOM
Definition: ahnkahet.h:63
@ NPC_PRINCE_TALDARAM
Definition: ahnkahet.h:46