TrinityCore
Loading...
Searching...
No Matches
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
23#define ZulamanScriptName "instance_zulaman"
24#define DataHeader "ZA"
25
47
49{
50 NPC_AKILZON = 23574,
51 NPC_NALORAKK = 23576,
52 NPC_JANALAI = 23578,
53 NPC_HALAZZI = 23577,
54 NPC_HEXLORD = 24239,
55 NPC_DAAKARA = 23863,
56
57 NPC_VOLJIN = 52924,
59
60 // Daakara
65};
66
82
88
93
99
107
108template <class AI, class T>
109inline AI* GetZulAmanAI(T* obj)
110{
111 return GetInstanceAI<AI>(obj, ZulamanScriptName);
112}
113
114#define RegisterZulAmanCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetZulAmanAI)
115
116#endif
ZAWorldStates
Definition zulaman.h:95
@ WORLD_STATE_ZULAMAN_TIMER_ENABLED
Definition zulaman.h:96
@ WORLD_STATE_ZULAMAN_TIMER
Definition zulaman.h:97
ZACreatureIds
Definition zulaman.h:49
@ NPC_EAGLE_SPIRIT
Definition zulaman.h:62
@ NPC_HEXLORD_TRIGGER
Definition zulaman.h:58
@ NPC_AKILZON
Definition zulaman.h:50
@ NPC_JANALAI
Definition zulaman.h:52
@ NPC_NALORAKK
Definition zulaman.h:51
@ NPC_DAAKARA
Definition zulaman.h:55
@ NPC_DRAGONHAWK_SPIRIT
Definition zulaman.h:64
@ NPC_HALAZZI
Definition zulaman.h:53
@ NPC_BEAR_SPIRIT
Definition zulaman.h:61
@ NPC_VOLJIN
Definition zulaman.h:57
@ NPC_LYNX_SPIRIT
Definition zulaman.h:63
@ NPC_HEXLORD
Definition zulaman.h:54
AI * GetZulAmanAI(T *obj)
Definition zulaman.h:109
#define ZulamanScriptName
Definition zulaman.h:23
ZADataTypes
Definition zulaman.h:27
@ BOSS_HEXLORD
Definition zulaman.h:32
@ DATA_ZULAMAN_STATE
Definition zulaman.h:40
@ MAX_ENCOUNTER
Definition zulaman.h:34
@ DATA_EAGLE_SPIRIT
Definition zulaman.h:43
@ DATA_BEAR_SPIRIT
Definition zulaman.h:42
@ DATA_DRAGONHAWK_SPIRIT
Definition zulaman.h:45
@ BOSS_DAAKARA
Definition zulaman.h:33
@ BOSS_NALORAKK
Definition zulaman.h:29
@ BOSS_HALAZZI
Definition zulaman.h:31
@ DATA_LYNX_SPIRIT
Definition zulaman.h:44
@ BOSS_AKILZON
Definition zulaman.h:28
@ BOSS_JANALAI
Definition zulaman.h:30
@ DATA_HEXLORD_TRIGGER
Definition zulaman.h:37
ZAAction
Definition zulaman.h:90
@ ACTION_START_ZULAMAN
Definition zulaman.h:91
ZAGameObjectIds
Definition zulaman.h:68
@ GO_HAZLEKS_TRUNK
Definition zulaman.h:77
@ GO_STRANGE_GONG
Definition zulaman.h:80
@ GO_DOOR_DAAKARA
Definition zulaman.h:75
@ GO_BAKKALZUS_SATCHEL
Definition zulaman.h:76
@ GO_LYNX_TEMPLE_EXIT
Definition zulaman.h:69
@ GO_MASSIVE_GATE
Definition zulaman.h:73
@ GO_WOODEN_DOOR
Definition zulaman.h:72
@ GO_HEXLORD_ENTRANCE
Definition zulaman.h:71
@ GO_LYNX_TEMPLE_ENTRANCE
Definition zulaman.h:70
@ GO_DOOR_AKILZON
Definition zulaman.h:74
@ GO_NORKANIS_PACKAGE
Definition zulaman.h:79
@ GO_KASHAS_BAG
Definition zulaman.h:78
ZAEvents
Definition zulaman.h:84
@ EVENT_UPDATE_ZULAMAN_TIMER
Definition zulaman.h:86
@ EVENT_START_ZULAMAN
Definition zulaman.h:85
ZAActionIds
Definition zulaman.h:101
@ ACTION_WAVE_DONE_2
Definition zulaman.h:103
@ ACTION_WAVE_DONE_4
Definition zulaman.h:105
@ ACTION_WAVE_DONE_1
Definition zulaman.h:102
@ ACTION_WAVE_DONE_3
Definition zulaman.h:104