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
26
uint32
const
EncounterCount
= 3;
27
28
enum
UKDataTypes
29
{
30
// Encounter States/Boss GUIDs
31
DATA_PRINCE_KELESETH
= 0,
32
DATA_SKARVALD_DALRONN
= 1,
33
DATA_INGVAR
= 2,
34
35
// Additional Data
36
DATA_SKARVALD
= 3,
37
DATA_DALRONN
= 4,
38
39
DATA_FORGE_1
= 5,
40
DATA_FORGE_2
= 6,
41
DATA_FORGE_3
= 7
42
};
43
44
enum
UKCreatureIds
45
{
46
NPC_PRINCE_KELESETH
= 23953,
47
NPC_SKARVALD
= 24200,
48
NPC_DALRONN
= 24201,
49
NPC_INGVAR
= 23954
50
};
51
52
enum
UKGameObjectIds
53
{
54
GO_BELLOW_1
= 186688,
55
GO_BELLOW_2
= 186689,
56
GO_BELLOW_3
= 186690,
57
58
GO_FORGEFIRE_1
= 186692,
59
GO_FORGEFIRE_2
= 186693,
60
GO_FORGEFIRE_3
= 186691,
61
62
GO_GLOWING_ANVIL_1
= 186609,
63
GO_GLOWING_ANVIL_2
= 186610,
64
GO_GLOWING_ANVIL_3
= 186611,
65
66
GO_GIANT_PORTCULLIS_1
= 186756,
67
GO_GIANT_PORTCULLIS_2
= 186694
68
};
69
70
struct
ForgeInfo
71
{
72
ForgeInfo
() :
Event
(
NOT_STARTED
) { };
73
74
ObjectGuid
AnvilGUID
;
75
ObjectGuid
BellowGUID
;
76
ObjectGuid
FireGUID
;
77
78
uint32
Event
;
79
};
80
81
template
<
class
AI,
class
T>
82
inline
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_
CreatureAIImpl.h
uint32
uint32_t uint32
Definition
Define.h:133
NOT_STARTED
@ NOT_STARTED
Definition
InstanceScript.h:73
ObjectGuid
Definition
ObjectGuid.h:138
ForgeInfo
Definition
utgarde_keep.h:71
ForgeInfo::AnvilGUID
ObjectGuid AnvilGUID
Definition
utgarde_keep.h:74
ForgeInfo::ForgeInfo
ForgeInfo()
Definition
utgarde_keep.h:72
ForgeInfo::BellowGUID
ObjectGuid BellowGUID
Definition
utgarde_keep.h:75
ForgeInfo::Event
uint32 Event
Definition
utgarde_keep.h:78
ForgeInfo::FireGUID
ObjectGuid FireGUID
Definition
utgarde_keep.h:76
UKDataTypes
UKDataTypes
Definition
utgarde_keep.h:29
DATA_DALRONN
@ DATA_DALRONN
Definition
utgarde_keep.h:37
DATA_FORGE_2
@ DATA_FORGE_2
Definition
utgarde_keep.h:40
DATA_SKARVALD_DALRONN
@ DATA_SKARVALD_DALRONN
Definition
utgarde_keep.h:32
DATA_FORGE_1
@ DATA_FORGE_1
Definition
utgarde_keep.h:39
DATA_PRINCE_KELESETH
@ DATA_PRINCE_KELESETH
Definition
utgarde_keep.h:31
DATA_FORGE_3
@ DATA_FORGE_3
Definition
utgarde_keep.h:41
DATA_SKARVALD
@ DATA_SKARVALD
Definition
utgarde_keep.h:36
DATA_INGVAR
@ DATA_INGVAR
Definition
utgarde_keep.h:33
EncounterCount
uint32 const EncounterCount
Definition
utgarde_keep.h:26
UKGameObjectIds
UKGameObjectIds
Definition
utgarde_keep.h:53
GO_FORGEFIRE_3
@ GO_FORGEFIRE_3
Definition
utgarde_keep.h:60
GO_GIANT_PORTCULLIS_1
@ GO_GIANT_PORTCULLIS_1
Definition
utgarde_keep.h:66
GO_BELLOW_3
@ GO_BELLOW_3
Definition
utgarde_keep.h:56
GO_GLOWING_ANVIL_1
@ GO_GLOWING_ANVIL_1
Definition
utgarde_keep.h:62
GO_GLOWING_ANVIL_2
@ GO_GLOWING_ANVIL_2
Definition
utgarde_keep.h:63
GO_BELLOW_1
@ GO_BELLOW_1
Definition
utgarde_keep.h:54
GO_GIANT_PORTCULLIS_2
@ GO_GIANT_PORTCULLIS_2
Definition
utgarde_keep.h:67
GO_BELLOW_2
@ GO_BELLOW_2
Definition
utgarde_keep.h:55
GO_FORGEFIRE_2
@ GO_FORGEFIRE_2
Definition
utgarde_keep.h:59
GO_GLOWING_ANVIL_3
@ GO_GLOWING_ANVIL_3
Definition
utgarde_keep.h:64
GO_FORGEFIRE_1
@ GO_FORGEFIRE_1
Definition
utgarde_keep.h:58
GetUtgardeKeepAI
AI * GetUtgardeKeepAI(T *obj)
Definition
utgarde_keep.h:82
UKScriptName
#define UKScriptName
Definition
utgarde_keep.h:23
UKCreatureIds
UKCreatureIds
Definition
utgarde_keep.h:45
NPC_SKARVALD
@ NPC_SKARVALD
Definition
utgarde_keep.h:47
NPC_INGVAR
@ NPC_INGVAR
Definition
utgarde_keep.h:49
NPC_DALRONN
@ NPC_DALRONN
Definition
utgarde_keep.h:48
NPC_PRINCE_KELESETH
@ NPC_PRINCE_KELESETH
Definition
utgarde_keep.h:46
server
scripts
Northrend
UtgardeKeep
UtgardeKeep
utgarde_keep.h
Generated on Sun May 10 2026 02:30:23 for TrinityCore by
1.9.8