TrinityCore
Loading...
Searching...
No Matches
instance_antorus_the_burning_throne.cpp
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#include "ScriptMgr.h"
20#include "Creature.h"
21#include "CreatureAI.h"
22#include "InstanceScript.h"
23
30
36
37static constexpr DungeonEncounterData encounters[] =
38{
39 { DATA_GAROTHI_WORLDBREAKER, {{ 2076 }} },
40 { DATA_FELHOUNDS_OF_SAGERAS, {{ 2074 }} },
41 { DATA_ANTORAN_HIGH_COMMAND, {{ 2070 }} },
42 { DATA_PORTAL_KEEPER_HASABEL, {{ 2064 }} },
43 { DATA_EONAR_THE_LIFE_BINDER, {{ 2075 }} },
44 { DATA_IMONAR_THE_SOULHUNTER, {{ 2082 }} },
45 { DATA_KINGAROTH, {{ 2088 }} },
46 { DATA_VARIMATHRAS, {{ 2069 }} },
47 { DATA_THE_COVEN_OF_SHIVARRA, {{ 2073 }} },
48 { DATA_AGGRAMAR, {{ 2063 }} },
49 { DATA_ARGUS_THE_UNMAKER, {{ 2092 }} }
50};
51
89
#define DataHeader
@ BOSS_GAROTHI_WORLDBREAKER
uint32 const EncounterCount
@ DATA_FELHOUNDS_OF_SAGERAS
@ DATA_EONAR_THE_LIFE_BINDER
@ DATA_THE_COVEN_OF_SHIVARRA
@ DATA_GAROTHI_WORLDBREAKER
@ DATA_PORTAL_KEEPER_HASABEL
@ DATA_IMONAR_THE_SOULHUNTER
@ DATA_ANTORAN_HIGH_COMMAND
#define ABTScriptName
void SetBossNumber(uint32 number)
virtual void OnCreatureCreate(Creature *creature) override
Creature * GetCreature(uint32 type)
void LoadObjectData(std::span< ObjectData const > creatureData, std::span< ObjectData const > gameObjectData)
void SetHeaders(std::string_view dataHeaders)
void LoadDungeonEncounterData(std::span< DungeonEncounterData const > encounters)
void LoadDoorData(std::span< DoorData const > data)
uint32 GetEntry() const
Definition Object.h:89
InstanceScript * GetInstanceScript(InstanceMap *map) const override
static constexpr ObjectData creatureData[]
void AddSC_instance_antorus_the_burning_throne()
static constexpr DoorData doorData[]
static constexpr DungeonEncounterData encounters[]