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
46
48{
50 NPC_NALORAKK = 23576,
51 NPC_AKILZON = 23574,
52 NPC_JANALAI = 23578,
53 NPC_HALAZZI = 23577,
54 NPC_HEXLORD = 24239,
55 NPC_ZULJIN = 23863,
56
57 // Zul'jin
62};
63
79
87
88template <class AI, class T>
89inline AI* GetZulAmanAI(T* obj)
90{
91 return GetInstanceAI<AI>(obj, ZulamanScriptName);
92}
93
94#define RegisterZulAmanCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetZulAmanAI)
95
96#endif
ZACreatureIds
Definition zulaman.h:48
@ NPC_EAGLE_SPIRIT
Definition zulaman.h:59
@ NPC_AKILZON
Definition zulaman.h:51
@ NPC_JANALAI
Definition zulaman.h:52
@ NPC_NALORAKK
Definition zulaman.h:50
@ NPC_DRAGONHAWK_SPIRIT
Definition zulaman.h:61
@ NPC_HALAZZI
Definition zulaman.h:53
@ NPC_BEAR_SPIRIT
Definition zulaman.h:58
@ NPC_ZULJIN
Definition zulaman.h:55
@ NPC_HARRISON_JONES
Definition zulaman.h:49
@ NPC_LYNX_SPIRIT
Definition zulaman.h:60
@ NPC_HEXLORD
Definition zulaman.h:54
AI * GetZulAmanAI(T *obj)
Definition zulaman.h:89
#define ZulamanScriptName
Definition zulaman.h:23
ZADataTypes
Definition zulaman.h:27
@ BOSS_HEXLORD
Definition zulaman.h:32
@ DATA_CHESTLOOTED
Definition zulaman.h:37
@ BOSS_ZULJIN
Definition zulaman.h:33
@ DATA_GONGEVENT
Definition zulaman.h:36
@ TYPE_RAND_VENDOR_1
Definition zulaman.h:38
@ MAX_ENCOUNTER
Definition zulaman.h:34
@ TYPE_RAND_VENDOR_2
Definition zulaman.h:39
@ DATA_EAGLE_SPIRIT
Definition zulaman.h:42
@ DATA_BEAR_SPIRIT
Definition zulaman.h:41
@ DATA_DRAGONHAWK_SPIRIT
Definition zulaman.h:44
@ BOSS_NALORAKK
Definition zulaman.h:28
@ BOSS_HALAZZI
Definition zulaman.h:31
@ DATA_LYNX_SPIRIT
Definition zulaman.h:43
@ BOSS_AKILZON
Definition zulaman.h:29
@ BOSS_JANALAI
Definition zulaman.h:30
ZAGameObjectIds
Definition zulaman.h:65
@ GO_STRANGE_GONG
Definition zulaman.h:77
@ GO_KRAZS_PACKAGE
Definition zulaman.h:76
@ GO_ASHLIS_BAG
Definition zulaman.h:75
@ GO_DOOR_ZULJIN
Definition zulaman.h:72
@ GO_LYNX_TEMPLE_EXIT
Definition zulaman.h:66
@ GO_MASSIVE_GATE
Definition zulaman.h:70
@ GO_WOODEN_DOOR
Definition zulaman.h:69
@ GO_HEXLORD_ENTRANCE
Definition zulaman.h:68
@ GO_LYNX_TEMPLE_ENTRANCE
Definition zulaman.h:67
@ GO_DOOR_AKILZON
Definition zulaman.h:71
@ GO_HARKORS_SATCHEL
Definition zulaman.h:73
@ GO_TANZARS_TRUNK
Definition zulaman.h:74
ZAActionIds
Definition zulaman.h:81
@ ACTION_WAVE_DONE_2
Definition zulaman.h:83
@ ACTION_WAVE_DONE_4
Definition zulaman.h:85
@ ACTION_WAVE_DONE_1
Definition zulaman.h:82
@ ACTION_WAVE_DONE_3
Definition zulaman.h:84