TrinityCore
Loading...
Searching...
No Matches
instance_grim_batol.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 "grim_batol.h"
20#include "InstanceScript.h"
21
29
30static constexpr DungeonEncounterData encounters[] =
31{
32 { BOSS_GENERAL_UMBRISS, {{ 1051 }} },
33 { BOSS_FORGEMASTER_THRONGUS, {{ 1050 }} },
34 { BOSS_DRAHGA_SHADOWBURNER, {{ 1048 }} },
35 { BOSS_ERUDAX, {{ 1049 }} }
36};
37
59
#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)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
constexpr char const * GBTScriptName
Definition grim_batol.h:24
@ BOSS_GENERAL_UMBRISS
Definition grim_batol.h:31
@ BOSS_DRAHGA_SHADOWBURNER
Definition grim_batol.h:33
@ BOSS_FORGEMASTER_THRONGUS
Definition grim_batol.h:32
@ BOSS_ERUDAX
Definition grim_batol.h:34
@ NPC_FORGEMASTER_THRONGUS
Definition grim_batol.h:41
@ NPC_ERUDAX
Definition grim_batol.h:43
@ NPC_GENERAL_UMBRISS
Definition grim_batol.h:40
@ NPC_DRAHGA_SHADOWBURNER
Definition grim_batol.h:42
static constexpr ObjectData creatureData[]
void AddSC_instance_grim_batol()
static constexpr DungeonEncounterData encounters[]