TrinityCore
zulaman.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_ZULAMAN_H
19#define DEF_ZULAMAN_H
20
21#include "CreatureAIImpl.h"
22
24#define ZulamanScriptName "instance_zulaman"
25#define DataHeader "ZA"
26
28{
29 // BossState
36
37 // Data64
39
42
43 // SetData
45};
46
48{
49 NPC_AKILZON = 23574,
50 NPC_NALORAKK = 23576,
51 NPC_JANALAI = 23578,
52 NPC_HALAZZI = 23577,
53 NPC_HEXLORD = 24239,
54 NPC_DAAKARA = 23863,
55
56 NPC_VOLJIN = 52924,
58};
59
61{
64};
65
67{
70};
71
73{
75};
76
78{
81};
82
83template <class AI, class T>
84inline AI* GetZulAmanAI(T* obj)
85{
86 return GetInstanceAI<AI>(obj, ZulamanScriptName);
87}
88
89#endif
uint32_t uint32
Definition: Define.h:142
ZAWorldStates
Definition: zulaman.h:78
@ WORLD_STATE_ZULAMAN_TIMER_ENABLED
Definition: zulaman.h:79
@ WORLD_STATE_ZULAMAN_TIMER
Definition: zulaman.h:80
ZACreatureIds
Definition: zulaman.h:48
@ NPC_HEXLORD_TRIGGER
Definition: zulaman.h:57
@ NPC_AKILZON
Definition: zulaman.h:49
@ NPC_JANALAI
Definition: zulaman.h:51
@ NPC_NALORAKK
Definition: zulaman.h:50
@ NPC_DAAKARA
Definition: zulaman.h:54
@ NPC_HALAZZI
Definition: zulaman.h:52
@ NPC_VOLJIN
Definition: zulaman.h:56
@ NPC_HEXLORD
Definition: zulaman.h:53
uint32 const EncounterCount
Definition: zulaman.h:23
AI * GetZulAmanAI(T *obj)
Definition: zulaman.h:84
#define ZulamanScriptName
Definition: zulaman.h:24
ZADataTypes
Definition: zulaman.h:28
@ DATA_AKILZON
Definition: zulaman.h:30
@ DATA_STRANGE_GONG
Definition: zulaman.h:40
@ DATA_ZULAMAN_STATE
Definition: zulaman.h:44
@ DATA_NALORAKK
Definition: zulaman.h:31
@ DATA_DAAKARA
Definition: zulaman.h:35
@ DATA_HEXLORD
Definition: zulaman.h:34
@ DATA_MASSIVE_GATE
Definition: zulaman.h:41
@ DATA_JANALAI
Definition: zulaman.h:32
@ DATA_HALAZZI
Definition: zulaman.h:33
@ DATA_HEXLORD_TRIGGER
Definition: zulaman.h:38
ZAAction
Definition: zulaman.h:73
@ ACTION_START_ZULAMAN
Definition: zulaman.h:74
ZAGameObjectIds
Definition: zulaman.h:61
@ GO_STRANGE_GONG
Definition: zulaman.h:62
@ GO_MASSIVE_GATE
Definition: zulaman.h:63
ZAEvents
Definition: zulaman.h:67
@ EVENT_UPDATE_ZULAMAN_TIMER
Definition: zulaman.h:69
@ EVENT_START_ZULAMAN
Definition: zulaman.h:68