TrinityCore
the_black_morass.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_THEBLACKMORASS_H
19#define DEF_THEBLACKMORASS_H
20
21#include "CreatureAIImpl.h"
22
23#define TBMScriptName "instance_the_black_morass"
24#define DataHeader "TBM"
25
27
29{
37 DATA_SHIELD = 12
38};
39
41{
45};
46
48{
51};
52
54{
55 NPC_MEDIVH = 15608,
61 NPC_TEMPORUS = 17880,
62 NPC_AEONUS = 17881,
68};
69
70template <class AI, class T>
71inline AI* GetBlackMorassAI(T* obj)
72{
73 return GetInstanceAI<AI>(obj, TBMScriptName);
74}
75
76#define RegisterBlackMorassCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBlackMorassAI)
77
78#endif
uint32_t uint32
Definition: Define.h:142
TBMWorldStateIds
@ WORLD_STATE_BM_SHIELD
@ WORLD_STATE_BM_RIFT
@ WORLD_STATE_BM
uint32 const EncounterCount
TBMCreatureIds
@ NPC_AEONUS
@ NPC_INFINITE_EXECUTIONER
@ NPC_TIME_KEEPER
@ NPC_INFINITE_WHELP
@ NPC_INFINITE_VANQUISHER
@ NPC_INFINITE_CRONOMANCER
@ NPC_TIME_RIFT
@ NPC_RIFT_KEEPER
@ NPC_MEDIVH
@ NPC_INFINITE_ASSASIN
@ NPC_RIFT_LORD
@ NPC_TEMPORUS
@ NPC_CRONO_LORD_DEJA
TBMDataTypes
@ DATA_MEDIVH
@ DATA_PORTAL_COUNT
@ TYPE_MEDIVH
@ TYPE_AEONUS
@ TYPE_CRONO_LORD_DEJA
@ TYPE_TEMPORUS
@ TYPE_RIFT
@ DATA_SHIELD
#define TBMScriptName
AI * GetBlackMorassAI(T *obj)
TBMQuestIds
@ QUEST_MASTER_TOUCH
@ QUEST_OPENING_PORTAL