TrinityCore
instance_atal_dazar.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 "atal_dazar.h"
22
24{
25 { DATA_REZAN, new ZRangeBoundary(639.0f, 650.0f) }, // 647.65f
26 { DATA_VOLKAAL, new ZRangeBoundary(709.0f, 730.0f) },
27 { DATA_PRIESTESS_ALUNZA, new PolygonBoundary({ 0.0f, 0.0f, 0.0f },
28 {
29 { -1025.9933f, 2361.0408f },
30 { -1025.3562f, 2335.1824f },
31 { -1039.7438f, 2334.5159f },
32 { -1039.3069f, 2301.5972f },
33 { -1056.4854f, 2301.4658f },
34 { -1056.2940f, 2283.9922f },
35 { -1039.5042f, 2283.8018f },
36 { -1038.6632f, 2250.5894f },
37 { -1026.9938f, 2250.8943f },
38 { -1027.5638f, 2221.2890f },
39 { -1066.7467f, 2220.9265f },
40 { -1068.1931f, 2224.4500f },
41 { -1075.2456f, 2224.4426f },
42 { -1075.1584f, 2203.5364f },
43 { -1120.4791f, 2201.6090f },
44 { -1169.1852f, 2292.5390f }, // in mountain
45 { -1119.9462f, 2379.7322f },
46 { -1087.9506f, 2381.5403f },
47 { -1076.0125f, 2379.9875f },
48 { -1074.5750f, 2359.8690f },
49 { -1067.1986f, 2364.1672f },
50 }
51 )},
52};
53
55{
60 { 0, 0 } // END
61};
62
63constexpr DoorData doorData[] =
64{
70};
71
73{
74 { DATA_PRIESTESS_ALUNZA, {{ 2084 }} },
75 { DATA_VOLKAAL, {{ 2085 }} },
76 { DATA_REZAN, {{ 2086 }} },
77 { DATA_YAZMA, {{ 2087 }} }
78};
79
81{
82public:
84
86 {
88 {
95 }
96 };
97
99 {
101 }
102};
103
105{
107}
#define DataHeader
uint32 const EncounterCount
@ BOSS_PRIESTESS_ALUNZA
Definition: atal_dazar.h:40
@ BOSS_VOLKAAL
Definition: atal_dazar.h:41
@ BOSS_REZAN
Definition: atal_dazar.h:42
@ BOSS_YAZMA
Definition: atal_dazar.h:43
@ DATA_VOLKAAL
Definition: atal_dazar.h:32
@ DATA_REZAN
Definition: atal_dazar.h:33
@ DATA_YAZMA
Definition: atal_dazar.h:34
@ DATA_PRIESTESS_ALUNZA
Definition: atal_dazar.h:31
@ GO_VOLKAAL_DOOR_2
Definition: atal_dazar.h:49
@ GO_VOLKAAL_DOOR_3
Definition: atal_dazar.h:50
@ GO_VOLKAAL_DOOR_4
Definition: atal_dazar.h:51
@ GO_VOLKAAL_DOOR_1
Definition: atal_dazar.h:48
#define AtalDazarScriptName
Definition: atal_dazar.h:24
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
constexpr ObjectData creatureData[]
constexpr DoorData doorData[]
void AddSC_instance_atal_dazar()
BossBoundaryData const boundaries
constexpr DungeonEncounterData encounters[]