TrinityCore
Loading...
Searching...
No Matches
diremaul.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_DIREMAUL_H
19#define DEF_DIREMAUL_H
20
21#include "CreatureAIImpl.h"
22
23#define DiremaulScriptName "instance_diremaul"
24#define DataHeader "DM"
25
35
43
45{
46 GO_FORCEFIELD = 179503,
47 GO_CRYSTAL_01 = 177259,
48 GO_CRYSTAL_02 = 177257,
49 GO_CRYSTAL_03 = 177258,
50 GO_CRYSTAL_04 = 179504,
51 GO_CRYSTAL_05 = 179505,
52 GO_PRINCE_CHEST = 179545
53};
54
55template <class AI, class T>
56inline AI* GetDiremaulAI(T* obj)
57{
58 return GetInstanceAI<AI>(obj, DiremaulScriptName);
59}
60
61#endif
DMGameobjectIds
Definition diremaul.h:45
@ GO_CRYSTAL_01
Definition diremaul.h:47
@ GO_CRYSTAL_03
Definition diremaul.h:49
@ GO_CRYSTAL_02
Definition diremaul.h:48
@ GO_CRYSTAL_04
Definition diremaul.h:50
@ GO_CRYSTAL_05
Definition diremaul.h:51
@ GO_FORCEFIELD
Definition diremaul.h:46
@ GO_PRINCE_CHEST
Definition diremaul.h:52
DMCreatureIds
Definition diremaul.h:37
@ NPC_IMMOLTHAR
Definition diremaul.h:38
@ NPC_TORTHELDRIN
Definition diremaul.h:39
@ NPC_ARCANE_ABERRATION
Definition diremaul.h:40
@ NPC_MANA_REMNANT
Definition diremaul.h:41
DMDataTypes
Definition diremaul.h:27
@ DATA_CRYSTAL_01
Definition diremaul.h:28
@ DATA_CRYSTAL_05
Definition diremaul.h:32
@ DATA_CRYSTAL_03
Definition diremaul.h:30
@ DATA_CRYSTAL_02
Definition diremaul.h:29
@ DATA_FORCEFIELD
Definition diremaul.h:33
@ DATA_CRYSTAL_04
Definition diremaul.h:31
#define DiremaulScriptName
Definition diremaul.h:23
AI * GetDiremaulAI(T *obj)
Definition diremaul.h:56