TrinityCore
Loading...
Searching...
No Matches
blood_furnace.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 BLOOD_FURNACE_H_
19#define BLOOD_FURNACE_H_
20
21#include "CreatureAIImpl.h"
22
23#define BFScriptName "instance_blood_furnace"
24#define DataHeader "BF"
25
26uint32 constexpr EncounterCount = 3;
27
45
47{
49 NPC_BROGGOK = 17380,
50 NPC_KELIDAN = 17377
51};
52
54{
55 GO_PRISON_DOOR_01 = 181766, // Final Exit Door
56 GO_PRISON_DOOR_02 = 181811, // The Maker Front Door
57 GO_PRISON_DOOR_03 = 181812, // The Maker Rear Door
58 GO_PRISON_DOOR_04 = 181819, // Broggok Rear Door
59 GO_PRISON_DOOR_05 = 181822, // Broggok Front Door
60 GO_SUMMON_DOOR = 181823, // Kelidan Exit Door
61
62 GO_PRISON_CELL_DOOR_1 = 181813, // The Maker
66 GO_PRISON_CELL_DOOR_5 = 181817, // Broggok
70
71 GO_BROGGOK_LEVER = 181982
72};
73
81
89
90template <class AI, class T>
91inline AI* GetBloodFurnaceAI(T* obj)
92{
93 return GetInstanceAI<AI>(obj, BFScriptName);
94}
95
96#define RegisterBloodFurnaceCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBloodFurnaceAI)
97#define RegisterBloodFurnaceGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetBloodFurnaceAI)
98
99#endif // BLOOD_FURNACE_H_
uint32_t uint32
Definition Define.h:154
BFSpawnGroupIds
@ SPAWN_GROUP_PRISONERS_4
@ SPAWN_GROUP_PRISONERS_3
@ SPAWN_GROUP_PRISONERS_2
@ SPAWN_GROUP_PRISONERS_1
AI * GetBloodFurnaceAI(T *obj)
BFGameObjectIds
@ GO_PRISON_CELL_DOOR_5
@ GO_PRISON_CELL_DOOR_8
@ GO_PRISON_DOOR_05
@ GO_PRISON_CELL_DOOR_1
@ GO_PRISON_CELL_DOOR_2
@ GO_PRISON_DOOR_03
@ GO_SUMMON_DOOR
@ GO_PRISON_CELL_DOOR_3
@ GO_PRISON_CELL_DOOR_7
@ GO_PRISON_CELL_DOOR_4
@ GO_PRISON_CELL_DOOR_6
@ GO_PRISON_DOOR_01
@ GO_PRISON_DOOR_04
@ GO_PRISON_DOOR_02
@ GO_BROGGOK_LEVER
BFCreatureIds
@ NPC_BROGGOK
@ NPC_KELIDAN
@ NPC_THE_MAKER
#define BFScriptName
BFDataTypes
@ DATA_BROGGOK_LEVER
@ DATA_THE_MAKER
@ DATA_PRISON_DOOR_05
@ DATA_PRISON_CELL_DOOR_6
@ DATA_PRISON_CELL_DOOR_8
@ DATA_BROGGOK
@ DATA_PRISON_CELL_DOOR_7
@ DATA_PRISONERS_EVENT
@ DATA_KELIDAN
@ DATA_PRISON_DOOR_04
@ DATA_PRISON_CELL_DOOR_5
uint32 constexpr EncounterCount
BFActionIds
@ ACTION_PERFORM_INTRO
@ ACTION_DESPAWN_TRIGGER
@ ACTION_PRISONER_ENGAGE
@ ACTION_RELEASE_BROGGOK