TrinityCore
halls_of_lightning.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 HALLS_OF_LIGHTNING_H_
19#define HALLS_OF_LIGHTNING_H_
20
21#include "CreatureAIImpl.h"
22
23#define HoLScriptName "instance_halls_of_lightning"
24#define DataHeader "HOL"
25
27
29{
30 // Bosses
35
36 // Additional Data
37 /*General Bjarngrim*/
39
40 /*Volkhan*/
43
44 /*Loken*/
46};
47
49{
50 // Bosses
52 NPC_VOLKHAN = 28587,
53 NPC_IONAR = 28546,
54 NPC_LOKEN = 28923,
55
56 /*General Bjarngrim*/
58
59 /*Volkhan*/
61 NPC_MOLTEN_GOLEM = 28695
62};
63
65{
68 GO_IONAR_DOOR = 191326,
69 GO_LOKEN_DOOR = 191324,
70
71 /*Volkhan*/
73
74 /*Loken*/
75 GO_LOKEN_THRONE = 192654
76};
77
78template <class AI, class T>
79inline AI* GetHallsOfLightningAI(T* obj)
80{
81 return GetInstanceAI<AI>(obj, HoLScriptName);
82}
83
84#define RegisterHallsOfLightningCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetHallsOfLightningAI)
85
86#endif // HALLS_OF_LIGHTNING_H_
uint32_t uint32
Definition: Define.h:142
HOLCreaturesIds
@ NPC_VOLKHANS_ANVIL
@ NPC_GENERAL_BJARNGRIM
@ NPC_MOLTEN_GOLEM
@ NPC_LOKEN
@ NPC_IONAR
@ NPC_VOLKHAN
@ NPC_INVISIBLE_STALKER
HOLGameObjectIds
@ GO_LOKEN_THRONE
@ GO_VOLKHAN_DOOR
@ GO_VOLKHAN_TEMPER_VISUAL
@ GO_LOKEN_DOOR
@ GO_IONAR_DOOR
@ GO_BJARNGRIM_DOOR
uint32 const EncounterCount
#define HoLScriptName
HOLDataTypes
@ DATA_IONAR
@ DATA_VOLKHANS_ANVIL
@ DATA_VOLKHAN
@ DATA_GENERAL_BJARNGRIM
@ DATA_INVISIBLE_STALKER
@ DATA_LOKEN_GLOBE
@ DATA_VOLKHAN_TEMPER_VISUAL
@ DATA_LOKEN
AI * GetHallsOfLightningAI(T *obj)