AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
mechanar.h File Reference
#include "CreatureAI.h"
#include "CreatureAIImpl.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"

Go to the source code of this file.

Macros

#define DataHeader   "MR"
 
#define MechanarScriptName   "instance_mechanar"
 
#define RegisterMechanarCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetMechanarAI)
 

Enumerations

enum  DataTypes {
  TYPE_RING_OF_LAW = 1 ,
  TYPE_VAULT = 2 ,
  TYPE_BAR = 3 ,
  TYPE_TOMB_OF_SEVEN = 4 ,
  TYPE_LYCEUM = 5 ,
  TYPE_IRON_HALL = 6 ,
  DATA_EMPEROR = 10 ,
  DATA_PHALANX = 11 ,
  DATA_ARENA1 = 12 ,
  DATA_ARENA2 = 13 ,
  DATA_ARENA3 = 14 ,
  DATA_ARENA4 = 15 ,
  DATA_GO_BAR_KEG = 16 ,
  DATA_GO_BAR_KEG_TRAP = 17 ,
  DATA_GO_BAR_DOOR = 18 ,
  DATA_GO_CHALICE = 19 ,
  DATA_GOLEM_DOOR_N = 22 ,
  DATA_GOLEM_DOOR_S = 23 ,
  DATA_THRONE_DOOR = 24 ,
  DATA_SF_BRAZIER_N = 25 ,
  DATA_SF_BRAZIER_S = 26 ,
  DATA_MOIRA = 27 ,
  DATA_PRIESTESS = 28 ,
  DATA_OPEN_COFFER_DOORS = 30 ,
  DATA_GOLEM_LORD_ARGELMACH_INIT = 31 ,
  DATA_GOLEM_LORD_ARGELMACH_ADDS = 32 ,
  DATA_MAGMUS = 33 ,
  DATA_COREN = 34 ,
  DATA_ANUBSHIAH ,
  DATA_EVISCERATOR ,
  DATA_GOROSH ,
  DATA_GRIZZLE ,
  DATA_HEDRUM ,
  DATA_OKTHOR ,
  DATA_TIME_RING_FAIL ,
  DATA_ARENA_MOBS ,
  DATA_ARENA_BOSS ,
  DATA_HIGHLORD_OMOKK = 0 ,
  DATA_SHADOW_HUNTER_VOSHGAJIN = 1 ,
  DATA_WARMASTER_VOONE = 2 ,
  DATA_MOTHER_SMOLDERWEB = 3 ,
  DATA_UROK_DOOMHOWL = 4 ,
  DATA_QUARTERMASTER_ZIGRIS = 5 ,
  DATA_GIZRUL_THE_SLAVENER = 6 ,
  DATA_HALYCON = 7 ,
  DATA_OVERLORD_WYRMTHALAK = 8 ,
  DATA_PYROGAURD_EMBERSEER = 9 ,
  DATA_WARCHIEF_REND_BLACKHAND = 10 ,
  DATA_GYTH = 11 ,
  DATA_THE_BEAST = 12 ,
  DATA_GENERAL_DRAKKISATH = 13 ,
  DATA_LORD_VALTHALAK = 14 ,
  DATA_DRAGONSPIRE_ROOM = 15 ,
  DATA_HALL_RUNE_1 = 16 ,
  DATA_HALL_RUNE_2 = 17 ,
  DATA_HALL_RUNE_3 = 18 ,
  DATA_HALL_RUNE_4 = 19 ,
  DATA_HALL_RUNE_5 = 20 ,
  DATA_HALL_RUNE_6 = 21 ,
  DATA_HALL_RUNE_7 = 22 ,
  DATA_SOLAKAR_FLAMEWREATH = 23 ,
  DATA_MOR_GRAYHOOF = 24 ,
  DATA_VAELASTRASZ = 25 ,
  TYPE_RHAHK_ZOR = 0 ,
  TYPE_CANNON = 1 ,
  MAX_ENCOUNTERS = 2 ,
  TYPE_GRUBBIS = 0 ,
  MAX_ENCOUNTERS = 1 ,
  TYPE_MOGRAINE_AND_WHITE_EVENT = 1 ,
  DATA_MOGRAINE = 2 ,
  DATA_WHITEMANE = 3 ,
  DATA_DOOR_WHITEMANE = 4 ,
  DATA_HORSEMAN_EVENT = 5 ,
  GAMEOBJECT_PUMPKIN_SHRINE = 6 ,
  DATA_VORREL = 7 ,
  DATA_ARCANIST_DOAN = 8 ,
  DATA_KIRTONOS_THE_HERALD = 0 ,
  DATA_MINI_BOSSES = 1 ,
  DATA_RAS_HUMAN = 2 ,
  DATA_DARKMASTER_GANDLING = 3 ,
  TYPE_COURTYARD = 0 ,
  TYPE_FENRUS_THE_DEVOURER = 1 ,
  TYPE_WOLF_MASTER_NANDOS = 2 ,
  MAX_ENCOUNTERS = 3 ,
  DATA_APOTHECARY_HUMMEL = 4 ,
  DATA_SPAWN_VALENTINE_ADDS = 5 ,
  TYPE_BARON_RUN = 0 ,
  TYPE_ZIGGURAT1 = 1 ,
  TYPE_ZIGGURAT2 = 2 ,
  TYPE_ZIGGURAT3 = 3 ,
  TYPE_BARON_FIGHT = 4 ,
  TYPE_MALLOW = 5 ,
  DATA_BARON_RUN_NONE = 0 ,
  DATA_BARON_RUN_GATE = 1 ,
  DATA_JARIEN = 2 ,
  DATA_SOTHOS = 3 ,
  DATA_STATUES = 10 ,
  DATA_DEFENDER_KILLED = 11 ,
  DATA_ERANIKUS_FIGHT = 12 ,
  MAX_STATUE_PHASE = 6 ,
  DEFENDERS_COUNT = 6 ,
  TYPE_ATAL_ALARION = 0 ,
  TYPE_JAMMAL_AN = 1 ,
  TYPE_HAKKAR_EVENT = 2 ,
  MAX_ENCOUNTERS = 3 ,
  DATA_KALECGOS = 0 ,
  DATA_MADRIGOSA = 1 ,
  DATA_BRUTALLUS = 2 ,
  DATA_FELMYST = 3 ,
  DATA_FELMYST_DOORS = 4 ,
  DATA_EREDAR_TWINS_INTRO = 5 ,
  DATA_EREDAR_TWINS = 6 ,
  DATA_MURU = 7 ,
  DATA_KILJAEDEN = 8 ,
  MAX_ENCOUNTERS = 9 ,
  DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_1 = 10 ,
  DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_2 = 11 ,
  DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_3 = 12 ,
  DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_4 = 13 ,
  DATA_IRONAYA_DOORS = 0 ,
  DATA_STONE_KEEPERS = 1 ,
  DATA_ARCHAEDAS = 2 ,
  MAX_ENCOUNTERS = 3 ,
  DATA_GONGEVENT = 0 ,
  DATA_NALORAKKEVENT = 1 ,
  DATA_AKILZONEVENT = 2 ,
  DATA_JANALAIEVENT = 3 ,
  DATA_HALAZZIEVENT = 4 ,
  DATA_HEXLORDEVENT = 5 ,
  DATA_ZULJINEVENT = 6 ,
  DATA_CHESTLOOTED = 7 ,
  TYPE_RAND_VENDOR_1 = 8 ,
  TYPE_RAND_VENDOR_2 = 9 ,
  DATA_JEKLIK = 0 ,
  DATA_VENOXIS = 1 ,
  DATA_MARLI = 2 ,
  DATA_ARLOKK = 3 ,
  DATA_THEKAL = 4 ,
  DATA_HAKKAR = 5 ,
  DATA_MANDOKIR = 6 ,
  DATA_JINDO = 7 ,
  DATA_GAHZRANKA = 8 ,
  DATA_EDGE_OF_MADNESS = 9 ,
  DATA_LORKHAN = 10 ,
  DATA_ZATH = 11 ,
  DATA_OHGAN = 12 ,
  TYPE_EDGE_OF_MADNESS = 13 ,
  DATA_ANETHERON = 1 ,
  DATA_ANETHERONEVENT = 2 ,
  DATA_ARCHIMONDE = 3 ,
  DATA_ARCHIMONDEEVENT = 4 ,
  DATA_AZGALOR = 5 ,
  DATA_AZGALOREVENT = 6 ,
  DATA_JAINAPROUDMOORE = 7 ,
  DATA_KAZROGAL = 8 ,
  DATA_KAZROGALEVENT = 9 ,
  DATA_RAGEWINTERCHILL = 10 ,
  DATA_RAGEWINTERCHILLEVENT = 11 ,
  DATA_THRALL = 12 ,
  DATA_TYRANDEWHISPERWIND = 13 ,
  DATA_TRASH = 14 ,
  DATA_RESET_TRASH_COUNT = 15 ,
  DATA_ALLIANCE_RETREAT = 16 ,
  DATA_HORDE_RETREAT = 17 ,
  DATA_RAIDDAMAGE = 18 ,
  DATA_RESET_RAIDDAMAGE = 19 ,
  TYPE_RETREAT = 20 ,
  DATA_CHRONO_LORD_DEJA = 0 ,
  DATA_TEMPORUS = 1 ,
  DATA_AEONUS = 2 ,
  MAX_ENCOUNTER = 3 ,
  DATA_MEDIVH = 10 ,
  DATA_RIFT_KILLED = 11 ,
  DATA_DAMAGE_SHIELD = 12 ,
  DATA_SHIELD_PERCENT = 13 ,
  DATA_RIFT_NUMBER = 14 ,
  DATA_SUMMONED_NPC = 20 ,
  DATA_DELETED_NPC = 21 ,
  TYPE_EAST_WING_PROGRESS = 0 ,
  TYPE_WEST_WING_PROGRESS = 1 ,
  TYPE_PYLONS_STATE = 2 ,
  TYPE_NORTH_WING_PROGRESS = 3 ,
  TYPE_NORTH_WING_BOSSES = 4 ,
  DATA_ISALIEN = 32 ,
  ALL_PYLONS_OFF = 0x1F ,
  TYPE_NOXXION = 0 ,
  MAX_ENCOUNTERS = 1 ,
  DATA_KURINNAXX = 0 ,
  DATA_RAJAXX = 1 ,
  DATA_MOAM = 2 ,
  DATA_BURU = 3 ,
  DATA_AYAMISS = 4 ,
  DATA_OSSIRIAN = 5 ,
  NUM_ENCOUNTER = 6 ,
  DATA_PARALYZED = 7 ,
  DATA_QUUEZ = 8 ,
  DATA_TUUBID = 9 ,
  DATA_DRENN = 10 ,
  DATA_XURREM = 11 ,
  DATA_YEGGETH = 12 ,
  DATA_PAKKON = 13 ,
  DATA_ZERRAN = 14 ,
  DATA_ANDOROV = 15 ,
  DATA_BURU_PHASE = 16 ,
  DATA_ENGAGED_FORMATION = 1 ,
  DATA_SKERAM = 1 ,
  DATA_BUG_TRIO = 2 ,
  DATA_SARTURA = 3 ,
  DATA_FANKRISS = 4 ,
  DATA_VISCIDUS = 5 ,
  DATA_HUHURAN = 6 ,
  DATA_TWIN_EMPERORS = 7 ,
  DATA_OURO = 8 ,
  DATA_CTHUN = 9 ,
  MAX_BOSS_NUMBER = 10 ,
  DATA_KRI = 10 ,
  DATA_VEM = 11 ,
  DATA_YAUJ = 12 ,
  DATA_BUG_TRIO_DEATH = 13 ,
  DATA_OURO_SPAWNER = 14 ,
  DATA_VEKLOR = 15 ,
  DATA_VEKNILASH = 16 ,
  DATA_EYE_OF_CTHUN = 18 ,
  DATA_MASTERS_EYE = 19 ,
  TYPE_LORD_COBRAHN = 0 ,
  TYPE_LORD_PYTHAS = 1 ,
  TYPE_LADY_ANACONDRA = 2 ,
  TYPE_LORD_SERPENTIS = 3 ,
  TYPE_MUTANUS = 4 ,
  MAX_ENCOUNTERS = 5 ,
  NPC_DISCIPLE_OF_NARALEX = 3678 ,
  NPC_LORD_SERPENTIS = 3673 ,
  SAY_DISCIPLE = 0 ,
  SAY_SERPENTIS = 0 ,
  DATA_BALTHARUS_THE_WARBORN = 0 ,
  DATA_GENERAL_ZARITHRIAN = 1 ,
  DATA_SAVIANA_RAGEFIRE = 2 ,
  DATA_HALION_INTRO1 = 3 ,
  DATA_HALION_INTRO2 = 4 ,
  DATA_HALION_INTRO_DONE = 5 ,
  DATA_HALION = 6 ,
  MAX_ENCOUNTERS = 7 ,
  DATA_ZARITHRIAN_SPAWN_STALKER_1 = 8 ,
  DATA_ZARITHRIAN_SPAWN_STALKER_2 = 9 ,
  TYPE_NONE = 0 ,
  TYPE_INSTANCE_PROGRESS ,
  TYPE_ANNOUNCER_GOSSIP_SELECT ,
  TYPE_FAILED ,
  TYPE_GORMOK ,
  TYPE_JORMUNGAR ,
  TYPE_DREADSCALE ,
  TYPE_ACIDMAW ,
  TYPE_ICEHOWL ,
  TYPE_JARAXXUS ,
  TYPE_FACTION_CHAMPIONS ,
  TYPE_FACTION_CHAMPIONS_PLAYER_DIED ,
  TYPE_VALKYR ,
  TYPE_ANUBARAK ,
  TYPE_FACTION_CHAMPIONS_START ,
  TYPE_NORTHREND_BEASTS_ALL ,
  DATA_GARFROST ,
  DATA_ICK ,
  DATA_TYRANNUS ,
  MAX_ENCOUNTER ,
  DATA_INSTANCE_PROGRESS ,
  DATA_TEAMID_IN_INSTANCE ,
  DATA_TYRANNUS_EVENT_GUID ,
  DATA_NECROLYTE_1_GUID ,
  DATA_NECROLYTE_2_GUID ,
  DATA_GUARD_1_GUID ,
  DATA_GUARD_2_GUID ,
  DATA_LEADER_FIRST_GUID ,
  DATA_GARFROST_GUID ,
  DATA_MARTIN_OR_GORKUN_GUID ,
  DATA_RIMEFANG_GUID ,
  DATA_TYRANNUS_GUID ,
  DATA_LEADER_SECOND_GUID ,
  DATA_SINDRAGOSA_GUID ,
  DATA_ACHIEV_ELEVEN ,
  DATA_ACHIEV_DONT_LOOK_UP ,
  DATA_START_INTRO ,
  DATA_LORD_MARROWGAR = 0 ,
  DATA_LADY_DEATHWHISPER = 1 ,
  DATA_ICECROWN_GUNSHIP_BATTLE = 2 ,
  DATA_DEATHBRINGER_SAURFANG = 3 ,
  DATA_FESTERGUT = 4 ,
  DATA_ROTFACE = 5 ,
  DATA_PROFESSOR_PUTRICIDE = 6 ,
  DATA_BLOOD_PRINCE_COUNCIL = 7 ,
  DATA_BLOOD_QUEEN_LANA_THEL = 8 ,
  DATA_SISTER_SVALNA = 9 ,
  DATA_VALITHRIA_DREAMWALKER = 10 ,
  DATA_SINDRAGOSA = 11 ,
  DATA_THE_LICH_KING = 12 ,
  DATA_SINDRAGOSA_GAUNTLET = 13 ,
  DATA_BLOOD_PRINCE_TRASH = 14 ,
  MAX_ENCOUNTERS = 15 ,
  DATA_SAURFANG_EVENT_NPC = 13 ,
  DATA_BONED_ACHIEVEMENT = 14 ,
  DATA_OOZE_DANCE_ACHIEVEMENT = 15 ,
  DATA_PUTRICIDE_TABLE = 16 ,
  DATA_NAUSEA_ACHIEVEMENT = 17 ,
  DATA_ORB_WHISPERER_ACHIEVEMENT = 18 ,
  DATA_PRINCE_KELESETH_GUID = 19 ,
  DATA_PRINCE_TALDARAM_GUID = 20 ,
  DATA_PRINCE_VALANAR_GUID = 21 ,
  DATA_BLOOD_PRINCES_CONTROL = 22 ,
  DATA_SINDRAGOSA_FROSTWYRMS = 23 ,
  DATA_SPINESTALKER = 24 ,
  DATA_RIMEFANG = 25 ,
  DATA_COLDFLAME_JETS = 26 ,
  DATA_TEAMID_IN_INSTANCE = 27 ,
  DATA_BLOOD_QUICKENING_STATE = 28 ,
  DATA_HEROIC_ATTEMPTS = 29 ,
  DATA_CROK_SCOURGEBANE = 30 ,
  DATA_CAPTAIN_ARNATH = 31 ,
  DATA_CAPTAIN_BRANDON = 32 ,
  DATA_CAPTAIN_GRONDEL = 33 ,
  DATA_CAPTAIN_RUPERT = 34 ,
  DATA_VALITHRIA_TRIGGER = 35 ,
  DATA_VALITHRIA_LICH_KING = 36 ,
  DATA_HIGHLORD_TIRION_FORDRING = 37 ,
  DATA_ARTHAS_PLATFORM = 38 ,
  DATA_TERENAS_MENETHIL = 39 ,
  DATA_ENEMY_GUNSHIP = 40 ,
  DATA_BUFF_AVAILABLE = 251 ,
  DATA_WEEKLY_QUEST_ID = 252 ,
  DATA_PUTRICIDE_TRAP_STATE = 254 ,
  DATA_HAS_LIMITED_ATTEMPTS = 255 ,
  DATA_LK_HC_AVAILABLE = 256 ,
  DATA_SINDRAGOSA_INTRO = 257 ,
  DATA_BPC_TRASH_DIED = 300 ,
  DATA_HIGH_WARLORD_NAJENTUS = 0 ,
  DATA_SUPREMUS = 1 ,
  DATA_SHADE_OF_AKAMA = 2 ,
  DATA_TERON_GOREFIEND = 3 ,
  DATA_GURTOGG_BLOODBOIL = 4 ,
  DATA_RELIQUARY_OF_SOULS = 5 ,
  DATA_MOTHER_SHAHRAZ = 6 ,
  DATA_ILLIDARI_COUNCIL = 7 ,
  DATA_AKAMA_FINISHED = 8 ,
  DATA_ILLIDAN_STORMRAGE = 9 ,
  MAX_ENCOUNTERS = 10 ,
  DATA_HYDROSS_THE_UNSTABLE = 0 ,
  DATA_THE_LURKER_BELOW = 1 ,
  DATA_LEOTHERAS_THE_BLIND = 2 ,
  DATA_FATHOM_LORD_KARATHRESS = 3 ,
  DATA_MOROGRIM_TIDEWALKER = 4 ,
  DATA_BRIDGE_EMERGED = 5 ,
  DATA_LADY_VASHJ = 6 ,
  MAX_ENCOUNTERS = 7 ,
  DATA_PLATFORM_KEEPER_RESPAWNED = 20 ,
  DATA_PLATFORM_KEEPER_DIED = 21 ,
  DATA_ALIVE_KEEPERS = 22 ,
  DATA_BRIDGE_ACTIVATED = 23 ,
  DATA_ACTIVATE_SHIELD = 24 ,
  DATA_MAULGAR = 0 ,
  DATA_GRUUL = 1 ,
  MAX_ENCOUNTER = 2 ,
  DATA_ADDS_KILLED = 10 ,
  MAX_ADD_NUMBER = 4 ,
  DATA_WATCHKEEPER_GARGOLMAR = 0 ,
  DATA_OMOR_THE_UNSCARRED = 1 ,
  DATA_VAZRUDEN = 2 ,
  MAX_ENCOUNTERS = 3 ,
  TYPE_MAGTHERIDON = 0 ,
  MAX_ENCOUNTER = 1 ,
  DATA_CHANNELER_COMBAT = 10 ,
  DATA_ACTIVATE_CUBES = 11 ,
  DATA_COLLAPSE = 12 ,
  DATA_NETHEKURSE = 0 ,
  DATA_OMROGG = 1 ,
  DATA_KARGATH = 2 ,
  ENCOUNTER_COUNT = 3 ,
  DATA_ENTERED_ROOM = 10 ,
  DATA_PRISONER_1 = 11 ,
  DATA_PRISONER_2 = 12 ,
  DATA_PRISONER_3 = 13 ,
  DATA_EXECUTIONER = 14 ,
  DATA_ZEREKETH = 0 ,
  DATA_DALLIAH = 1 ,
  DATA_SOCCOTHRATES = 2 ,
  DATA_WARDEN_MELLICHAR = 3 ,
  MAX_ENCOUTER = 4 ,
  DATA_WARDEN_1 = 5 ,
  DATA_WARDEN_2 = 6 ,
  DATA_WARDEN_3 = 7 ,
  DATA_WARDEN_4 = 8 ,
  DATA_WARDEN_5 = 9 ,
  DATA_WARDENS_SHIELD = 10 ,
  DATA_COMMANDER_SARANNIS = 0 ,
  DATA_HIGH_BOTANIST_FREYWINN = 1 ,
  DATA_THORNGRIN_THE_TENDER = 2 ,
  DATA_LAJ = 3 ,
  DATA_WARP_SPLINTER = 4 ,
  MAX_ENCOUNTER = 5 ,
  DATA_GATEWATCHER_GYROKILL = 0 ,
  DATA_GATEWATCHER_IRON_HAND = 1 ,
  DATA_MECHANOLORD_CAPACITUS = 2 ,
  DATA_NETHERMANCER_SEPRETHREA = 3 ,
  DATA_PATHALEON_THE_CALCULATOR = 4 ,
  MAX_ENCOUNTER = 5
}
 
