TrinityCore
Loading...
Searching...
No Matches
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
28static constexpr ObjectData creatureData[] =
29{
33};
34
40
41static constexpr DungeonEncounterData encounters[] =
42{
43 { DATA_ODYN, {{ 1958 }} },
44 { DATA_GUARM, {{ 1962 }} },
45 { DATA_HELYA, {{ 2008 }} },
46};
47
71
#define DataHeader
uint32 const EncounterCount
void SetBossNumber(uint32 number)
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)
void LoadBossBoundaries(BossBoundaryData const &data)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
static constexpr ObjectData creatureData[]
static constexpr DoorData doorData[]
BossBoundaryData const boundaries
void AddSC_instance_trial_of_valor()
static constexpr DungeonEncounterData encounters[]
@ BOSS_HELYA
@ DATA_HELYA
#define TOVScriptName
@ GO_GUARM_BOSS_DOOR_ENTRANCE
@ GO_GUARM_BOSS_DOOR_EXIT
@ DATA_GUARM
@ DATA_ODYN
@ BOSS_GUARM
@ BOSS_ODYN