TrinityCore
instance_trial_of_valor.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 "AreaBoundary.h"
19#include "InstanceScript.h"
20#include "ScriptMgr.h"
21#include "trial_of_valor.h"
22
24{
25 { DATA_GUARM, new RectangleBoundary(443.320f, 492.354f, 430.713f, 561.020f) }
26};
27
29{
33 { 0, 0 } // END
34};
35
37{
41};
42
44{
45 { DATA_ODYN, {{ 1958 }} },
46 { DATA_GUARM, {{ 1962 }} },
47 { DATA_HELYA, {{ 2008 }} },
48};
49
51{
52 public:
54
56 {
58 {
65 }
66 };
67
69 {
71 }
72};
73
75{
77}
#define DataHeader
uint32 const EncounterCount
void SetBossNumber(uint32 number)
void LoadDungeonEncounterData(T const &encounters)
void LoadDoorData(DoorData const *data)
void LoadBossBoundaries(BossBoundaryData const &data)
void SetHeaders(std::string const &dataHeaders)
void LoadObjectData(ObjectData const *creatureData, ObjectData const *gameObjectData)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
ObjectData const creatureData[]
DoorData const doorData[]
BossBoundaryData const boundaries
void AddSC_instance_trial_of_valor()
DungeonEncounterData const encounters[]
#define TOVScriptName
@ GO_GUARM_BOSS_DOOR_ENTRANCE
@ GO_GUARM_BOSS_DOOR_EXIT
@ DATA_HELYA
@ DATA_GUARM
@ DATA_ODYN
@ BOSS_HELYA
@ BOSS_GUARM
@ BOSS_ODYN