enum  NpcIds {
  NPC_STONE_KEEPER = 4857 ,
  NPC_ARCHAEDAS = 2748 ,
  NPC_EROZION = 18723 ,
  NPC_THRALL = 17876 ,
  NPC_TARETHA = 18887 ,
  NPC_EPOCH_HUNTER = 18096 ,
  NPC_LIEUTENANT_DRAKE = 17848 ,
  NPC_LODGE_QUEST_TRIGGER = 20155 ,
  NPC_ORC_PRISONER = 18598 ,
  NPC_DURNHOLDE_ARMORER = 18764 ,
  NPC_DURNHOLDE_WARDEN = 17833 ,
  NPC_DURNHOLDE_VETERAN = 17860 ,
  NPC_DURNHOLDE_MAGE = 18934 ,
  NPC_DURNHOLDE_SENTRY = 17819 ,
  NPC_CAPTAIN_SKARLOC = 17862 ,
  NPC_SKARLOC_MOUNT = 18798 ,
  NPC_IMMOL_THAR = 11496 ,
  NPC_HIGHBORNE_SUMMONER = 11466 ,
  NPC_MAGTHERIDON = 17257 ,
  NPC_HELLFIRE_CHANNELER = 17256 ,
  NPC_HELLFIRE_WARDER = 18829 ,
  NPC_SUNSEEKER_ASTROMAGE = 19168 ,
  NPC_SUNSEEKER_ENGINEER = 20988 ,
  NPC_BLOODWARDER_CENTURION = 19510 ,
  NPC_BLOODWARDER_PHYSICIAN = 20990 ,
  NPC_TEMPEST_KEEPER_DESTROYER = 19735 ,
  NPC_PATHALEON_THE_CALCULATOR = 19220
}
 
