TrinityCore
arcatraz.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 ARCATRAZ_H
19#define ARCATRAZ_H
20
21#include "CreatureAIImpl.h"
22
23#define ArcatrazScriptName "instance_arcatraz"
24#define DataHeader "AZ"
25
27
29{
30 // Encounter States/Boss GUIDs
35
36 // Additional Data
38 DATA_WARDEN_1 = 5, // used by SmartAI
39 DATA_WARDEN_2 = 6, // used by SmartAI
40 DATA_WARDEN_3 = 7, // used by SmartAI
41 DATA_WARDEN_4 = 8, // used by SmartAI
42 DATA_WARDEN_5 = 9, // used by SmartAI
45};
46
48{
49 NPC_DALLIAH = 20885,
51 NPC_MELLICHAR = 20904, // skyriss will kill this unit
53 NPC_MILLHOUSE = 20977
54};
55
57{
58 GO_CONTAINMENT_CORE_SECURITY_FIELD_ALPHA = 184318, // door opened when Wrath-Scryer Soccothrates dies
59 GO_CONTAINMENT_CORE_SECURITY_FIELD_BETA = 184319, // door opened when Dalliah the Doomsayer dies
60 GO_STASIS_POD_ALPHA = 183961, // pod first boss wave
61 GO_STASIS_POD_BETA = 183963, // pod second boss wave
62 GO_STASIS_POD_DELTA = 183964, // pod third boss wave
63 GO_STASIS_POD_GAMMA = 183962, // pod fourth boss wave
64 GO_STASIS_POD_OMEGA = 183965, // pod fifth boss wave
65 GO_WARDENS_SHIELD = 184802 // shield 'protecting' mellichar
66};
67
69{
70 SPELL_QID_10886 = 39564
71};
72
73template <class AI, class T>
74inline AI* GetArcatrazAI(T* obj)
75{
76 return GetInstanceAI<AI>(obj, ArcatrazScriptName);
77}
78
79#define RegisterArcatrazCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetArcatrazAI)
80
81#endif // ARCATRAZ_H
uint32_t uint32
Definition: Define.h:142
uint32 const EncounterCount
Definition: arcatraz.h:26
#define ArcatrazScriptName
Definition: arcatraz.h:23
AZSpellIds
Definition: arcatraz.h:69
@ SPELL_QID_10886
Definition: arcatraz.h:70
AI * GetArcatrazAI(T *obj)
Definition: arcatraz.h:74
AZCreatureIds
Definition: arcatraz.h:48
@ NPC_MILLHOUSE
Definition: arcatraz.h:53
@ NPC_MELLICHAR
Definition: arcatraz.h:51
@ NPC_DALLIAH
Definition: arcatraz.h:49
@ NPC_ALPHA_POD_TARGET
Definition: arcatraz.h:52
@ NPC_SOCCOTHRATES
Definition: arcatraz.h:50
AZGameObjectIds
Definition: arcatraz.h:57
@ GO_CONTAINMENT_CORE_SECURITY_FIELD_ALPHA
Definition: arcatraz.h:58
@ GO_WARDENS_SHIELD
Definition: arcatraz.h:65
@ GO_STASIS_POD_OMEGA
Definition: arcatraz.h:64
@ GO_STASIS_POD_ALPHA
Definition: arcatraz.h:60
@ GO_STASIS_POD_GAMMA
Definition: arcatraz.h:63
@ GO_STASIS_POD_BETA
Definition: arcatraz.h:61
@ GO_CONTAINMENT_CORE_SECURITY_FIELD_BETA
Definition: arcatraz.h:59
@ GO_STASIS_POD_DELTA
Definition: arcatraz.h:62
AZDataTypes
Definition: arcatraz.h:29
@ DATA_WARDEN_4
Definition: arcatraz.h:41
@ DATA_MELLICHAR
Definition: arcatraz.h:43
@ DATA_WARDENS_SHIELD
Definition: arcatraz.h:44
@ DATA_ZEREKETH
Definition: arcatraz.h:31
@ DATA_SOCCOTHRATES
Definition: arcatraz.h:33
@ DATA_CONVERSATION
Definition: arcatraz.h:37
@ DATA_WARDEN_2
Definition: arcatraz.h:39
@ DATA_WARDEN_3
Definition: arcatraz.h:40
@ DATA_HARBINGER_SKYRISS
Definition: arcatraz.h:34
@ DATA_DALLIAH
Definition: arcatraz.h:32
@ DATA_WARDEN_1
Definition: arcatraz.h:38
@ DATA_WARDEN_5
Definition: arcatraz.h:42