/*
 * This file is part of the AzerothCore 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 Affero General Public License as published by the
 * Free Software Foundation; either version 3 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 Affero 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_HALLS_OF_LIGHTNING_H
#define DEF_HALLS_OF_LIGHTNING_H

#include "CreatureAIImpl.h"

#define HallsOfLightningScriptName "instance_halls_of_lightning"

enum HoLEvents
{
    TYPE_BJARNGRIM          = 0,
    TYPE_IONAR              = 1,
    TYPE_LOKEN              = 2,
    TYPE_VOLKHAN            = 3,
    TYPE_LOKEN_INTRO        = 4,
    MAX_ENCOUNTER           = 5,

    DATA_BJARNGRIM_ACHIEVEMENT  = 10,
    DATA_VOLKHAN_ACHIEVEMENT    = 11,
};

enum HoLNPCs
{
    NPC_BJARNGRIM           = 28586,
    NPC_VOLKHAN             = 28587,
    NPC_IONAR               = 28546,
    NPC_LOKEN               = 28923,
};

enum HoLGOs
{
    GO_BJARNGRIM_DOOR       = 191416,                      //_doors10
    GO_VOLKHAN_DOOR         = 191325,                      //_doors07
    GO_IONAR_DOOR           = 191326,                      //_doors05
    GO_LOKEN_DOOR           = 191324,                      //_doors02
    GO_LOKEN_THRONE         = 192654,
};

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

#endif
