aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h
blob: cd6e23cb32833c06a348d3147ecc8753aa2fe33c (plain)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
 * 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 DEF_MAGISTERS_TERRACE_H
#define DEF_MAGISTERS_TERRACE_H

#include "CreatureAIImpl.h"

#define MGTScriptName "instance_magisters_terrace"
#define DataHeader "MT"

uint32 const EncounterCount = 4;

enum MTDataTypes
{
    // Encounter states
    DATA_SELIN_FIREHEART = 0,
    DATA_VEXALLUS,
    DATA_PRIESTESS_DELRISSA,
    DATA_KAELTHAS_SUNSTRIDER,

    // Encounter related
    DATA_KAELTHAS_INTRO,
    DATA_DELRISSA_DEATH_COUNT,

    // Additional data
    DATA_KALECGOS,
    DATA_ESCAPE_ORB
};

enum MTCreatureIds
{
    // Bosses
    BOSS_KAELTHAS_SUNSTRIDER    = 24664,
    BOSS_SELIN_FIREHEART        = 24723,
    BOSS_VEXALLUS               = 24744,
    BOSS_PRIESTESS_DELRISSA     = 24560,

    // Encounter related
    /*Kael'thas Sunstrider*/
    NPC_ARCANE_SPHERE           = 24708,
    NPC_FLAME_STRIKE            = 24666,
    NPC_PHOENIX                 = 24674,
    NPC_PHOENIX_EGG             = 24675,

    /*Selin Fireheart*/
    NPC_FEL_CRYSTAL             = 24722,

    // Event related
    NPC_KALECGOS                = 24844,
    NPC_HUMAN_KALECGOS          = 24848,
    NPC_COILSKAR_WITCH          = 24696,
    NPC_SUNBLADE_WARLOCK        = 24686,
    NPC_SUNBLADE_MAGE_GUARD     = 24683,
    NPC_SISTER_OF_TORMENT       = 24697,
    NPC_ETHEREUM_SMUGGLER       = 24698,
    NPC_SUNBLADE_BLOOD_KNIGHT   = 24684
};

enum MTGameObjectIds
{
    GO_ASSEMBLY_CHAMBER_DOOR    = 188065,
    GO_SUNWELL_RAID_GATE_2      = 187979,
    GO_SUNWELL_RAID_GATE_4      = 187770,
    GO_SUNWELL_RAID_GATE_5      = 187896,
    GO_ASYLUM_DOOR              = 188064,
    GO_ESCAPE_ORB               = 188173
};

enum MTInstanceEventIds
{
    EVENT_SPAWN_KALECGOS    = 16547
};

enum MTInstanceText
{
    SAY_KALECGOS_SPAWN      = 0
};

enum MTMovementData
{
    PATH_KALECGOS_FLIGHT    = 1987520
};

template <class AI, class T>
inline AI* GetMagistersTerraceAI(T* obj)
{
    return GetInstanceAI<AI>(obj, MGTScriptName);
}

#define RegisterMagistersTerraceCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetMagistersTerraceAI)

#endif