TrinityCore
Loading...
Searching...
No Matches
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
34 DATA_HARBINGER_SKYRISS = 3, // used by SmartAI
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
50};
51
53{
54 NPC_DALLIAH = 20885,
57 NPC_MILLHOUSE = 20977
58};
59
61{
62 GO_CONTAINMENT_CORE_SECURITY_FIELD_ALPHA = 184318, // door opened when Wrath-Scryer Soccothrates dies
63 GO_CONTAINMENT_CORE_SECURITY_FIELD_BETA = 184319, // door opened when Dalliah the Doomsayer dies
64 GO_STASIS_POD_ALPHA = 183961, // pod first boss wave
65 GO_STASIS_POD_BETA = 183963, // pod second boss wave
66 GO_STASIS_POD_DELTA = 183964, // pod third boss wave
67 GO_STASIS_POD_GAMMA = 183962, // pod fourth boss wave
68 GO_STASIS_POD_OMEGA = 183965, // pod fifth boss wave
69 GO_WARDENS_SHIELD = 184802 // shield 'protecting' mellichar
70};
71
73{
74 SPELL_QID_10886 = 39564
75};
76
81
82template <class AI, class T>
83inline AI* GetArcatrazAI(T* obj)
84{
85 return GetInstanceAI<AI>(obj, ArcatrazScriptName);
86}
87
88#define RegisterArcatrazCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetArcatrazAI)
89
90#endif // ARCATRAZ_H
uint32_t uint32
Definition Define.h:133
uint32 const EncounterCount
Definition arcatraz.h:26
#define ArcatrazScriptName
Definition arcatraz.h:23
AZMisc
Definition arcatraz.h:78
@ ACTION_RESET_PRISON
Definition arcatraz.h:79
AZSpellIds
Definition arcatraz.h:73
@ SPELL_QID_10886
Definition arcatraz.h:74
AI * GetArcatrazAI(T *obj)
Definition arcatraz.h:83
AZCreatureIds
Definition arcatraz.h:53
@ NPC_MILLHOUSE
Definition arcatraz.h:57
@ NPC_MELLICHAR
Definition arcatraz.h:56
@ NPC_DALLIAH
Definition arcatraz.h:54
@ NPC_SOCCOTHRATES
Definition arcatraz.h:55
AZGameObjectIds
Definition arcatraz.h:61
@ GO_CONTAINMENT_CORE_SECURITY_FIELD_ALPHA
Definition arcatraz.h:62
@ GO_WARDENS_SHIELD
Definition arcatraz.h:69
@ GO_STASIS_POD_OMEGA
Definition arcatraz.h:68
@ GO_STASIS_POD_ALPHA
Definition arcatraz.h:64
@ GO_STASIS_POD_GAMMA
Definition arcatraz.h:67
@ GO_STASIS_POD_BETA
Definition arcatraz.h:65
@ GO_CONTAINMENT_CORE_SECURITY_FIELD_BETA
Definition arcatraz.h:63
@ GO_STASIS_POD_DELTA
Definition arcatraz.h:66
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_STASIS_POD_DELTA
Definition arcatraz.h:47
@ DATA_ZEREKETH
Definition arcatraz.h:31
@ DATA_SOCCOTHRATES
Definition arcatraz.h:33
@ DATA_STASIS_POD_GAMMA
Definition arcatraz.h:48
@ DATA_CONVERSATION
Definition arcatraz.h:37
@ DATA_WARDEN_2
Definition arcatraz.h:39
@ DATA_STASIS_POD_BETA
Definition arcatraz.h:46
@ DATA_WARDEN_3
Definition arcatraz.h:40
@ DATA_HARBINGER_SKYRISS
Definition arcatraz.h:34
@ DATA_STASIS_POD_OMEGA
Definition arcatraz.h:49
@ DATA_DALLIAH
Definition arcatraz.h:32
@ DATA_WARDEN_1
Definition arcatraz.h:38
@ DATA_WARDEN_5
Definition arcatraz.h:42
@ DATA_STASIS_POD_ALPHA
Definition arcatraz.h:45