TrinityCore
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#include "Map.h"
24
26{
30 { 0, 0 } // END
31};
32
34{
38};
39
41{
42 { DATA_GAROTHI_WORLDBREAKER, {{ 2076 }} },
43 { DATA_FELHOUNDS_OF_SAGERAS, {{ 2074 }} },
44 { DATA_ANTORAN_HIGH_COMMAND, {{ 2070 }} },
45 { DATA_PORTAL_KEEPER_HASABEL, {{ 2064 }} },
46 { DATA_EONAR_THE_LIFE_BINDER, {{ 2075 }} },
47 { DATA_IMONAR_THE_SOULHUNTER, {{ 2082 }} },
48 { DATA_KINGAROTH, {{ 2088 }} },
49 { DATA_VARIMATHRAS, {{ 2069 }} },
50 { DATA_THE_COVEN_OF_SHIVARRA, {{ 2073 }} },
51 { DATA_AGGRAMAR, {{ 2063 }} },
52 { DATA_ARGUS_THE_UNMAKER, {{ 2092 }} }
53};
54
56{
57 public:
59
61 {
63 {
69 }
70
71 void OnCreatureCreate(Creature* creature) override
72 {
74
75 switch (creature->GetEntry())
76 {
79 garothi->AI()->JustSummoned(creature);
80 break;
81 default:
82 break;
83 }
84 }
85 };
86
88 {
90 }
91};
92
94{
96}
#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_ARGUS_THE_UNMAKER
@ DATA_ANTORAN_HIGH_COMMAND
#define ABTScriptName
void SetBossNumber(uint32 number)
virtual void OnCreatureCreate(Creature *creature) override
Creature * GetCreature(uint32 type)
void LoadDungeonEncounterData(T const &encounters)
void LoadDoorData(DoorData const *data)
void SetHeaders(std::string const &dataHeaders)
void LoadObjectData(ObjectData const *creatureData, ObjectData const *gameObjectData)
uint32 GetEntry() const
Definition: Object.h:161
InstanceScript * GetInstanceScript(InstanceMap *map) const override
ObjectData const creatureData[]
DoorData const doorData[]
void AddSC_instance_antorus_the_burning_throne()
DungeonEncounterData const encounters[]