TrinityCore
magtheridons_lair.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_MAGTHERIDONS_LAIR_H
19#define DEF_MAGTHERIDONS_LAIR_H
20
21#include "CreatureAIImpl.h"
22
23#define MLScriptName "instance_magtheridons_lair"
24#define DataHeader "ML"
25
27
29{
43};
44
46{
49};
50
52{
54 NPC_ABYSSAL = 17454,
62};
63
65{
75};
76
77template <class AI, class T>
78inline AI* GetMagtheridonsLairAI(T* obj)
79{
80 return GetInstanceAI<AI>(obj, MLScriptName);
81}
82
83#define RegisterMagtheridonsLairCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetMagtheridonsLairAI)
84#define RegisterMagtheridonsLairGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetMagtheridonsLairAI)
85
86#endif
uint32_t uint32
Definition: Define.h:142
MLCreatureIds
@ NPC_MAGTHERIDON
@ NPC_HELLFIRE_CHANNELLER
@ NPC_WORLD_TRIGGER
@ NPC_ABYSSAL
@ NPC_MAGTHERIDON_ROOM
@ NPC_HELFIRE_RAID_TRIGGER
@ NPC_HELLFIRE_WARDER
@ NPC_OLDWORLD_TRIGGER
@ NPC_TARGET_TRIGGER
#define MLScriptName
uint32 const EncounterCount
MLDataTypes
@ DATA_CALL_WARDERS
@ DATA_MAGTHERIDON_COLUMN_0
@ DATA_MAGTHERIDON_HALL
@ DATA_COLLAPSE
@ DATA_COLLAPSE_2
@ DATA_MAGTHERIDON_COLUMN_5
@ DATA_WORLD_TRIGGER
@ DATA_MAGTHERIDON_COLUMN_3
@ DATA_MAGTHERIDON_COLUMN_2
@ DATA_MANTICRON_CUBE
@ DATA_MAGTHERIDON_COLUMN_1
@ DATA_MAGTHERIDON
@ DATA_MAGTHERIDON_COLUMN_4
AI * GetMagtheridonsLairAI(T *obj)
MLActions
@ ACTION_ENABLE
@ ACTION_DISABLE
MLGameObjectIds
@ GO_MAGTHERIDON_COLUMN_0
@ GO_MAGTHERIDON_COLUMN_1
@ GO_MAGTHERIDON_COLUMN_4
@ GO_MAGTHERIDON_HALL
@ GO_MAGTHERIDON_COLUMN_5
@ GO_MAGTHERIDON_COLUMN_2
@ GO_MANTICRON_CUBE
@ GO_MAGTHERIDON_DOOR
@ GO_MAGTHERIDON_COLUMN_3