aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/DragonIsles/AzureVault/azure_vault.h
blob: f91082c61dee0029ec739656c07d061bc18f816a (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
/*
 * 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_AZURE_VAULT_H_
#define DEF_AZURE_VAULT_H_

#include "CreatureAIImpl.h"

#define DataHeader "AzureVault"
#define AVScriptName "instance_azure_vault"

uint32 const EncounterCount = 4;

enum AVDataTypes
{
    // Encounters
    DATA_LEYMOR             = 0,
    DATA_AZUREBLADE,
    DATA_TELASH_GREYWING,
    DATA_UMBRELSKUL,

    DATA_LEYMOR_INTRO_DONE
};

enum AVCreatureIds
{
    // Bosses
    BOSS_LEYMOR             = 186644,
    BOSS_AZUREBLADE         = 186739,
    BOSS_TELASH_GREYWING    = 199614,
    BOSS_UMBRELSKUL         = 186738,

    // Leymor
    NPC_ARCANE_TENDER       = 191164,
};

enum AVGameObjectIds
{
    GO_ARCANE_VAULTS_DOOR_LEYMOR_ENTRANCE       = 380536,
    GO_ARCANE_VAULTS_DOOR_LEYMOR_EXIT           = 377951
};

enum AVActionIds
{
    ACTION_FINISH_LEYMOR_INTRO  = 251501
};

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

#define RegisterAzureVaultCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetAzureVaultAI)

#endif