TrinityCore
scarlet_monastery.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 SCARLET_M_
19#define SCARLET_M_
20
21#include "CreatureAIImpl.h"
22#include "Position.h"
23
24#define SMScriptName "instance_scarlet_monastery"
25#define DataHeader "SM"
26
28
29extern Position const BunnySpawnPosition;
33
35{
42 DATA_MOGRAINE_AND_WHITE_EVENT, // Last DungeonEncounter.dbc entry
43
49
50 // Headless Horseman
62};
63
65{
68 NPC_VORREL = 3981,
75 NPC_SIR_THOMAS = 23904
76};
77
79{
85};
86
88{
92};
93
94template <class AI, class T>
95inline AI* GetScarletMonasteryAI(T* obj)
96{
97 return GetInstanceAI<AI>(obj, SMScriptName);
98}
99
100#define RegisterScarletMonasteryCreatureAI(ai) RegisterCreatureAIWithFactory(ai, GetScarletMonasteryAI)
101#define RegisterScarletMonasteryGameObjectAI(ai) RegisterGameObjectAIWithFactory(ai, GetScarletMonasteryAI)
102
103#endif // SCARLET_M_
uint32_t uint32
Definition: Define.h:142
SMCreatureMisc
@ SPELL_EARTH_EXPLOSION
@ EVENT_ACTIVE_EARTH_EXPLOSION
@ EVENT_SPAWN_HEADLESS_HORSEMAN
@ EVENT_DESPAWN_OBJECTS
@ ACTION_HORSEMAN_EVENT_START
SMGameObjectIds
@ GO_LOOSELY_TURNED_SOIL
@ GO_PUMPKIN_SHRINE
@ GO_HIGH_INQUISITORS_DOOR
uint32 const EncounterCount
Position const HeadlessHorsemanHeadSpawnPosition
SMDataTypes
@ DATA_HOUNDMASTER_LOKSEY
@ DATA_SCORN
@ DATA_MOGRAINE
@ DATA_PREPARE_RESET
@ DATA_WHITEMANE
@ DATA_HORSEMAN_HEAD
@ DATA_AZSHIR
@ DATA_BLOODMAGE_THALNOS
@ DATA_ARCANIST_DOAN
@ DATA_INTERROGATOR_VISHAS
@ DATA_HIGH_INQUISITOR_FAIRBANKS
@ DATA_HEADLESS_HORSEMAN
@ DATA_VORREL
@ DATA_HEROD
@ DATA_LOOSELY_TURNED_SOIL
@ DATA_MOGRAINE_AND_WHITE_EVENT
@ DATA_HORSEMAN_EVENT_STATE
@ DATA_FLAME_BUNNY
@ DATA_EARTH_BUNNY
@ DATA_HIGH_INQUISITORS_DOOR
@ DATA_START_HORSEMAN_EVENT
@ DATA_THOMAS
@ DATA_PUMPKIN_SHRINE
Position const EarthBunnySpawnPosition
SMCreatureIds
@ NPC_VORREL
@ NPC_HEADLESS_HORSEMAN_HEAD
@ NPC_HEADLESS_HORSEMAN
@ NPC_FLAME_BUNNY
@ NPC_MOGRAINE
@ NPC_PULSING_PUMPKIN
@ NPC_SIR_THOMAS
@ NPC_PUMPKIN_FIEND
@ NPC_WHITEMANE
@ NPC_EARTH_BUNNY
#define SMScriptName
Position const BunnySpawnPosition
AI * GetScarletMonasteryAI(T *obj)
Position const HeadlessHorsemanSpawnPosition