enum  GameobjectIds {
  GO_BRAZIER_KIRTONOS = 175564 ,
  GO_GATE_KIRTONOS = 175570 ,
  GO_DOOR_OPENED_WITH_KEY = 175167 ,
  GO_GATE_GANDLING_ENTRANCE = 177374 ,
  GO_GATE_GANDLING_DOWN_NORTH = 177371 ,
  GO_GATE_GANDLING_DOWN_EAST = 177373 ,
  GO_GATE_GANDLING_DOWN_SOUTH = 177372 ,
  GO_GATE_GANDLING_UP_NORTH = 177376 ,
  GO_GATE_GANDLING_UP_EAST = 177377 ,
  GO_GATE_GANDLING_UP_SOUTH = 177375 ,
  GO_CRUSADER_SQUARE_DOOR = 175967 ,
  GO_HOARD_DOOR = 175968 ,
  GO_HALL_OF_HIGH_COMMAND = 176194 ,
  GO_GAUNTLET_DOOR_1 = 175357 ,
  GO_GAUNTLET_DOOR_2 = 175356 ,
  GO_ZIGGURAT_DOORS1 = 175380 ,
  GO_ZIGGURAT_DOORS2 = 175379 ,
  GO_ZIGGURAT_DOORS3 = 175381 ,
  GO_ZIGGURAT_DOORS4 = 175405 ,
  GO_ZIGGURAT_DOORS5 = 175796 ,
  GO_GAUNTLET_GATE = 175374 ,
  GO_SLAUGTHER_GATE = 175373 ,
  GO_SLAUGHTER_GATE_SIDE = 175358 ,
  GO_EXIT_GATE = 176424 ,
  GO_PORT_TRAP_GATE_1 = 175351 ,
  GO_PORT_TRAP_GATE_2 = 175350 ,
  GO_PORT_TRAP_GATE_3 = 175355 ,
  GO_PORT_TRAP_GATE_4 = 175354 ,
  GO_JARIEN_AND_SOTHOS_HEIRLOOMS = 181083 ,
  GO_DOOR_HALAZZI = 186303 ,
  GO_GATE_ZULJIN = 186304 ,
  GO_GATE_HEXLORD = 186305 ,
  GO_MASSIVE_GATE = 186728 ,
  GO_DOOR_AKILZON = 186858 ,
  GO_DOOR_ZULJIN = 186859 ,
  GO_HARKORS_SATCHEL = 187021 ,
  GO_TANZARS_TRUNK = 186648 ,
  GO_ASHLIS_BAG = 186672 ,
  GO_KRAZS_PACKAGE = 186667 ,
  GO_STRANGE_GONG = 187359 ,
  GO_FORCEFIELD = 180497 ,
  GO_GONG_OF_BETHEKK = 180526 ,
  GO_HORDE_ENCAMPMENT_PORTAL = 182060 ,
  GO_NIGHT_ELF_VILLAGE_PORTAL = 182061 ,
  GO_ANCIENT_GEM = 185557 ,
  GO_ANCIENT_VEIN = 185557 ,
  GO_ROARING_FLAME = 182592 ,
  GO_FEL_IRON_CHEST_NORMAL = 185168 ,
  GO_FEL_IRON_CHECT_HEROIC = 185169 ,
  GO_GRAND_WARLOCK_CHAMBER_DOOR_1 = 182539 ,
  GO_GRAND_WARLOCK_CHAMBER_DOOR_2 = 182540 ,
  GO_DOOR_MOARG_1 = 184632 ,
  GO_DOOR_MOARG_2 = 184322 ,
  GO_DOOR_NETHERMANCER = 184449
}
 
