TrinityCore
lost_city_of_the_tolvir.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 LostCityOfTheTolvir_h__
19#define LostCityOfTheTolvir_h__
20
21#include "CreatureAIImpl.h"
22
23#define DataHeader "LCT"
24#define LCTScriptName "instance_lost_city_of_the_tolvir"
25
26static constexpr uint32 EncounterCount = 4;
27
29{
30 // Encounters
35
43};
44
46{
47 // Bosses
49 NPC_LOCKMAW = 43614,
51 NPC_SIAMAT = 44819,
52
53 // Encounter related creatures
54 /*General Husam*/
60
61 /*Lockmaw*/
68};
69
70template <class AI, class T>
71inline AI* GetLostCityOfTheTolvirAI(T* obj)
72{
73 return GetInstanceAI<AI>(obj, LCTScriptName);
74}
75
76#define RegisterLostCityOfTheTolvirAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetLostCityOfTheTolvirAI)
77
78#endif // LostCityOfTheTolvir_h__
uint32_t uint32
Definition: Define.h:142
#define LCTScriptName
@ NPC_TOLVIR_LAND_MINE_TARGET
@ NPC_TOLVIR_LAND_MINE_CASTER
@ NPC_GENERAL_HUSAM
@ NPC_ADD_STALKER
@ NPC_FRENZIED_CROCOLISK
@ NPC_AUGH_ADD_2
@ NPC_DUST_FLAIL
@ NPC_BAD_INTENTIONS_TARGET
@ NPC_TOLVIR_LAND_MINE_VEHICLE
@ NPC_SHOCKWAVE_STALKER
@ NPC_HIGH_PROPHET_BARIM
@ NPC_AUGH_ADD_1
@ NPC_DUST_FLAIL_CASTER
@ DATA_DUST_FLAIL
@ DATA_HEROIC_AUGH_DESPAWNED
@ DATA_ADD_STALKER_2
@ DATA_ADD_STALKER_1
@ BOSS_HIGH_PROPHET_BARIM
@ DATA_ADD_STALKER_3
@ DATA_SHUFFLE_ADD_STALKERS
@ BOSS_GENERAL_HUSAM
@ DATA_ADD_STALKER_4
AI * GetLostCityOfTheTolvirAI(T *obj)
static constexpr uint32 EncounterCount