TrinityCore
stonecore.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_STONECORE_H
19#define DEF_STONECORE_H
20
21#include "CreatureAIImpl.h"
22
23#define SCScriptName "instance_stonecore"
24#define DataHeader "SC"
25
27{
28 // Encounter States/Boss GUIDs
33
34 // Additional Data
40
43
44 // Teleporters
47};
48
50{
53
56
57 NPC_CORBORUS = 43438,
58 NPC_SLABHIDE = 43214,
59 NPC_OZRUK = 42188,
61
62 // Stonecore Teleporter misc
64 NPC_STONECORE_TELEPORTER = 51396, // Entrance teleporter
65 NPC_STONECORE_TELEPORTER_2 = 51397, // Slabhide teleporter
67
71
73
74 // Creature Formation IDs
77};
78
79template<typename AI>
80inline AI* GetStonecoreAI(Creature* creature)
81{
82 return GetInstanceAI<AI>(creature, SCScriptName);
83}
84
85#endif // DEF_STONECORE
SCDataTypes
Definition: scholomance.h:27
@ DATA_MILLHOUSE_EVENT_KNOCKBACK
Definition: stonecore.h:38
@ DATA_HANDLE_CORBORUS_ROCKDOOR
Definition: stonecore.h:37
@ DATA_HIGH_PRIESTESS_AZIL
Definition: stonecore.h:32
@ DATA_SLABHIDE_INTRO
Definition: stonecore.h:41
@ DATA_CORBORUS
Definition: stonecore.h:29
@ DATA_SLABHIDE_ROCK_WALL
Definition: stonecore.h:42
@ DATA_MILLHOUSE_EVENT_DESPAWN
Definition: stonecore.h:39
@ DATA_SLABHIDE
Definition: stonecore.h:30
@ DATA_STONECORE_TELEPORTER
Definition: stonecore.h:45
@ DATA_OZRUK
Definition: stonecore.h:31
@ DATA_MILLHOUSE_MANASTORM
Definition: stonecore.h:35
@ DATA_STONECORE_TELEPORTER_2
Definition: stonecore.h:46
@ DATA_MILLHOUSE_EVENT_FACE
Definition: stonecore.h:36
SCMisc
Definition: stonecore.h:50
@ ACTION_SLABHIDE_INTRO
Definition: stonecore.h:52
@ NPC_MILLHOUSE_MANASTORM
Definition: stonecore.h:55
@ CREATURE_FORMATION_MILLHOUSE_EVENT_LAST_GROUP
Definition: stonecore.h:76
@ ACTION_CORBORUS_INTRO
Definition: stonecore.h:51
@ NPC_STONECORE_TELEPORTER
Definition: stonecore.h:64
@ SPELL_RING_WYRM_KNOCKBACK
Definition: stonecore.h:72
@ NPC_HIGH_PRIESTESS_AZIL
Definition: stonecore.h:60
@ NPC_CORBORUS
Definition: stonecore.h:57
@ CREATURE_FORMATION_MILLHOUSE_EVENT_TRASH
Definition: stonecore.h:75
@ NPC_WORLDTRIGGER
Definition: stonecore.h:54
@ NPC_STONECORE_TELEPORTER_2
Definition: stonecore.h:65
@ NPC_OZRUK
Definition: stonecore.h:59
@ SPELL_TELEPORTER_ACTIVE_VISUAL
Definition: stonecore.h:66
@ MAX_STONECORE_TELEPORTERS
Definition: stonecore.h:63
@ GAMEOBJECT_TWILIGHT_DOCUMENTS
Definition: stonecore.h:68
@ GAMEOBJECT_CORBORUS_ROCKDOOR
Definition: stonecore.h:69
@ NPC_SLABHIDE
Definition: stonecore.h:58
@ GAMEOBJECT_SLABHIDE_ROCK_WALL
Definition: stonecore.h:70
#define SCScriptName
Definition: stonecore.h:23
AI * GetStonecoreAI(Creature *creature)
Definition: stonecore.h:80