TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
hyjalAI.h File Reference
#include "hyjal.h"
#include "ScriptedEscortAI.h"
+ Include dependency graph for hyjalAI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Wave
 
struct  hyjalAI
 
struct  hyjalAI::Spell
 

Macros

#define HYJAL_AI_MAX_SPELLS   3
 

Enumerations

enum  SpellIds {
  SPELL_BARON_ULTIMATUM = 27861, 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_WILFRED_PORTAL = 68424, SPELL_JARAXXUS_CHAINS = 67924, SPELL_CORPSE_TELEPORT = 69016,
  SPELL_DESTROY_FLOOR_KNOCKUP = 68193, SPELL_FIRE_BEAM_MAMMOTH = 57068, SPELL_FIRE_BEAM_SNAKE = 57071, SPELL_FIRE_BEAM_ELEMENTAL = 57072,
  SPELL_ERUPTION = 29371, SPELL_SLIME = 28801
}
 
enum  TargetType { TARGETTYPE_SELF = 0, TARGETTYPE_RANDOM = 1, TARGETTYPE_VICTIM = 2 }
 
enum  YellId {
  ATTACKED = 0, BEGIN = 1, INCOMING = 2, RALLY = 3,
  FAILURE = 4, SUCCESS = 5, DEATH = 6
}
 

Variables

const Wave AllianceWaves []
 
const Wave HordeWaves []
 

Macro Definition Documentation

#define HYJAL_AI_MAX_SPELLS   3

Enumeration Type Documentation

enum SpellIds
Enumerator
SPELL_BARON_ULTIMATUM 
SPELL_TELEPORT_VISUAL 
SPELL_MASS_TELEPORT 
SPELL_BRILLIANCE_AURA 
SPELL_BLIZZARD 
SPELL_PYROBLAST 
SPELL_SUMMON_ELEMENTALS 
SPELL_CHAIN_LIGHTNING 
SPELL_SUMMON_DIRE_WOLF 
SPELL_WILFRED_PORTAL 
SPELL_JARAXXUS_CHAINS 
SPELL_CORPSE_TELEPORT 
SPELL_DESTROY_FLOOR_KNOCKUP 
SPELL_FIRE_BEAM_MAMMOTH 
SPELL_FIRE_BEAM_SNAKE 
SPELL_FIRE_BEAM_ELEMENTAL 
SPELL_ERUPTION 
SPELL_SLIME 
28 {
29  SPELL_TELEPORT_VISUAL = 41232,
30  SPELL_MASS_TELEPORT = 16807,
31 
32  //Spells for Jaina
33  SPELL_BRILLIANCE_AURA = 31260, // The database must handle this spell via creature_addon(it should, but is removed in evade..)
34  SPELL_BLIZZARD = 31266,
35  SPELL_PYROBLAST = 31263,
37 
38  //Thrall spells
39  SPELL_CHAIN_LIGHTNING = 31330,
41 };
Definition: hyjalAI.h:29
Definition: hyjalAI.h:34
Definition: hyjalAI.h:33
Definition: hyjalAI.h:30
Definition: hyjalAI.h:39
Definition: hyjalAI.h:40
Definition: hyjalAI.h:35
Definition: hyjalAI.h:36
enum TargetType
Enumerator
TARGETTYPE_SELF 
TARGETTYPE_RANDOM 
TARGETTYPE_VICTIM 
101 {
102  TARGETTYPE_SELF = 0,
103  TARGETTYPE_RANDOM = 1,
104  TARGETTYPE_VICTIM = 2,
105 };
Definition: hyjalAI.h:103
Definition: hyjalAI.h:102
Definition: hyjalAI.h:104
enum YellId
Enumerator
ATTACKED 
BEGIN 
INCOMING 
RALLY 
FAILURE 
SUCCESS 
DEATH 
108 {
109  ATTACKED = 0, // Used when attacked and set in combat
110  BEGIN = 1, // Used when the event is begun
111  INCOMING = 2, // Used to warn the raid that another wave phase is coming
112  RALLY = 3, // Used to rally the raid and warn that the next wave has been summoned
113  FAILURE = 4, // Used when raid has failed (unsure where to place)
114  SUCCESS = 5, // Used when the raid has sucessfully defeated a wave phase
115  DEATH = 6, // Used on death
116 };
Definition: hyjalAI.h:114
Definition: hyjalAI.h:111
Definition: hyjalAI.h:113
Definition: hyjalAI.h:110
Definition: hyjalAI.h:109
Definition: hyjalAI.h:112
Definition: hyjalAI.h:115

Variable Documentation

const Wave AllianceWaves[]
Initial value:
=
{
{{GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, 0, 0, 0, 0, 0, 0, 0, 0}, 120000, false},
{{GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, CRYPT_FIEND, CRYPT_FIEND, 0, 0, 0, 0, 0, 0}, 120000, false},
{{RAGE_WINTERCHILL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, true},
{{GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, 0, 0, 0, 0, 0, 0, 0, 0}, 120000, false},
{{GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, ABOMINATION, ABOMINATION, ABOMINATION, ABOMINATION, 0, 0, 0, 0, 0, 0}, 120000, false},
{{GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, NECROMANCER, NECROMANCER, BANSHEE, BANSHEE, BANSHEE, BANSHEE, 0, 0, 0, 0, 0, 0}, 120000, false},
{{ANETHERON, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, true}
}
Definition: hyjal.h:76
Definition: hyjal.h:61
Definition: hyjal.h:63
Definition: hyjal.h:62
Definition: hyjal.h:77
Definition: hyjal.h:65
Definition: hyjal.h:64
const Wave HordeWaves[]
Initial value:
=
{
{{GARGOYLE, GARGOYLE, GARGOYLE, GARGOYLE, GARGOYLE, GARGOYLE, GARGOYLE, GARGOYLE, FROST_WYRM, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 180000, false},
{{GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, GHOUL, ABOMINATION, ABOMINATION, ABOMINATION, ABOMINATION, FROST_WYRM, 0, 0, 0, 0, 0, 0, 0}, 180000, false},
{{KAZROGAL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, true},
{{AZGALOR, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, true}
}
Definition: hyjal.h:66
Definition: hyjal.h:69
Definition: hyjal.h:79
Definition: hyjal.h:61
Definition: hyjal.h:63
Definition: hyjal.h:62
Definition: hyjal.h:67
Definition: hyjal.h:78
Definition: hyjal.h:68
Definition: hyjal.h:65
Definition: hyjal.h:64