enum  SpellIds {
  HEX_OF_JAMMAL_AN = 12480 ,
  HEX_OF_JAMMAL_AN_CHARM = 12483 ,
  SPELL_SUNWELL_RADIANCE = 45769 ,
  SPELL_HAKKAR_POWER = 24692 ,
  SPELL_HAKKAR_POWER_DOWN = 24693 ,
  SPELL_TELEPORT_VISUAL = 41232 ,
  SPELL_MASS_TELEPORT = 16807 ,
  SPELL_BRILLIANCE_AURA = 31260 ,
  SPELL_BLIZZARD = 31266 ,
  SPELL_PYROBLAST = 31263 ,
  SPELL_SUMMON_ELEMENTALS = 31264 ,
  SPELL_CHAIN_LIGHTNING = 31330 ,
  SPELL_SUMMON_DIRE_WOLF = 31331 ,
  SPELL_KARGATHS_EXECUTIONER_1 = 39288 ,
  SPELL_KARGATHS_EXECUTIONER_2 = 39289 ,
  SPELL_KARGATHS_EXECUTIONER_3 = 39290 ,
  SPELL_TELEPORT_VISUAL = 35517 ,
  SPELL_SOUL_STEAL = 36782 ,
  SPELL_ARCANE_FORM = 34204 ,
  SPELL_FIRE_FORM = 34203 ,
  SPELL_FROST_FORM = 34202 ,
  SPELL_SHADOW_FORM = 34205 ,
  SPELL_TELEPORT_VISUAL = 34427
}
 
