TrinityCore
Loading...
Searching...
No Matches
instance_return_to_karazhan.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 "return_to_karazhan.h"
22
24{
25 { DATA_MAIDEN_OF_VIRTUE_RTK, new CircleBoundary(Position(-10945.900391f, -2103.530029f, 92.794197f), 55.0f) },
26 { DATA_SHADE_OF_MEDIVH, new CircleBoundary(Position(-4599.149902f, -2517.947266f, 2876.506836f), 35.0f) },
27};
28
35
42
43static constexpr DungeonEncounterData encounters[] =
44{
45 { DATA_OPERA_HALL, {{ 1957 }} },
46 { DATA_MAIDEN_OF_VIRTUE_RTK, {{ 1954 }} },
47 { DATA_MOROES, {{ 1961 }} },
48 { DATA_ATTUMEN_THE_HUNTSMAN, {{ 1960 }} },
49 { DATA_THE_CURATOR_RTK, {{ 1964 }} },
50 { DATA_SHADE_OF_MEDIVH, {{ 1965 }} },
51 { DATA_MANA_DEVOURER, {{ 1959 }} },
52 { DATA_VIZADUUM_THE_WATCHER, {{ 2017 }} },
53 { DATA_NIGHTBANE, {{ 2031 }} }
54};
55
79
#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[]
void AddSC_instance_return_to_karazhan()
BossBoundaryData const boundaries
static constexpr DungeonEncounterData encounters[]
@ DATA_MOROES
Definition karazhan.h:31
@ DATA_NIGHTBANE
Definition karazhan.h:41
@ GO_STRANGE_WALL
@ GO_MEDIVH_DOOR
@ GO_SUSPICIOUS_BOOKCASE
@ BOSS_MAIDEN_OF_VIRTUE_RTK
@ BOSS_MANA_DEVOURER
@ BOSS_THE_CURATOR_RTK
#define RTKScriptName
@ DATA_ATTUMEN_THE_HUNTSMAN
@ DATA_OPERA_HALL
@ DATA_SHADE_OF_MEDIVH
@ DATA_VIZADUUM_THE_WATCHER
@ DATA_MAIDEN_OF_VIRTUE_RTK
@ DATA_MANA_DEVOURER
@ DATA_THE_CURATOR_RTK