TrinityCore
utgarde_keep.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_KEEP_H_
19#define UTGARDE_KEEP_H_
20
21#include "CreatureAIImpl.h"
22
23#define UKScriptName "instance_utgarde_keep"
24#define DataHeader "UK"
25
27
29{
30 // Encounter States/Boss GUIDs
34
35 // Additional Data
38
41 DATA_FORGE_3 = 7
42};
43
45{
47 NPC_SKARVALD = 24200,
48 NPC_DALRONN = 24201,
49 NPC_INGVAR = 23954,
50
51 // Skarvald - Dalronn
54
55 // Ingvar the Plunderer
59};
60
62{
63 GO_BELLOW_1 = 186688,
64 GO_BELLOW_2 = 186689,
65 GO_BELLOW_3 = 186690,
66
70
74
77};
78
80{
82
86
88};
89
90template <class AI, class T>
91inline AI* GetUtgardeKeepAI(T* obj)
92{
93 return GetInstanceAI<AI>(obj, UKScriptName);
94}
95
96#define RegisterUtgardeKeepCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetUtgardeKeepAI)
97
98#endif // UTGARDE_KEEP_H_
uint32_t uint32
Definition: Define.h:142
@ NOT_STARTED
ObjectGuid AnvilGUID
Definition: utgarde_keep.h:83
ObjectGuid BellowGUID
Definition: utgarde_keep.h:84
uint32 Event
Definition: utgarde_keep.h:87
ObjectGuid FireGUID
Definition: utgarde_keep.h:85
UKDataTypes
Definition: utgarde_keep.h:29
@ DATA_DALRONN
Definition: utgarde_keep.h:37
@ DATA_FORGE_2
Definition: utgarde_keep.h:40
@ DATA_SKARVALD_DALRONN
Definition: utgarde_keep.h:32
@ DATA_FORGE_1
Definition: utgarde_keep.h:39
@ DATA_PRINCE_KELESETH
Definition: utgarde_keep.h:31
@ DATA_FORGE_3
Definition: utgarde_keep.h:41
@ DATA_SKARVALD
Definition: utgarde_keep.h:36
@ DATA_INGVAR
Definition: utgarde_keep.h:33
uint32 const EncounterCount
Definition: utgarde_keep.h:26
UKGameObjectIds
Definition: utgarde_keep.h:62
@ GO_FORGEFIRE_3
Definition: utgarde_keep.h:69
@ GO_GIANT_PORTCULLIS_1
Definition: utgarde_keep.h:75
@ GO_BELLOW_3
Definition: utgarde_keep.h:65
@ GO_GLOWING_ANVIL_1
Definition: utgarde_keep.h:71
@ GO_GLOWING_ANVIL_2
Definition: utgarde_keep.h:72
@ GO_BELLOW_1
Definition: utgarde_keep.h:63
@ GO_GIANT_PORTCULLIS_2
Definition: utgarde_keep.h:76
@ GO_BELLOW_2
Definition: utgarde_keep.h:64
@ GO_FORGEFIRE_2
Definition: utgarde_keep.h:68
@ GO_GLOWING_ANVIL_3
Definition: utgarde_keep.h:73
@ GO_FORGEFIRE_1
Definition: utgarde_keep.h:67
AI * GetUtgardeKeepAI(T *obj)
Definition: utgarde_keep.h:91
#define UKScriptName
Definition: utgarde_keep.h:23
UKCreatureIds
Definition: utgarde_keep.h:45
@ NPC_SKARVALD
Definition: utgarde_keep.h:47
@ NPC_THROW_TARGET
Definition: utgarde_keep.h:57
@ NPC_SKARVALD_GHOST
Definition: utgarde_keep.h:53
@ NPC_INGVAR
Definition: utgarde_keep.h:49
@ NPC_ANNHYLDE_THE_CALLER
Definition: utgarde_keep.h:58
@ NPC_INGVAR_UNDEAD
Definition: utgarde_keep.h:56
@ NPC_DALRONN_GHOST
Definition: utgarde_keep.h:52
@ NPC_DALRONN
Definition: utgarde_keep.h:48
@ NPC_PRINCE_KELESETH
Definition: utgarde_keep.h:46