TrinityCore
Loading...
Searching...
No Matches
instance_bastion_of_twilight.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"
19#include "bastion_of_twilight.h"
20#include "InstanceScript.h"
21
28
39
40static constexpr DungeonEncounterData encounters[] =
41{
42 { BOSS_HALFUS_WYRMBREAKER, {{ 1030 }} },
43 { BOSS_THERALION_AND_VALIONA, {{ 1032 }} },
44 { BOSS_ASCENDANT_COUNCIL, {{ 1028 }} },
45 { BOSS_CHOGALL, {{ 1029 }} },
46 { BOSS_SINESTRA, {{ 1082, 1083 }} }
47};
48
71
#define DataHeader
uint32 const EncounterCount
@ GO_HALFUS_ENTRANCE
@ GO_DRAGON_SIBLINGS_DOOR_ENTRANCE
@ GO_CHOGALL_ENTRANCE
@ GO_ASCENDANT_COUNCIL_EXIT
@ GO_DRAGON_SIBLINGS_DOOR_EXIT
@ GO_ASCENDANT_COUNCIL_ENTRANCE
@ GO_HALFUS_EXIT
constexpr char const * BotScriptName
@ BOSS_ASCENDANT_COUNCIL
@ BOSS_SINESTRA
@ BOSS_HALFUS_WYRMBREAKER
@ BOSS_THERALION_AND_VALIONA
@ BOSS_CHOGALL
@ NPC_SINESTRA
@ NPC_HALFUS_WYRMBREAKER
@ NPC_CHOGALL
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)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
static constexpr ObjectData creatureData[]
void AddSC_instance_bastion_of_twilight()
static constexpr DoorData doorData[]
static constexpr DungeonEncounterData encounters[]