TrinityCore
Loading...
Searching...
No Matches
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
69
80
81template <class AI, class T>
82inline AI* GetUtgardeKeepAI(T* obj)
83{
84 return GetInstanceAI<AI>(obj, UKScriptName);
85}
86
87#define RegisterUtgardeKeepCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetUtgardeKeepAI)
88
89#endif // UTGARDE_KEEP_H_
uint32_t uint32
Definition Define.h:133
@ NOT_STARTED
ObjectGuid AnvilGUID
ObjectGuid BellowGUID
uint32 Event
ObjectGuid FireGUID
UKDataTypes
@ DATA_DALRONN
@ DATA_FORGE_2
@ DATA_SKARVALD_DALRONN
@ DATA_FORGE_1
@ DATA_PRINCE_KELESETH
@ DATA_FORGE_3
@ DATA_SKARVALD
@ DATA_INGVAR
uint32 const EncounterCount
UKGameObjectIds
@ GO_FORGEFIRE_3
@ GO_GIANT_PORTCULLIS_1
@ GO_BELLOW_3
@ GO_GLOWING_ANVIL_1
@ GO_GLOWING_ANVIL_2
@ GO_BELLOW_1
@ GO_GIANT_PORTCULLIS_2
@ GO_BELLOW_2
@ GO_FORGEFIRE_2
@ GO_GLOWING_ANVIL_3
@ GO_FORGEFIRE_1
AI * GetUtgardeKeepAI(T *obj)
#define UKScriptName
UKCreatureIds
@ NPC_SKARVALD
@ NPC_INGVAR
@ NPC_DALRONN
@ NPC_PRINCE_KELESETH