TrinityCore
magtheridons_lair.h File Reference
#include "CreatureAIImpl.h"
+ Include dependency graph for magtheridons_lair.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MLScriptName   "instance_magtheridons_lair"
 
#define DataHeader   "ML"
 
#define RegisterMagtheridonsLairCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetMagtheridonsLairAI)
 
#define RegisterMagtheridonsLairGameObjectAI(ai_name)   RegisterGameObjectAIWithFactory(ai_name, GetMagtheridonsLairAI)
 

Enumerations

enum  MLDataTypes {
  DATA_MAGTHERIDON = 0 , DATA_WORLD_TRIGGER = 1 , DATA_MAGTHERIDON_HALL = 2 , DATA_MAGTHERIDON_COLUMN_0 = 3 ,
  DATA_MAGTHERIDON_COLUMN_1 = 4 , DATA_MAGTHERIDON_COLUMN_2 = 5 , DATA_MAGTHERIDON_COLUMN_3 = 6 , DATA_MAGTHERIDON_COLUMN_4 = 7 ,
  DATA_MAGTHERIDON_COLUMN_5 = 8 , DATA_MANTICRON_CUBE = 9 , DATA_COLLAPSE = 10 , DATA_COLLAPSE_2 = 11 ,
  DATA_CALL_WARDERS = 12
}
 
enum  MLActions { ACTION_ENABLE = 1 , ACTION_DISABLE = 2 }
 
enum  MLCreatureIds {
  NPC_MAGTHERIDON = 17257 , NPC_ABYSSAL = 17454 , NPC_HELLFIRE_CHANNELLER = 17256 , NPC_TARGET_TRIGGER = 17474 ,
  NPC_WORLD_TRIGGER = 21252 , NPC_HELFIRE_RAID_TRIGGER = 17376 , NPC_OLDWORLD_TRIGGER = 15384 , NPC_MAGTHERIDON_ROOM = 17516 ,
  NPC_HELLFIRE_WARDER = 18829
}
 
enum  MLGameObjectIds {
  GO_MAGTHERIDON_DOOR = 183847 , GO_MANTICRON_CUBE = 181713 , GO_MAGTHERIDON_HALL = 184653 , GO_MAGTHERIDON_COLUMN_0 = 184638 ,
  GO_MAGTHERIDON_COLUMN_1 = 184639 , GO_MAGTHERIDON_COLUMN_2 = 184635 , GO_MAGTHERIDON_COLUMN_3 = 184634 , GO_MAGTHERIDON_COLUMN_4 = 184636 ,
  GO_MAGTHERIDON_COLUMN_5 = 184637
}
 

Functions

template<class AI , class T >
AI * GetMagtheridonsLairAI (T *obj)
 

Variables

uint32 const EncounterCount = 1
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "ML"

Definition at line 24 of file magtheridons_lair.h.

◆ MLScriptName

#define MLScriptName   "instance_magtheridons_lair"

Definition at line 23 of file magtheridons_lair.h.

◆ RegisterMagtheridonsLairCreatureAI

#define RegisterMagtheridonsLairCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetMagtheridonsLairAI)

Definition at line 83 of file magtheridons_lair.h.

◆ RegisterMagtheridonsLairGameObjectAI

#define RegisterMagtheridonsLairGameObjectAI (   ai_name)    RegisterGameObjectAIWithFactory(ai_name, GetMagtheridonsLairAI)

Definition at line 84 of file magtheridons_lair.h.

Enumeration Type Documentation

◆ MLActions

enum MLActions
Enumerator
ACTION_ENABLE 
ACTION_DISABLE 

Definition at line 45 of file magtheridons_lair.h.

◆ MLCreatureIds

Enumerator
NPC_MAGTHERIDON 
NPC_ABYSSAL 
NPC_HELLFIRE_CHANNELLER 
NPC_TARGET_TRIGGER 
NPC_WORLD_TRIGGER 
NPC_HELFIRE_RAID_TRIGGER 
NPC_OLDWORLD_TRIGGER 
NPC_MAGTHERIDON_ROOM 
NPC_HELLFIRE_WARDER 

Definition at line 51 of file magtheridons_lair.h.

◆ MLDataTypes

Enumerator
DATA_MAGTHERIDON 
DATA_WORLD_TRIGGER 
DATA_MAGTHERIDON_HALL 
DATA_MAGTHERIDON_COLUMN_0 
DATA_MAGTHERIDON_COLUMN_1 
DATA_MAGTHERIDON_COLUMN_2 
DATA_MAGTHERIDON_COLUMN_3 
DATA_MAGTHERIDON_COLUMN_4 
DATA_MAGTHERIDON_COLUMN_5 
DATA_MANTICRON_CUBE 
DATA_COLLAPSE 
DATA_COLLAPSE_2 
DATA_CALL_WARDERS 

Definition at line 28 of file magtheridons_lair.h.

◆ MLGameObjectIds

Enumerator
GO_MAGTHERIDON_DOOR 
GO_MANTICRON_CUBE 
GO_MAGTHERIDON_HALL 
GO_MAGTHERIDON_COLUMN_0 
GO_MAGTHERIDON_COLUMN_1 
GO_MAGTHERIDON_COLUMN_2 
GO_MAGTHERIDON_COLUMN_3 
GO_MAGTHERIDON_COLUMN_4 
GO_MAGTHERIDON_COLUMN_5 

Definition at line 64 of file magtheridons_lair.h.

Function Documentation

◆ GetMagtheridonsLairAI()

template<class AI , class T >
AI * GetMagtheridonsLairAI ( T *  obj)
inline

Definition at line 78 of file magtheridons_lair.h.

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 1

Definition at line 26 of file magtheridons_lair.h.