TrinityCore
Loading...
Searching...
No Matches
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{
30 DATA_JEKLIK = 0, // Main boss
31 DATA_VENOXIS = 1, // Main boss
32 DATA_MARLI = 2, // Main boss
33 DATA_ARLOKK = 3, // Main boss
34 DATA_THEKAL = 4, // Main boss
35 DATA_HAKKAR = 5, // End boss
36 DATA_MANDOKIR = 6, // Optional boss
37 DATA_JINDO = 7, // Optional boss
38 DATA_GAHZRANKA = 8, // Optional boss
39 DATA_EDGE_OF_MADNESS = 9, // Optional Event Edge of Madness - one of: Gri'lek, Renataki, Hazza'rah, or Wushoolay
40 DATA_LORKHAN = 10, // Zealot Lor'Khan add to High priest Thekal!
41 DATA_ZATH = 11, // Zealot Zath add to High priest Thekal!
42
45};
46
48{
49 NPC_ARLOKK = 14515, // Arlokk Event
50 NPC_PANTHER_TRIGGER = 15091, // Arlokk Event
51 NPC_ZULIAN_PROWLER = 15101, // Arlokk Event
61 NPC_MANDOKIR = 11382, // Mandokir Event
62 NPC_OHGAN = 14988, // Mandokir Event
63 NPC_VILEBRANCH_SPEAKER = 11391, // Mandokir Event
64 NPC_CHAINED_SPIRT = 15117, // Mandokir Event
65 NPC_HAKKAR = 14834,
66 NPC_HAZZARAH = 15083, // Brazier of madness
67 NPC_WUSHOOLAY = 15085, // brazier of madness
68 NPC_RENATAKI = 15084, // brazier of madness
69 NPC_GRILEK = 15082 // brazier of madness
70};
71
73{
74 GO_FORCEFIELD = 180497, // Arlokk Event
75 GO_GONG_OF_BETHEKK = 180526 // Arlokk Event
76};
77
84
85template <class AI, class T>
86inline AI* GetZulGurubAI(T* obj)
87{
88 return GetInstanceAI<AI>(obj, ZGScriptName);
89}
90
91#define RegisterZulGurubCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetZulGurubAI)
92#define RegisterZulGurubGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetZulGurubAI)
93
94#endif
uint32_t uint32
Definition Define.h:133
ZGGameObjectIds
Definition zulgurub.h:73
@ GO_GONG_OF_BETHEKK
Definition zulgurub.h:75
@ GO_FORCEFIELD
Definition zulgurub.h:74
uint32 const EncounterCount
Definition zulgurub.h:26
ZGCreatureIds
Definition zulgurub.h:48
@ NPC_HAKKAR
Definition zulgurub.h:65
@ NPC_ZEALOT_ZATH
Definition zulgurub.h:53
@ NPC_PANTHER_TRIGGER
Definition zulgurub.h:50
@ NPC_SHADE_OF_JINDO
Definition zulgurub.h:58
@ NPC_ARLOKK
Definition zulgurub.h:49
@ NPC_ZULIAN_PROWLER
Definition zulgurub.h:51
@ NPC_VILEBRANCH_SPEAKER
Definition zulgurub.h:63
@ NPC_HAZZARAH
Definition zulgurub.h:66
@ NPC_OHGAN
Definition zulgurub.h:62
@ NPC_GAHZRANKA
Definition zulgurub.h:60
@ NPC_JINDO_THE_HEXXER
Definition zulgurub.h:56
@ NPC_RENATAKI
Definition zulgurub.h:68
@ NPC_MANDOKIR
Definition zulgurub.h:61
@ NPC_WUSHOOLAY
Definition zulgurub.h:67
@ NPC_SACRIFICED_TROLL
Definition zulgurub.h:59
@ NPC_CHAINED_SPIRT
Definition zulgurub.h:64
@ NPC_HIGH_PRIEST_THEKAL
Definition zulgurub.h:55
@ NPC_NIGHTMARE_ILLUSION
Definition zulgurub.h:57
@ NPC_GRILEK
Definition zulgurub.h:69
@ NPC_PRIESTESS_MARLI
Definition zulgurub.h:54
@ NPC_ZEALOT_LORKHAN
Definition zulgurub.h:52
AI * GetZulGurubAI(T *obj)
Definition zulgurub.h:86
ZulGurubAreaTriggers
Definition zulgurub.h:79
@ AREA_TRIGGER_1
Definition zulgurub.h:80
@ AREA_TRIGGER_2
Definition zulgurub.h:81
@ AREA_TRIGGER_3
Definition zulgurub.h:82
ZGDataTypes
Definition zulgurub.h:29
@ DATA_LORKHAN
Definition zulgurub.h:40
@ DATA_THEKAL
Definition zulgurub.h:34
@ DATA_GAHZRANKA
Definition zulgurub.h:38
@ DATA_ARLOKK
Definition zulgurub.h:33
@ DATA_HAKKAR
Definition zulgurub.h:35
@ DATA_MARLI
Definition zulgurub.h:32
@ DATA_JINDO
Definition zulgurub.h:37
@ DATA_MANDOKIR
Definition zulgurub.h:36
@ DATA_ZATH
Definition zulgurub.h:41
@ DATA_JEKLIK
Definition zulgurub.h:30
@ DATA_GONG_BETHEKK
Definition zulgurub.h:43
@ DATA_VENOXIS
Definition zulgurub.h:31
@ DATA_VILEBRANCH_SPEAKER
Definition zulgurub.h:44
@ DATA_EDGE_OF_MADNESS
Definition zulgurub.h:39
#define ZGScriptName
Definition zulgurub.h:23