TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
violet_hold.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
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 VIOLET_HOLD_H_
19 #define VIOLET_HOLD_H_
20 
21 #define VioletHoldScriptName "instance_violet_hold"
22 #define DataHeader "VH"
23 
24 uint32 const EncounterCount = 3 + 6;
25 
26 // Defined in instance_violet_hold.cpp
27 extern Position const DefenseSystemLocation;
29 extern Position const PortalIntroPositions[];
30 
31 /*
32  * Violet hold bosses:
33  *
34  * 1 - Moragg
35  * 2 - Erekem
36  * 3 - Ichoron
37  * 4 - Lavanthor
38  * 5 - Xevozz
39  * 6 - Zuramat
40  * 7 - Cyanigosa
41  */
42 
43 enum Data
44 {
45  // Main encounters
49  // Bosses
56 
57  // Misc
64 
65  // Bosses
68 
69  // Cells
78 
79  // Misc
84 };
85 
87 {
93  NPC_XEVOZZ = 29266,
94  NPC_LAVANTHOR = 29312,
95  NPC_ICHORON = 29313,
98  NPC_ZURAMAT = 29314,
99  NPC_VOID_SENTRY = 29364,
101  NPC_EREKEM = 29315,
103  NPC_MORAGG = 29316,
104 
112 
113  NPC_CYANIGOSA = 31134,
114  NPC_SINCLARI = 30658,
116  NPC_SABOTEOUR = 31079,
119 };
120 
122 {
123  GO_MAIN_DOOR = 191723,
124  GO_XEVOZZ_DOOR = 191556,
126  GO_ICHORON_DOOR = 191722,
127  GO_ZURAMAT_DOOR = 191565,
128  GO_EREKEM_DOOR = 191564,
131  GO_MORAGG_DOOR = 191606,
134 };
135 
137 {
141 };
142 
143 enum Events
144 {
146 };
147 
149 {
152 };
153 
154 template<class AI>
155 inline AI* GetVioletHoldAI(Creature* creature)
156 {
157  return GetInstanceAI<AI>(creature, VioletHoldScriptName);
158 }
159 
160 #endif // VIOLET_HOLD_H_
Position const DefenseSystemLocation
Definition: instance_violet_hold.cpp:30
Definition: violet_hold.h:132
Definition: violet_hold.h:95
Definition: violet_hold.h:73
Definition: violet_hold.h:63
uint32 const EncounterCount
Definition: violet_hold.h:24
Definition: violet_hold.h:106
Definition: violet_hold.h:91
Definition: violet_hold.h:140
Definition: violet_hold.h:74
Definition: violet_hold.h:139
Definition: violet_hold.h:52
Definition: violet_hold.h:77
GameObjectIds
Definition: baradin_hold.h:48
Definition: Creature.h:467
Definition: violet_hold.h:124
Events
Definition: alterac_valley.cpp:51
Definition: violet_hold.h:138
Definition: violet_hold.h:93
WorldStateIds
Definition: hyjal.h:51
Definition: violet_hold.h:72
Definition: violet_hold.h:59
Definition: violet_hold.h:97
Definition: violet_hold.h:123
Definition: violet_hold.h:47
Definition: violet_hold.h:61
Definition: violet_hold.h:107
Definition: violet_hold.h:105
uint8 const PortalIntroCount
Definition: violet_hold.h:28
Definition: violet_hold.h:66
Definition: violet_hold.h:55
Definition: violet_hold.h:133
Definition: violet_hold.h:116
Definition: violet_hold.h:109
Definition: violet_hold.h:108
Definition: violet_hold.h:127
InstanceMisc
Definition: gundrak.h:88
Definition: violet_hold.h:111
Definition: violet_hold.h:151
uint32_t uint32
Definition: Define.h:150
Definition: violet_hold.h:145
Definition: violet_hold.h:67
Definition: violet_hold.h:50
Definition: violet_hold.h:126
Definition: violet_hold.h:75
Definition: violet_hold.h:96
Definition: violet_hold.h:80
Definition: violet_hold.h:92
Definition: violet_hold.h:81
Definition: violet_hold.h:94
Definition: violet_hold.h:54
Definition: violet_hold.h:70
Definition: violet_hold.h:150
Position const PortalIntroPositions[]
Definition: instance_violet_hold.cpp:56
Definition: violet_hold.h:90
Definition: violet_hold.h:130
Definition: violet_hold.h:99
Definition: violet_hold.h:76
Definition: violet_hold.h:89
AI * GetVioletHoldAI(Creature *creature)
Definition: violet_hold.h:155
Definition: violet_hold.h:46
Definition: violet_hold.h:118
Definition: violet_hold.h:101
Definition: violet_hold.h:129
uint8_t uint8
Definition: Define.h:152
Definition: Position.h:27
Definition: violet_hold.h:82
Definition: violet_hold.h:53
Definition: violet_hold.h:48
Definition: violet_hold.h:83
Definition: violet_hold.h:62
Definition: violet_hold.h:88
Definition: violet_hold.h:110
Definition: violet_hold.h:100
Definition: violet_hold.h:115
CreaturesIds
Definition: blackrock_spire.h:54
Definition: violet_hold.h:98
Definition: violet_hold.h:113
Definition: violet_hold.h:102
Definition: violet_hold.h:60
Data
Definition: molten_core.h:69
Definition: violet_hold.h:71
#define VioletHoldScriptName
Definition: violet_hold.h:21
Definition: violet_hold.h:58
Definition: violet_hold.h:131
Definition: violet_hold.h:51
Definition: violet_hold.h:103
Definition: violet_hold.h:117
Definition: violet_hold.h:128
Definition: violet_hold.h:125
Definition: violet_hold.h:114