TrinityCore
zulgurub.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 DEF_ZULGURUB_H
19#define DEF_ZULGURUB_H
20
21#include "CreatureAIImpl.h"
22
23#define ZGScriptName "instance_zulgurub"
24#define DataHeader "ZG"
25
27
29{
35
36 // Cache of Madness
41
42 // Jin'do the Godbreaker
44};
45
47{
48 NPC_VENOXIS = 52155,
49 NPC_MANDOKIR = 52151,
50 NPC_KILNARA = 52059,
51 NPC_ZANZIL = 52053,
52 NPC_JINDO = 52148,
53
54 // Cache of Madness
55 NPC_HAZZARAH = 52271,
56 NPC_RENATAKI = 52269,
58 NPC_GRILEK = 52258,
59
60 // Bloodlord Mandokir
62 NPC_OHGAN = 52157,
63
64 // Jin'do the Godbreaker
68};
69
71{
72 // High Priest Venoxis
74
75 // Bloodlord Mandokir
81
82 // High Priestess Kilnara
83 GO_FORCEFIELD = 180497,
84
85 // Zanzil
87
88 // Cache of Madness
90};
91
92template <class AI, class T>
93inline AI* GetZulGurubAI(T* obj)
94{
95 return GetInstanceAI<AI>(obj, ZGScriptName);
96}
97
98#define RegisterZulGurubCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetZulGurubAI)
99#define RegisterZulGurubGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetZulGurubAI)
100
101#endif
uint32_t uint32
Definition: Define.h:142
ZGGameObjectIds
Definition: zulgurub.h:71
@ GO_ARENA_DOOR_5
Definition: zulgurub.h:80
@ GO_THE_CACHE_OF_MADNESS_DOOR
Definition: zulgurub.h:89
@ GO_ARENA_DOOR_1
Definition: zulgurub.h:76
@ GO_ARENA_DOOR_3
Definition: zulgurub.h:78
@ GO_ARENA_DOOR_4
Definition: zulgurub.h:79
@ GO_ARENA_DOOR_2
Definition: zulgurub.h:77
@ GO_FORCEFIELD
Definition: zulgurub.h:83
@ GO_ZANZIL_DOOR
Definition: zulgurub.h:86
@ GO_VENOXIS_COIL
Definition: zulgurub.h:73
uint32 const EncounterCount
Definition: zulgurub.h:26
ZGCreatureIds
Definition: zulgurub.h:47
@ NPC_SHADOW_OF_HAKKAR
Definition: zulgurub.h:67
@ NPC_KILNARA
Definition: zulgurub.h:50
@ NPC_JINDO_TRIGGER
Definition: zulgurub.h:65
@ NPC_VENOXIS
Definition: zulgurub.h:48
@ NPC_HAZZARAH
Definition: zulgurub.h:55
@ NPC_ZANZIL
Definition: zulgurub.h:51
@ NPC_OHGAN
Definition: zulgurub.h:62
@ NPC_RENATAKI
Definition: zulgurub.h:56
@ NPC_SPIRIT_OF_HAKKAR
Definition: zulgurub.h:66
@ NPC_MANDOKIR
Definition: zulgurub.h:49
@ NPC_WUSHOOLAY
Definition: zulgurub.h:57
@ NPC_JINDO
Definition: zulgurub.h:52
@ NPC_GRILEK
Definition: zulgurub.h:58
@ NPC_CHAINED_SPIRIT
Definition: zulgurub.h:61
AI * GetZulGurubAI(T *obj)
Definition: zulgurub.h:93
ZGDataTypes
Definition: zulgurub.h:29
@ DATA_GRILEK
Definition: zulgurub.h:40
@ DATA_HAZZARAH
Definition: zulgurub.h:37
@ DATA_JINDO
Definition: zulgurub.h:34
@ DATA_MANDOKIR
Definition: zulgurub.h:31
@ DATA_WUSHOOLAY
Definition: zulgurub.h:39
@ DATA_JINDOR_TRIGGER
Definition: zulgurub.h:43
@ DATA_KILNARA
Definition: zulgurub.h:32
@ DATA_ZANZIL
Definition: zulgurub.h:33
@ DATA_RENATAKI
Definition: zulgurub.h:38
@ DATA_VENOXIS
Definition: zulgurub.h:30
#define ZGScriptName
Definition: zulgurub.h:23