enum  DataIndex {
  DATA_BRIDGE_MOB_DEATH_COUNT ,
  MAX_DATA_INDEXES
}
 

Functions

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

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "MR"

◆ MechanarScriptName

#define MechanarScriptName   "instance_mechanar"

◆ RegisterMechanarCreatureAI

#define RegisterMechanarCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetMechanarAI)

Enumeration Type Documentation

◆ DataIndex

enum DataIndex
Enumerator
DATA_BRIDGE_MOB_DEATH_COUNT 
MAX_DATA_INDEXES 
65{
68};
@ MAX_DATA_INDEXES
Definition: mechanar.h:67
@ DATA_BRIDGE_MOB_DEATH_COUNT
Definition: mechanar.h:66

◆ DataTypes

enum DataTypes
Enumerator
TYPE_RING_OF_LAW 
TYPE_VAULT 
TYPE_BAR 
TYPE_TOMB_OF_SEVEN 
TYPE_LYCEUM 
TYPE_IRON_HALL 
DATA_EMPEROR 
DATA_PHALANX 
DATA_ARENA1 
DATA_ARENA2 
DATA_ARENA3 
DATA_ARENA4 
DATA_GO_BAR_KEG 
DATA_GO_BAR_KEG_TRAP 
DATA_GO_BAR_DOOR 
DATA_GO_CHALICE 
DATA_GOLEM_DOOR_N 
DATA_GOLEM_DOOR_S 
DATA_THRONE_DOOR 
DATA_SF_BRAZIER_N 
DATA_SF_BRAZIER_S 
DATA_MOIRA 
DATA_PRIESTESS 
DATA_OPEN_COFFER_DOORS 
DATA_GOLEM_LORD_ARGELMACH_INIT 
DATA_GOLEM_LORD_ARGELMACH_ADDS 
DATA_MAGMUS 
DATA_COREN 
DATA_ANUBSHIAH 
DATA_EVISCERATOR 
DATA_GOROSH 
DATA_GRIZZLE 
DATA_HEDRUM 
DATA_OKTHOR 
DATA_TIME_RING_FAIL 
DATA_ARENA_MOBS 
DATA_ARENA_BOSS 
DATA_HIGHLORD_OMOKK 
DATA_SHADOW_HUNTER_VOSHGAJIN 
DATA_WARMASTER_VOONE 
DATA_MOTHER_SMOLDERWEB 
DATA_UROK_DOOMHOWL 
DATA_QUARTERMASTER_ZIGRIS 
DATA_GIZRUL_THE_SLAVENER 
DATA_HALYCON 
DATA_OVERLORD_WYRMTHALAK 
DATA_PYROGAURD_EMBERSEER 
DATA_WARCHIEF_REND_BLACKHAND 
DATA_GYTH 
DATA_THE_BEAST 
DATA_GENERAL_DRAKKISATH 
DATA_LORD_VALTHALAK 
DATA_DRAGONSPIRE_ROOM 
DATA_HALL_RUNE_1 
DATA_HALL_RUNE_2 
DATA_HALL_RUNE_3 
DATA_HALL_RUNE_4 
DATA_HALL_RUNE_5 
DATA_HALL_RUNE_6 
DATA_HALL_RUNE_7 
DATA_SOLAKAR_FLAMEWREATH 
DATA_MOR_GRAYHOOF 
DATA_VAELASTRASZ 
TYPE_RHAHK_ZOR 
TYPE_CANNON 
MAX_ENCOUNTERS 
TYPE_GRUBBIS 
MAX_ENCOUNTERS 
TYPE_MOGRAINE_AND_WHITE_EVENT 
DATA_MOGRAINE 
DATA_WHITEMANE 
DATA_DOOR_WHITEMANE 
DATA_HORSEMAN_EVENT 
GAMEOBJECT_PUMPKIN_SHRINE 
DATA_VORREL 
DATA_ARCANIST_DOAN 
DATA_KIRTONOS_THE_HERALD 
DATA_MINI_BOSSES 
DATA_RAS_HUMAN 
DATA_DARKMASTER_GANDLING 
TYPE_COURTYARD 
TYPE_FENRUS_THE_DEVOURER 
TYPE_WOLF_MASTER_NANDOS 
MAX_ENCOUNTERS 
DATA_APOTHECARY_HUMMEL 
DATA_SPAWN_VALENTINE_ADDS 
TYPE_BARON_RUN 
TYPE_ZIGGURAT1 
TYPE_ZIGGURAT2 
TYPE_ZIGGURAT3 
TYPE_BARON_FIGHT 
TYPE_MALLOW 
DATA_BARON_RUN_NONE 
DATA_BARON_RUN_GATE 
DATA_JARIEN 
DATA_SOTHOS 
DATA_STATUES 
DATA_DEFENDER_KILLED 
DATA_ERANIKUS_FIGHT 
MAX_STATUE_PHASE 
DEFENDERS_COUNT 
TYPE_ATAL_ALARION 
TYPE_JAMMAL_AN 
TYPE_HAKKAR_EVENT 
MAX_ENCOUNTERS 
DATA_KALECGOS 
DATA_MADRIGOSA 
DATA_BRUTALLUS 
DATA_FELMYST 
DATA_FELMYST_DOORS 
DATA_EREDAR_TWINS_INTRO 
DATA_EREDAR_TWINS 
DATA_MURU 
DATA_KILJAEDEN 
MAX_ENCOUNTERS 
DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_1 
DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_2 
DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_3 
DATA_ORB_OF_THE_BLUE_DRAGONFLIGHT_4 
DATA_IRONAYA_DOORS 
DATA_STONE_KEEPERS 
DATA_ARCHAEDAS 
MAX_ENCOUNTERS 
DATA_GONGEVENT 
DATA_NALORAKKEVENT 
DATA_AKILZONEVENT 
DATA_JANALAIEVENT 
DATA_HALAZZIEVENT 
DATA_HEXLORDEVENT 
DATA_ZULJINEVENT 
DATA_CHESTLOOTED 
TYPE_RAND_VENDOR_1 
TYPE_RAND_VENDOR_2 
DATA_JEKLIK 
DATA_VENOXIS 
DATA_MARLI 
DATA_ARLOKK 
DATA_THEKAL 
DATA_HAKKAR 
DATA_MANDOKIR 
DATA_JINDO 
DATA_GAHZRANKA 
DATA_EDGE_OF_MADNESS 
DATA_LORKHAN 
DATA_ZATH 
DATA_OHGAN 
TYPE_EDGE_OF_MADNESS 
DATA_ANETHERON 
DATA_ANETHERONEVENT 
DATA_ARCHIMONDE 
DATA_ARCHIMONDEEVENT 
DATA_AZGALOR 
DATA_AZGALOREVENT 
DATA_JAINAPROUDMOORE 
DATA_KAZROGAL 
DATA_KAZROGALEVENT 
DATA_RAGEWINTERCHILL 
DATA_RAGEWINTERCHILLEVENT 
DATA_THRALL 
DATA_TYRANDEWHISPERWIND 
DATA_TRASH 
DATA_RESET_TRASH_COUNT 
DATA_ALLIANCE_RETREAT 
DATA_HORDE_RETREAT 
DATA_RAIDDAMAGE 
DATA_RESET_RAIDDAMAGE 
TYPE_RETREAT 
DATA_CHRONO_LORD_DEJA 
DATA_TEMPORUS 
DATA_AEONUS 
MAX_ENCOUNTER 
DATA_MEDIVH 
DATA_RIFT_KILLED 
DATA_DAMAGE_SHIELD 
DATA_SHIELD_PERCENT 
DATA_RIFT_NUMBER 
DATA_SUMMONED_NPC 
DATA_DELETED_NPC 
TYPE_EAST_WING_PROGRESS 
TYPE_WEST_WING_PROGRESS 
TYPE_PYLONS_STATE 
TYPE_NORTH_WING_PROGRESS 
TYPE_NORTH_WING_BOSSES 
DATA_ISALIEN 
ALL_PYLONS_OFF 
TYPE_NOXXION 
MAX_ENCOUNTERS 
DATA_KURINNAXX 
DATA_RAJAXX 
DATA_MOAM 
DATA_BURU 
DATA_AYAMISS 
DATA_OSSIRIAN 
NUM_ENCOUNTER 
DATA_PARALYZED 
DATA_QUUEZ 
DATA_TUUBID 
DATA_DRENN 
DATA_XURREM 
DATA_YEGGETH 
DATA_PAKKON 
DATA_ZERRAN 
DATA_ANDOROV 
DATA_BURU_PHASE 
DATA_ENGAGED_FORMATION 
DATA_SKERAM 
DATA_BUG_TRIO 
DATA_SARTURA 
DATA_FANKRISS 
DATA_VISCIDUS 
DATA_HUHURAN 
DATA_TWIN_EMPERORS 
DATA_OURO 
DATA_CTHUN 
MAX_BOSS_NUMBER 
DATA_KRI 
DATA_VEM 
DATA_YAUJ 
DATA_BUG_TRIO_DEATH 
DATA_OURO_SPAWNER 
DATA_VEKLOR 
DATA_VEKNILASH 
DATA_EYE_OF_CTHUN 
DATA_MASTERS_EYE 
TYPE_LORD_COBRAHN 
TYPE_LORD_PYTHAS 
TYPE_LADY_ANACONDRA 
TYPE_LORD_SERPENTIS 
TYPE_MUTANUS 
MAX_ENCOUNTERS 
NPC_DISCIPLE_OF_NARALEX 
NPC_LORD_SERPENTIS 
SAY_DISCIPLE 
SAY_SERPENTIS 
DATA_BALTHARUS_THE_WARBORN 
DATA_GENERAL_ZARITHRIAN 
DATA_SAVIANA_RAGEFIRE 
DATA_HALION_INTRO1 
DATA_HALION_INTRO2 
DATA_HALION_INTRO_DONE 
DATA_HALION 
MAX_ENCOUNTERS 
DATA_ZARITHRIAN_SPAWN_STALKER_1 
DATA_ZARITHRIAN_SPAWN_STALKER_2 
TYPE_NONE 
TYPE_INSTANCE_PROGRESS 
TYPE_ANNOUNCER_GOSSIP_SELECT 
TYPE_FAILED 
TYPE_GORMOK 
TYPE_JORMUNGAR 
TYPE_DREADSCALE 
TYPE_ACIDMAW 
TYPE_ICEHOWL 
TYPE_JARAXXUS 
TYPE_FACTION_CHAMPIONS 
TYPE_FACTION_CHAMPIONS_PLAYER_DIED 
TYPE_VALKYR 
TYPE_ANUBARAK 
TYPE_FACTION_CHAMPIONS_START 
TYPE_NORTHREND_BEASTS_ALL 
DATA_GARFROST 
DATA_ICK 
DATA_TYRANNUS 
MAX_ENCOUNTER 
DATA_INSTANCE_PROGRESS 
DATA_TEAMID_IN_INSTANCE 
DATA_TYRANNUS_EVENT_GUID 
DATA_NECROLYTE_1_GUID 
DATA_NECROLYTE_2_GUID 
DATA_GUARD_1_GUID 
DATA_GUARD_2_GUID 
DATA_LEADER_FIRST_GUID 
DATA_GARFROST_GUID 
DATA_MARTIN_OR_GORKUN_GUID 
DATA_RIMEFANG_GUID 
DATA_TYRANNUS_GUID 
DATA_LEADER_SECOND_GUID 
DATA_SINDRAGOSA_GUID 
DATA_ACHIEV_ELEVEN 
DATA_ACHIEV_DONT_LOOK_UP 
DATA_START_INTRO 
DATA_LORD_MARROWGAR 
DATA_LADY_DEATHWHISPER 
DATA_ICECROWN_GUNSHIP_BATTLE 
DATA_DEATHBRINGER_SAURFANG 
DATA_FESTERGUT 
DATA_ROTFACE 
DATA_PROFESSOR_PUTRICIDE 
DATA_BLOOD_PRINCE_COUNCIL 
DATA_BLOOD_QUEEN_LANA_THEL 
DATA_SISTER_SVALNA 
DATA_VALITHRIA_DREAMWALKER 
DATA_SINDRAGOSA 
DATA_THE_LICH_KING 
DATA_SINDRAGOSA_GAUNTLET 
DATA_BLOOD_PRINCE_TRASH 
MAX_ENCOUNTERS 
DATA_SAURFANG_EVENT_NPC 
DATA_BONED_ACHIEVEMENT 
DATA_OOZE_DANCE_ACHIEVEMENT 
DATA_PUTRICIDE_TABLE 
DATA_NAUSEA_ACHIEVEMENT 
DATA_ORB_WHISPERER_ACHIEVEMENT 
DATA_PRINCE_KELESETH_GUID 
DATA_PRINCE_TALDARAM_GUID 
DATA_PRINCE_VALANAR_GUID 
DATA_BLOOD_PRINCES_CONTROL 
DATA_SINDRAGOSA_FROSTWYRMS 
DATA_SPINESTALKER 
DATA_RIMEFANG 
DATA_COLDFLAME_JETS 
DATA_TEAMID_IN_INSTANCE 
DATA_BLOOD_QUICKENING_STATE 
DATA_HEROIC_ATTEMPTS 
DATA_CROK_SCOURGEBANE 
DATA_CAPTAIN_ARNATH 
DATA_CAPTAIN_BRANDON 
DATA_CAPTAIN_GRONDEL 
DATA_CAPTAIN_RUPERT 
DATA_VALITHRIA_TRIGGER 
DATA_VALITHRIA_LICH_KING 
DATA_HIGHLORD_TIRION_FORDRING 
DATA_ARTHAS_PLATFORM 
DATA_TERENAS_MENETHIL 
DATA_ENEMY_GUNSHIP 
DATA_BUFF_AVAILABLE 
DATA_WEEKLY_QUEST_ID 
DATA_PUTRICIDE_TRAP_STATE 
DATA_HAS_LIMITED_ATTEMPTS 
DATA_LK_HC_AVAILABLE 
DATA_SINDRAGOSA_INTRO 
DATA_BPC_TRASH_DIED 
DATA_HIGH_WARLORD_NAJENTUS 
DATA_SUPREMUS 
DATA_SHADE_OF_AKAMA 
DATA_TERON_GOREFIEND 
DATA_GURTOGG_BLOODBOIL 
DATA_RELIQUARY_OF_SOULS 
DATA_MOTHER_SHAHRAZ 
DATA_ILLIDARI_COUNCIL 
DATA_AKAMA_FINISHED 
DATA_ILLIDAN_STORMRAGE 
MAX_ENCOUNTERS 
DATA_HYDROSS_THE_UNSTABLE 
DATA_THE_LURKER_BELOW 
DATA_LEOTHERAS_THE_BLIND 
DATA_FATHOM_LORD_KARATHRESS 
DATA_MOROGRIM_TIDEWALKER 
DATA_BRIDGE_EMERGED 
DATA_LADY_VASHJ 
MAX_ENCOUNTERS 
DATA_PLATFORM_KEEPER_RESPAWNED 
DATA_PLATFORM_KEEPER_DIED 
DATA_ALIVE_KEEPERS 
DATA_BRIDGE_ACTIVATED 
DATA_ACTIVATE_SHIELD 
DATA_MAULGAR 
DATA_GRUUL 
MAX_ENCOUNTER 
DATA_ADDS_KILLED 
MAX_ADD_NUMBER 
DATA_WATCHKEEPER_GARGOLMAR 
DATA_OMOR_THE_UNSCARRED 
DATA_VAZRUDEN 
MAX_ENCOUNTERS 
TYPE_MAGTHERIDON 
MAX_ENCOUNTER 
DATA_CHANNELER_COMBAT 
DATA_ACTIVATE_CUBES 
DATA_COLLAPSE 
DATA_NETHEKURSE 
DATA_OMROGG 
DATA_KARGATH 
ENCOUNTER_COUNT 
DATA_ENTERED_ROOM 
DATA_PRISONER_1 
DATA_PRISONER_2 
DATA_PRISONER_3 
DATA_EXECUTIONER 
DATA_ZEREKETH 
DATA_DALLIAH 
DATA_SOCCOTHRATES 
DATA_WARDEN_MELLICHAR 
MAX_ENCOUTER 
DATA_WARDEN_1 
DATA_WARDEN_2 
DATA_WARDEN_3 
DATA_WARDEN_4 
DATA_WARDEN_5 
DATA_WARDENS_SHIELD 
DATA_COMMANDER_SARANNIS 
DATA_HIGH_BOTANIST_FREYWINN 
DATA_THORNGRIN_THE_TENDER 
DATA_LAJ 
DATA_WARP_SPLINTER 
MAX_ENCOUNTER 
DATA_GATEWATCHER_GYROKILL 
DATA_GATEWATCHER_IRON_HAND 
DATA_MECHANOLORD_CAPACITUS 
DATA_NETHERMANCER_SEPRETHREA 
DATA_PATHALEON_THE_CALCULATOR 
MAX_ENCOUNTER 
32{
38 MAX_ENCOUNTER = 5,
39};
@ DATA_NETHERMANCER_SEPRETHREA
Definition: mechanar.h:36
@ DATA_MECHANOLORD_CAPACITUS
Definition: mechanar.h:35
@ MAX_ENCOUNTER
Definition: mechanar.h:38
@ DATA_PATHALEON_THE_CALCULATOR
Definition: mechanar.h:37
@ DATA_GATEWATCHER_IRON_HAND
Definition: mechanar.h:34
@ DATA_GATEWATCHER_GYROKILL
Definition: mechanar.h:33

