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
26
enum
DMDataTypes
27
{
28
DATA_CRYSTAL_01
= 17,
29
DATA_CRYSTAL_02
= 18,
30
DATA_CRYSTAL_03
= 19,
31
DATA_CRYSTAL_04
= 20,
32
DATA_CRYSTAL_05
= 21,
33
DATA_FORCEFIELD
= 22
34
};
35
36
enum
DMCreatureIds
37
{
38
NPC_IMMOLTHAR
= 11496,
39
NPC_TORTHELDRIN
= 11486,
40
NPC_ARCANE_ABERRATION
= 11480,
41
NPC_MANA_REMNANT
= 11483
42
};
43
44
enum
DMGameobjectIds
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
55
template
<
class
AI,
class
T>
56
inline
AI*
GetDiremaulAI
(T* obj)
57
{
58
return
GetInstanceAI<AI>(obj,
DiremaulScriptName
);
59
}
60
61
#endif
CreatureAIImpl.h
DMGameobjectIds
DMGameobjectIds
Definition
diremaul.h:45
GO_CRYSTAL_01
@ GO_CRYSTAL_01
Definition
diremaul.h:47
GO_CRYSTAL_03
@ GO_CRYSTAL_03
Definition
diremaul.h:49
GO_CRYSTAL_02
@ GO_CRYSTAL_02
Definition
diremaul.h:48
GO_CRYSTAL_04
@ GO_CRYSTAL_04
Definition
diremaul.h:50
GO_CRYSTAL_05
@ GO_CRYSTAL_05
Definition
diremaul.h:51
GO_FORCEFIELD
@ GO_FORCEFIELD
Definition
diremaul.h:46
GO_PRINCE_CHEST
@ GO_PRINCE_CHEST
Definition
diremaul.h:52
DMCreatureIds
DMCreatureIds
Definition
diremaul.h:37
NPC_IMMOLTHAR
@ NPC_IMMOLTHAR
Definition
diremaul.h:38
NPC_TORTHELDRIN
@ NPC_TORTHELDRIN
Definition
diremaul.h:39
NPC_ARCANE_ABERRATION
@ NPC_ARCANE_ABERRATION
Definition
diremaul.h:40
NPC_MANA_REMNANT
@ NPC_MANA_REMNANT
Definition
diremaul.h:41
DMDataTypes
DMDataTypes
Definition
diremaul.h:27
DATA_CRYSTAL_01
@ DATA_CRYSTAL_01
Definition
diremaul.h:28
DATA_CRYSTAL_05
@ DATA_CRYSTAL_05
Definition
diremaul.h:32
DATA_CRYSTAL_03
@ DATA_CRYSTAL_03
Definition
diremaul.h:30
DATA_CRYSTAL_02
@ DATA_CRYSTAL_02
Definition
diremaul.h:29
DATA_FORCEFIELD
@ DATA_FORCEFIELD
Definition
diremaul.h:33
DATA_CRYSTAL_04
@ DATA_CRYSTAL_04
Definition
diremaul.h:31
DiremaulScriptName
#define DiremaulScriptName
Definition
diremaul.h:23
GetDiremaulAI
AI * GetDiremaulAI(T *obj)
Definition
diremaul.h:56
server
scripts
Kalimdor
DireMaul
diremaul.h
Generated on Sun May 10 2026 02:30:20 for TrinityCore by
1.9.8