TrinityCore
scholomance.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 DEF_SCHOLOMANCE_H
19#define DEF_SCHOLOMANCE_H
20
21#include "CreatureAIImpl.h"
22
23#define ScholomanceScriptName "instance_scholomance"
24#define DataHeader "SC_old"
25
27{
41
43};
44
46{
50 NPC_BONE_MINION = 16119
51};
52
54{
61 GO_GATE_BAROV = 177373,
64};
65
66template <class AI, class T>
67inline AI* GetScholomanceAI(T* obj)
68{
69 return GetInstanceAI<AI>(obj, ScholomanceScriptName);
70}
71
72#endif
AI * GetScholomanceAI(T *obj)
Definition: scholomance.h:67
SCCreatureIds
Definition: scholomance.h:46
@ NPC_BONE_MINION
Definition: scholomance.h:50
@ NPC_DARKMASTER_GANDLING
Definition: scholomance.h:47
@ NPC_RATTLEGORE
Definition: scholomance.h:49
@ NPC_MARDUK_BLACKPOOL
Definition: scholomance.h:48
SCDataTypes
Definition: scholomance.h:27
@ DATA_LOREKEEPERPOLKELT
Definition: scholomance.h:32
@ DATA_MARDUK_BLACKPOOL
Definition: scholomance.h:38
@ DATA_RAS_FROSTWHISPER
Definition: scholomance.h:40
@ DATA_LADYILLUCIABAROV
Definition: scholomance.h:30
@ DATA_LORDALEXEIBAROV
Definition: scholomance.h:31
@ DATA_INSTRUCTORMALICIA
Definition: scholomance.h:29
@ DATA_JANDICE_BAROV
Definition: scholomance.h:36
@ MAX_ENCOUNTER
Definition: scholomance.h:42
@ DATA_RATTLEGORE
Definition: scholomance.h:37
@ DATA_DOCTORTHEOLENKRASTINOV
Definition: scholomance.h:28
@ DATA_THERAVENIAN
Definition: scholomance.h:33
@ DATA_DARKMASTERGANDLING
Definition: scholomance.h:34
@ DATA_KIRTONOS
Definition: scholomance.h:35
@ DATA_VECTUS
Definition: scholomance.h:39
#define ScholomanceScriptName
Definition: scholomance.h:23
SCGameobjectIds
Definition: scholomance.h:54
@ GO_GATE_RAVENIAN
Definition: scholomance.h:57
@ GO_GATE_KIRTONOS
Definition: scholomance.h:55
@ GO_GATE_BAROV
Definition: scholomance.h:61
@ GO_GATE_POLKELT
Definition: scholomance.h:62
@ GO_GATE_GANDLING
Definition: scholomance.h:56
@ GO_BRAZIER_OF_THE_HERALD
Definition: scholomance.h:63
@ GO_GATE_THEOLEN
Definition: scholomance.h:58
@ GO_GATE_ILLUCIA
Definition: scholomance.h:59
@ GO_GATE_MALICIA
Definition: scholomance.h:60