TrinityCore
Loading...
Searching...
No Matches
instance_utgarde_pinnacle.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 "AreaBoundary.h"
20#include "GameObject.h"
21#include "InstanceScript.h"
22#include "utgarde_pinnacle.h"
23
25{
26 { DATA_KING_YMIRON, new RectangleBoundary(340.0f, 443.0f, -412.0f, -275.0f) }
27};
28
34
49
55
56static constexpr DungeonEncounterData encounters[] =
57{
58 { DATA_SVALA_SORROWGRAVE, {{ 2030 }} },
59 { DATA_GORTOK_PALEHOOF, {{ 2027 }} },
60 { DATA_SKADI_THE_RUTHLESS, {{ 2029 }} },
61 { DATA_KING_YMIRON, {{ 2028 }} }
62};
63
115
uint32_t uint32
Definition Define.h:154
@ DONE
@ GO_FLAG_NOT_SELECTABLE
#define DataHeader
uint32 const EncounterCount
void SetFlag(GameObjectFlags flags)
Definition GameObject.h:277
void SetBossNumber(uint32 number)
virtual ObjectGuid GetGuidData(uint32 type) const override
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)
EncounterState GetBossState(uint32 id) const
virtual void OnGameObjectCreate(GameObject *go) override
void LoadDoorData(std::span< DoorData const > data)
void LoadBossBoundaries(BossBoundaryData const &data)
uint32 GetEntry() const
Definition Object.h:89
virtual void SetGuidData(uint32, ObjectGuid)
Definition ZoneScript.h:92
InstanceScript * GetInstanceScript(InstanceMap *map) const override
static constexpr ObjectData creatureData[]
void AddSC_instance_utgarde_pinnacle()
static constexpr DoorData doorData[]
BossBoundaryData const boundaries
static constexpr ObjectData gameObjectData[]
static constexpr DungeonEncounterData encounters[]
#define UPScriptName
@ GO_GORTOK_PALEHOOF_SPHERE
@ GO_UTGARDE_MIRROR
@ GO_KING_YMIRON_DOOR
@ GO_SKADI_THE_RUTHLESS_DOOR
@ DATA_GORTOK_PALEHOOF_SPHERE
@ DATA_SKADI_THE_RUTHLESS
@ DATA_FRENZIED_WORGEN
@ DATA_SACRIFICED_PLAYER
@ DATA_GRAUF
@ DATA_KING_YMIRON
@ DATA_SVALA
@ DATA_SVALA_SORROWGRAVE
@ DATA_RAVENOUS_FURBOLG
@ DATA_UTGARDE_MIRROR
@ DATA_FEROCIOUS_RHINO
@ DATA_GORTOK_ORB
@ DATA_GORTOK_PALEHOOF
@ DATA_MASSIVE_JORMUNGAR
@ NPC_RAVENOUS_FURBOLG
@ NPC_KING_YMIRON
@ NPC_FRENZIED_WORGEN
@ NPC_SVALA_SORROWGRAVE
@ NPC_GORTOK_PALEHOOF
@ NPC_SKADI_THE_RUTHLESS
@ NPC_SVALA
@ NPC_MASSIVE_JORMUNGAR
@ NPC_GRAUF
@ NPC_PALEHOOF_ORB
@ NPC_FEROCIOUS_RHINO