TrinityCore
utgarde_pinnacle.h
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#ifndef UTGARDE_PINNACLE_H_
19#define UTGARDE_PINNACLE_H_
20
21#include "CreatureAIImpl.h"
22
23#define UPScriptName "instance_utgarde_pinnacle"
24#define DataHeader "UP"
25
27
29{
30 // Encounter States/Boss GUIDs
35
36 // Additional Data
40
47 DATA_GRAUF = 13
48};
49
51{
52 // Bosses
57
58 // Svala
59 NPC_SVALA = 29281,
60
61 // Gortok Palehoof
66 NPC_PALEHOOF_ORB = 22515, // World Trigger
68
69 // Skadi
70 NPC_GRAUF = 26893,
75 NPC_TRIGGER2 = 19871,
78
79 // Ymiron
80 NPC_BJORN = 27303,
82 NPC_HALDOR = 27307,
84 NPC_RANULF = 27308,
86 NPC_TORGYN = 27309,
90};
91
93{
97 GO_KING_YMIRON_DOOR = 192174
98};
99
100template <class AI, class T>
101inline AI* GetUtgardePinnacleAI(T* obj)
102{
103 return GetInstanceAI<AI>(obj, UPScriptName);
104}
105
106#define RegisterUtgardePinnacleCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetUtgardePinnacleAI)
107#define RegisterUtgardePinnacleGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetUtgardePinnacleAI)
108
109#endif // UTGARDE_PINNACLE_H_
uint32_t uint32
Definition: Define.h:142
uint32 const EncounterCount
#define UPScriptName
AI * GetUtgardePinnacleAI(T *obj)
UPGameObjectIds
@ GO_GORTOK_PALEHOOF_SPHERE
@ GO_UTGARDE_MIRROR
@ GO_KING_YMIRON_DOOR
@ GO_SKADI_THE_RUTHLESS_DOOR
UPDataTypes
@ 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
UPCreatureIds
@ NPC_RAVENOUS_FURBOLG
@ NPC_KING_YMIRON
@ NPC_TORGYN_VISUAL
@ NPC_TRIGGER_RESET
@ NPC_AVENGING_SPIRIT
@ NPC_HALDOR
@ NPC_SPIRIT_FOUNT
@ NPC_FRENZIED_WORGEN
@ NPC_COMBAT_TRIGGER
@ NPC_WORLD_TRIGGER
@ NPC_RANULF_VISUAL
@ NPC_SVALA_SORROWGRAVE
@ NPC_YMIRJAR_WITCH_DOCTOR
@ NPC_YMIRJAR_WARRIOR
@ NPC_GORTOK_PALEHOOF
@ NPC_SKADI_THE_RUTHLESS
@ NPC_JORMUNGAR_WORM
@ NPC_HALDOR_VISUAL
@ NPC_RANULF
@ NPC_SVALA
@ NPC_BJORN_VISUAL
@ NPC_MASSIVE_JORMUNGAR
@ NPC_GRAUF
@ NPC_BJORN
@ NPC_PALEHOOF_ORB
@ NPC_TORGYN
@ NPC_TRIGGER2
@ NPC_YMIRJAR_HARPOONER
@ NPC_FEROCIOUS_RHINO