1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ARCATRAZ_H
#define ARCATRAZ_H
#include "CreatureAIImpl.h"
#define ArcatrazScriptName "instance_arcatraz"
#define DataHeader "AZ"
uint32 const EncounterCount = 4;
enum AZDataTypes
{
// Encounter States/Boss GUIDs
DATA_ZEREKETH = 0,
DATA_DALLIAH = 1,
DATA_SOCCOTHRATES = 2,
DATA_HARBINGER_SKYRISS = 3,
// Additional Data
DATA_CONVERSATION = 4,
DATA_WARDEN_1 = 5, // used by SmartAI
DATA_WARDEN_2 = 6, // used by SmartAI
DATA_WARDEN_3 = 7, // used by SmartAI
DATA_WARDEN_4 = 8, // used by SmartAI
DATA_WARDEN_5 = 9, // used by SmartAI
DATA_MELLICHAR = 10,
DATA_WARDENS_SHIELD = 11
};
enum AZCreatureIds
{
NPC_DALLIAH = 20885,
NPC_SOCCOTHRATES = 20886,
NPC_MELLICHAR = 20904, // skyriss will kill this unit
NPC_ALPHA_POD_TARGET = 21436,
NPC_MILLHOUSE = 20977
};
enum AZGameObjectIds
{
GO_CONTAINMENT_CORE_SECURITY_FIELD_ALPHA = 184318, // door opened when Wrath-Scryer Soccothrates dies
GO_CONTAINMENT_CORE_SECURITY_FIELD_BETA = 184319, // door opened when Dalliah the Doomsayer dies
GO_STASIS_POD_ALPHA = 183961, // pod first boss wave
GO_STASIS_POD_BETA = 183963, // pod second boss wave
GO_STASIS_POD_DELTA = 183964, // pod third boss wave
GO_STASIS_POD_GAMMA = 183962, // pod fourth boss wave
GO_STASIS_POD_OMEGA = 183965, // pod fifth boss wave
GO_WARDENS_SHIELD = 184802 // shield 'protecting' mellichar
};
enum AZSpellIds
{
SPELL_QID_10886 = 39564
};
template <class AI, class T>
inline AI* GetArcatrazAI(T* obj)
{
return GetInstanceAI<AI>(obj, ArcatrazScriptName);
}
#define RegisterArcatrazCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetArcatrazAI)
#endif // ARCATRAZ_H
|