TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
pet_mage.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "CombatAI.h"
#include "Pet.h"
#include "PetAI.h"
#include "Cell.h"
#include "CellImpl.h"
#include "GridNotifiers.h"
+ Include dependency graph for pet_mage.cpp:

Classes

class  npc_pet_mage_mirror_image
 
struct  npc_pet_mage_mirror_image::npc_pet_mage_mirror_imageAI
 

Enumerations

enum  MageSpells {
  SPELL_POLYMORPH = 13323, SPELL_ICE_BLOCK = 27619, SPELL_BLIZZARD = 44178, SPELL_ICE_LANCE = 46194,
  SPELL_CONE_OF_COLD = 38384, SPELL_FROSTBOLT = 15043, SPELL_BLINK = 14514, SPELL_MAGE_CLONE_ME = 45204,
  SPELL_MAGE_MASTERS_THREAT_LIST = 58838, SPELL_MAGE_FROST_BOLT = 59638, SPELL_MAGE_FIRE_BLAST = 59637, SPELL_ARCANCE_POTENCY_RANK_1 = 31571,
  SPELL_ARCANCE_POTENCY_RANK_2 = 31572, SPELL_ARCANCE_POTENCY_TRIGGER_RANK_1 = 57529, SPELL_ARCANCE_POTENCY_TRIGGER_RANK_2 = 57531, SPELL_MAGE_BLAZING_SPEED = 31643,
  SPELL_MAGE_BURNOUT = 29077, SPELL_MAGE_COLD_SNAP = 11958, SPELL_MAGE_FOCUS_MAGIC_PROC = 54648, SPELL_MAGE_FROST_NOVA = 122,
  SPELL_MAGE_FROST_WARDING_R1 = 11189, SPELL_MAGE_FROST_WARDING_TRIGGERED = 57776, SPELL_MAGE_IMPROVED_POLYMORPH_RANK_1 = 11210, SPELL_MAGE_IMPROVED_POLYMORPH_STUN_RANK_1 = 83046,
  SPELL_MAGE_IMPROVED_POLYMORPH_MARKER = 87515, SPELL_MAGE_INCANTERS_ABSORBTION_R1 = 44394, SPELL_MAGE_INCANTERS_ABSORBTION_TRIGGERED = 44413, SPELL_MAGE_IGNITE = 12654,
  SPELL_MAGE_MASTER_OF_ELEMENTS_ENERGIZE = 29077, SPELL_MAGE_PERMAFROST = 91394, SPELL_MAGE_SLOW = 31589, SPELL_MAGE_SQUIRREL_FORM = 32813,
  SPELL_MAGE_GIRAFFE_FORM = 32816, SPELL_MAGE_SERPENT_FORM = 32817, SPELL_MAGE_DRAGONHAWK_FORM = 32818, SPELL_MAGE_WORGEN_FORM = 32819,
  SPELL_MAGE_SHEEP_FORM = 32820, SPELL_MAGE_GLYPH_OF_ETERNAL_WATER = 70937, SPELL_MAGE_SUMMON_WATER_ELEMENTAL_PERMANENT = 70908, SPELL_MAGE_SUMMON_WATER_ELEMENTAL_TEMPORARY = 70907,
  SPELL_MAGE_GLYPH_OF_BLAST_WAVE = 62126, SPELL_MAGE_FLAMESTRIKE = 2120, SPELL_MAGE_CHILLED_R1 = 12484, SPELL_MAGE_CHILLED_R2 = 12485,
  SPELL_MAGE_CONE_OF_COLD_AURA_R1 = 11190, SPELL_MAGE_CONE_OF_COLD_AURA_R2 = 12489, SPELL_MAGE_CONE_OF_COLD_TRIGGER_R1 = 83301, SPELL_MAGE_CONE_OF_COLD_TRIGGER_R2 = 83302,
  SPELL_MAGE_SHATTERED_BARRIER_R1 = 44745, SPELL_MAGE_SHATTERED_BARRIER_R2 = 54787, SPELL_MAGE_SHATTERED_BARRIER_FREEZE_R1 = 55080, SPELL_MAGE_SHATTERED_BARRIER_FREEZE_R2 = 83073,
  SPELL_MAGE_IMPROVED_MANA_GEM_TRIGGERED = 83098, SPELL_MAGE_RING_OF_FROST_SUMMON = 82676, SPELL_MAGE_RING_OF_FROST_FREEZE = 82691, SPELL_MAGE_RING_OF_FROST_DUMMY = 91264,
  SPELL_MAGE_FINGERS_OF_FROST = 44544, SPELL_MAGE_TEMPORAL_DISPLACEMENT = 80354, SPELL_PET_NETHERWINDS_FATIGUED = 160455
}
 