◆ GameobjectIds

Enumerator
GO_BRAZIER_KIRTONOS 
GO_GATE_KIRTONOS 
GO_DOOR_OPENED_WITH_KEY 
GO_GATE_GANDLING_ENTRANCE 
GO_GATE_GANDLING_DOWN_NORTH 
GO_GATE_GANDLING_DOWN_EAST 
GO_GATE_GANDLING_DOWN_SOUTH 
GO_GATE_GANDLING_UP_NORTH 
GO_GATE_GANDLING_UP_EAST 
GO_GATE_GANDLING_UP_SOUTH 
GO_CRUSADER_SQUARE_DOOR 
GO_HOARD_DOOR 
GO_HALL_OF_HIGH_COMMAND 
GO_GAUNTLET_DOOR_1 
GO_GAUNTLET_DOOR_2 
GO_ZIGGURAT_DOORS1 
GO_ZIGGURAT_DOORS2 
GO_ZIGGURAT_DOORS3 
GO_ZIGGURAT_DOORS4 
GO_ZIGGURAT_DOORS5 
GO_GAUNTLET_GATE 
GO_SLAUGTHER_GATE 
GO_SLAUGHTER_GATE_SIDE 
GO_EXIT_GATE 
GO_PORT_TRAP_GATE_1 
GO_PORT_TRAP_GATE_2 
GO_PORT_TRAP_GATE_3 
GO_PORT_TRAP_GATE_4 
GO_JARIEN_AND_SOTHOS_HEIRLOOMS 
GO_DOOR_HALAZZI 
GO_GATE_ZULJIN 
GO_GATE_HEXLORD 
GO_MASSIVE_GATE 
GO_DOOR_AKILZON 
GO_DOOR_ZULJIN 
GO_HARKORS_SATCHEL 
GO_TANZARS_TRUNK 
GO_ASHLIS_BAG 
GO_KRAZS_PACKAGE 
GO_STRANGE_GONG 
GO_FORCEFIELD 
GO_GONG_OF_BETHEKK 
GO_HORDE_ENCAMPMENT_PORTAL 
GO_NIGHT_ELF_VILLAGE_PORTAL 
GO_ANCIENT_GEM 
GO_ANCIENT_VEIN 
GO_ROARING_FLAME 
GO_FEL_IRON_CHEST_NORMAL 
GO_FEL_IRON_CHECT_HEROIC 
GO_GRAND_WARLOCK_CHAMBER_DOOR_1 
GO_GRAND_WARLOCK_CHAMBER_DOOR_2 
GO_DOOR_MOARG_1 
GO_DOOR_MOARG_2 
GO_DOOR_NETHERMANCER 
53{
54 GO_DOOR_MOARG_1 = 184632,
55 GO_DOOR_MOARG_2 = 184322,
57};
@ GO_DOOR_MOARG_1
Definition: mechanar.h:54
@ GO_DOOR_MOARG_2
Definition: mechanar.h:55
@ GO_DOOR_NETHERMANCER
Definition: mechanar.h:56

◆ NpcIds

enum NpcIds
Enumerator
NPC_STONE_KEEPER 
NPC_ARCHAEDAS 
NPC_EROZION 
NPC_THRALL 
NPC_TARETHA 
NPC_EPOCH_HUNTER 
NPC_LIEUTENANT_DRAKE 
NPC_LODGE_QUEST_TRIGGER 
NPC_ORC_PRISONER 
NPC_DURNHOLDE_ARMORER 
NPC_DURNHOLDE_WARDEN 
NPC_DURNHOLDE_VETERAN 
NPC_DURNHOLDE_MAGE 
NPC_DURNHOLDE_SENTRY 
NPC_CAPTAIN_SKARLOC 
NPC_SKARLOC_MOUNT 
NPC_IMMOL_THAR 
NPC_HIGHBORNE_SUMMONER 
NPC_MAGTHERIDON 
NPC_HELLFIRE_CHANNELER 
NPC_HELLFIRE_WARDER 
NPC_SUNSEEKER_ASTROMAGE 
NPC_SUNSEEKER_ENGINEER 
NPC_BLOODWARDER_CENTURION 
NPC_BLOODWARDER_PHYSICIAN 
NPC_TEMPEST_KEEPER_DESTROYER 
NPC_PATHALEON_THE_CALCULATOR 
42{
48
50};
@ NPC_BLOODWARDER_PHYSICIAN
Definition: mechanar.h:46
@ NPC_BLOODWARDER_CENTURION
Definition: mechanar.h:45
@ NPC_PATHALEON_THE_CALCULATOR
Definition: mechanar.h:49
@ NPC_SUNSEEKER_ENGINEER
Definition: mechanar.h:44
@ NPC_SUNSEEKER_ASTROMAGE
Definition: mechanar.h:43
@ NPC_TEMPEST_KEEPER_DESTROYER
Definition: mechanar.h:47

◆ SpellIds

enum SpellIds
Enumerator
HEX_OF_JAMMAL_AN 
HEX_OF_JAMMAL_AN_CHARM 
SPELL_SUNWELL_RADIANCE 
SPELL_HAKKAR_POWER 
SPELL_HAKKAR_POWER_DOWN 
SPELL_TELEPORT_VISUAL 
SPELL_MASS_TELEPORT 
SPELL_BRILLIANCE_AURA 
SPELL_BLIZZARD 
SPELL_PYROBLAST 
SPELL_SUMMON_ELEMENTALS 
SPELL_CHAIN_LIGHTNING 
SPELL_SUMMON_DIRE_WOLF 
SPELL_KARGATHS_EXECUTIONER_1 
SPELL_KARGATHS_EXECUTIONER_2 
SPELL_KARGATHS_EXECUTIONER_3 
SPELL_TELEPORT_VISUAL 
SPELL_SOUL_STEAL 
SPELL_ARCANE_FORM 
SPELL_FIRE_FORM 
SPELL_FROST_FORM 
SPELL_SHADOW_FORM 
SPELL_TELEPORT_VISUAL 
60{
62};
@ SPELL_TELEPORT_VISUAL
Definition: mechanar.h:61

Function Documentation

◆ GetMechanarAI()

template<class AI , class T >
AI * GetMechanarAI ( T *  obj)
inline
72{
73 return GetInstanceAI<AI>(obj, MechanarScriptName);
74}
#define MechanarScriptName
Definition: mechanar.h:29

References MechanarScriptName.