enum  MirrorImageTimers { TIMER_MIRROR_IMAGE_INIT = 0, TIMER_MIRROR_IMAGE_FROST_BOLT = 4000, TIMER_MIRROR_IMAGE_FIRE_BLAST = 6000 }
 

Functions

void AddSC_mage_pet_scripts ()
 

Enumeration Type Documentation

enum MageSpells
Enumerator
SPELL_POLYMORPH 
SPELL_ICE_BLOCK 
SPELL_BLIZZARD 
SPELL_ICE_LANCE 
SPELL_CONE_OF_COLD 
SPELL_FROSTBOLT 
SPELL_BLINK 
SPELL_MAGE_CLONE_ME 
SPELL_MAGE_MASTERS_THREAT_LIST 
SPELL_MAGE_FROST_BOLT 
SPELL_MAGE_FIRE_BLAST 
SPELL_ARCANCE_POTENCY_RANK_1 
SPELL_ARCANCE_POTENCY_RANK_2 
SPELL_ARCANCE_POTENCY_TRIGGER_RANK_1 
SPELL_ARCANCE_POTENCY_TRIGGER_RANK_2 
SPELL_MAGE_BLAZING_SPEED 
SPELL_MAGE_BURNOUT 
SPELL_MAGE_COLD_SNAP 
SPELL_MAGE_FOCUS_MAGIC_PROC 
SPELL_MAGE_FROST_NOVA 
SPELL_MAGE_FROST_WARDING_R1 
SPELL_MAGE_FROST_WARDING_TRIGGERED 
SPELL_MAGE_IMPROVED_POLYMORPH_RANK_1 
SPELL_MAGE_IMPROVED_POLYMORPH_STUN_RANK_1 
SPELL_MAGE_IMPROVED_POLYMORPH_MARKER 
SPELL_MAGE_INCANTERS_ABSORBTION_R1 
SPELL_MAGE_INCANTERS_ABSORBTION_TRIGGERED 
SPELL_MAGE_IGNITE 
SPELL_MAGE_MASTER_OF_ELEMENTS_ENERGIZE 
SPELL_MAGE_PERMAFROST 
SPELL_MAGE_SLOW 
SPELL_MAGE_SQUIRREL_FORM 
SPELL_MAGE_GIRAFFE_FORM 
SPELL_MAGE_SERPENT_FORM 
SPELL_MAGE_DRAGONHAWK_FORM 
SPELL_MAGE_WORGEN_FORM 
SPELL_MAGE_SHEEP_FORM 
SPELL_MAGE_GLYPH_OF_ETERNAL_WATER 
SPELL_MAGE_SUMMON_WATER_ELEMENTAL_PERMANENT 
SPELL_MAGE_SUMMON_WATER_ELEMENTAL_TEMPORARY 
SPELL_MAGE_GLYPH_OF_BLAST_WAVE 
SPELL_MAGE_FLAMESTRIKE 
SPELL_MAGE_CHILLED_R1 
SPELL_MAGE_CHILLED_R2 
SPELL_MAGE_CONE_OF_COLD_AURA_R1 
SPELL_MAGE_CONE_OF_COLD_AURA_R2 
SPELL_MAGE_CONE_OF_COLD_TRIGGER_R1 
SPELL_MAGE_CONE_OF_COLD_TRIGGER_R2 
SPELL_MAGE_SHATTERED_BARRIER_R1 
SPELL_MAGE_SHATTERED_BARRIER_R2 
SPELL_MAGE_SHATTERED_BARRIER_FREEZE_R1 
SPELL_MAGE_SHATTERED_BARRIER_FREEZE_R2 
SPELL_MAGE_IMPROVED_MANA_GEM_TRIGGERED 
SPELL_MAGE_RING_OF_FROST_SUMMON 
SPELL_MAGE_RING_OF_FROST_FREEZE 
SPELL_MAGE_RING_OF_FROST_DUMMY 
SPELL_MAGE_FINGERS_OF_FROST 
SPELL_MAGE_TEMPORAL_DISPLACEMENT 
SPELL_PET_NETHERWINDS_FATIGUED 
33 {
34  SPELL_MAGE_CLONE_ME = 45204,
36  SPELL_MAGE_FROST_BOLT = 59638,
37  SPELL_MAGE_FIRE_BLAST = 59637
38 };
Definition: pet_mage.cpp:36
Definition: pet_mage.cpp:37
Definition: pet_mage.cpp:34
Definition: pet_mage.cpp:35
Enumerator
TIMER_MIRROR_IMAGE_INIT 
TIMER_MIRROR_IMAGE_FROST_BOLT 
TIMER_MIRROR_IMAGE_FIRE_BLAST 
41 {
45 };
Definition: pet_mage.cpp:42
Definition: pet_mage.cpp:43
Definition: pet_mage.cpp:44

Function Documentation

void AddSC_mage_pet_scripts ( )
259 {
261 }
Definition: pet_mage.cpp:47

+ Here is the caller graph for this function: