AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
hyjal.cpp File Reference
#include "hyjal.h"
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"

Go to the source code of this file.

Classes

class  npc_hyjal_jaina
 
struct  npc_hyjal_jaina::hyjalJainaAI
 
class  npc_hyjal_thrall
 
struct  npc_hyjal_thrall::hyjalThrallAI
 
class  npc_hyjal_tyrande
 
struct  npc_hyjal_tyrande::hyjalTyrandeAI
 
class  spell_cannibalize_heal
 
struct  npc_hyjal_ground_trash
 
struct  npc_hyjal_gargoyle
 
struct  npc_hyjal_frost_wyrm
 

Enumerations

enum  Spells {
  SPELL_MASS_TELEPORT = 16807 ,
  SPELL_SIMPLE_TELEPORT = 12980 ,
  SPELL_SALVATION = 31745 ,
  SPELL_BRILLIANCE_AURA = 31260 ,
  SPELL_BLIZZARD = 31266 ,
  SPELL_PYROBLAST = 31263 ,
  SPELL_SUMMON_ELEMENTALS = 31264 ,
  SPELL_CHAIN_LIGHTNING = 31330 ,
  SPELL_FERAL_SPIRIT = 31331 ,
  SPELL_STARFALL = 20687 ,
  SPELL_TRUESHOT_AURA = 31519 ,
  SPELL_SUMMON_TEARS_OF_THE_GODDESS = 39118 ,
  SPELL_FRENZY = 31540 ,
  SPELL_CANNIBALIZE = 31537 ,
  SPELL_CRYPT_SCARABS = 31592 ,
  SPELL_KNOCKDOWN = 31610 ,
  SPELL_RAISE_DEAD_1 = 31617 ,
  SPELL_RAISE_DEAD_2 = 31624 ,
  SPELL_RAISE_DEAD_3 = 31625 ,
  SPELL_UNHOLY_FRENZY = 31626 ,
  SPELL_SHADOW_BOLT = 31627 ,
  SPELL_BANSHEE_CURSE = 31651 ,
  SPELL_ANTI_MAGIC_SHELL = 31662 ,
  SPELL_BANSHEE_WAIL = 38183 ,
  SPELL_GARGOYLE_STRIKE = 31664 ,
  SPELL_FROST_BREATH = 31688 ,
  SPELL_MANA_BURN = 31729 ,
  SPELL_DEATH_AND_DECAY = 31258
}
 
enum  Talk {
  SAY_ATTACKED = 0 ,
  SAY_BEGIN = 1 ,
  SAY_INCOMING = 2 ,
  SAY_RALLY = 3 ,
  SAY_FAILURE = 4 ,
  SAY_SUCCESS = 5 ,
  SAY_DEATH = 6 ,
  SAY_TELEPORT = 7
}
 

Functions

void AddSC_hyjal ()
 

Variables

const float UNHOLY_FRENZY_RANGE = 30.0f
 

Enumeration Type Documentation

◆ Spells

enum Spells
Enumerator
SPELL_MASS_TELEPORT 
SPELL_SIMPLE_TELEPORT 
SPELL_SALVATION 
SPELL_BRILLIANCE_AURA 
SPELL_BLIZZARD 
SPELL_PYROBLAST 
SPELL_SUMMON_ELEMENTALS 
SPELL_CHAIN_LIGHTNING 
SPELL_FERAL_SPIRIT 
SPELL_STARFALL 
SPELL_TRUESHOT_AURA 
SPELL_SUMMON_TEARS_OF_THE_GODDESS 
SPELL_FRENZY 
SPELL_CANNIBALIZE 
SPELL_CRYPT_SCARABS 
SPELL_KNOCKDOWN 
SPELL_RAISE_DEAD_1 
SPELL_RAISE_DEAD_2 
SPELL_RAISE_DEAD_3 
SPELL_UNHOLY_FRENZY 
SPELL_SHADOW_BOLT 
SPELL_BANSHEE_CURSE 
SPELL_ANTI_MAGIC_SHELL 
SPELL_BANSHEE_WAIL 
SPELL_GARGOYLE_STRIKE 
SPELL_FROST_BREATH 
SPELL_MANA_BURN 
SPELL_DEATH_AND_DECAY 
27{
28 // Jaina
29 SPELL_MASS_TELEPORT = 16807,
31 SPELL_SALVATION = 31745,
33 SPELL_BLIZZARD = 31266,
34 SPELL_PYROBLAST = 31263,
36
37 // Thrall
39 SPELL_FERAL_SPIRIT = 31331,
40
41 // Tyrande
42 SPELL_STARFALL = 20687,
43 SPELL_TRUESHOT_AURA = 31519,
45
46 // Ghoul
47 SPELL_FRENZY = 31540,
48 SPELL_CANNIBALIZE = 31537,
49
50 // Crypt Fiend
51 SPELL_CRYPT_SCARABS = 31592,
52
53 // Abomination
54 SPELL_KNOCKDOWN = 31610,
55
56 // Necromancer (Ranged)
57 SPELL_RAISE_DEAD_1 = 31617,
58 SPELL_RAISE_DEAD_2 = 31624,
59 SPELL_RAISE_DEAD_3 = 31625,
60 SPELL_UNHOLY_FRENZY = 31626,
61 SPELL_SHADOW_BOLT = 31627,
62
63 // Banshee (Ranged)
64 SPELL_BANSHEE_CURSE = 31651,
66 SPELL_BANSHEE_WAIL = 38183,
67
68 // Gargoyle (Ranged)
70
71 // Frost Wyrm (Ranged)
72 SPELL_FROST_BREATH = 31688,
73
74 // Fel Stalker
75 SPELL_MANA_BURN = 31729,
76
77 // Misc
79};
@ SPELL_CRYPT_SCARABS
Definition hyjal.cpp:51
@ SPELL_CANNIBALIZE
Definition hyjal.cpp:48
@ SPELL_RAISE_DEAD_3
Definition hyjal.cpp:59
@ SPELL_FROST_BREATH
Definition hyjal.cpp:72
@ SPELL_FERAL_SPIRIT
Definition hyjal.cpp:39
@ SPELL_SALVATION
Definition hyjal.cpp:31
@ SPELL_BANSHEE_WAIL
Definition hyjal.cpp:66
@ SPELL_UNHOLY_FRENZY
Definition hyjal.cpp:60
@ SPELL_BANSHEE_CURSE
Definition hyjal.cpp:64
@ SPELL_SIMPLE_TELEPORT
Definition hyjal.cpp:30
@ SPELL_DEATH_AND_DECAY
Definition hyjal.cpp:78
@ SPELL_RAISE_DEAD_2
Definition hyjal.cpp:58
@ SPELL_GARGOYLE_STRIKE
Definition hyjal.cpp:69
@ SPELL_BLIZZARD
Definition hyjal.cpp:33
@ SPELL_RAISE_DEAD_1
Definition hyjal.cpp:57
@ SPELL_SHADOW_BOLT
Definition hyjal.cpp:61
@ SPELL_SUMMON_TEARS_OF_THE_GODDESS
Definition hyjal.cpp:44
@ SPELL_BRILLIANCE_AURA
Definition hyjal.cpp:32
@ SPELL_SUMMON_ELEMENTALS
Definition hyjal.cpp:35
@ SPELL_FRENZY
Definition hyjal.cpp:47
@ SPELL_ANTI_MAGIC_SHELL
Definition hyjal.cpp:65
@ SPELL_CHAIN_LIGHTNING
Definition hyjal.cpp:38
@ SPELL_KNOCKDOWN
Definition hyjal.cpp:54
@ SPELL_PYROBLAST
Definition hyjal.cpp:34
@ SPELL_STARFALL
Definition hyjal.cpp:42
@ SPELL_TRUESHOT_AURA
Definition hyjal.cpp:43
@ SPELL_MASS_TELEPORT
Definition hyjal.cpp:29
@ SPELL_MANA_BURN
Definition hyjal.cpp:75

◆ Talk

enum Talk
Enumerator
SAY_ATTACKED 
SAY_BEGIN 
SAY_INCOMING 
SAY_RALLY 
SAY_FAILURE 
SAY_SUCCESS 
SAY_DEATH 
SAY_TELEPORT 
82{
83 SAY_ATTACKED = 0,
84 SAY_BEGIN = 1,
85 SAY_INCOMING = 2,
86 SAY_RALLY = 3,
87 SAY_FAILURE = 4,
88 SAY_SUCCESS = 5,
89 SAY_DEATH = 6,
90 SAY_TELEPORT = 7
91};
@ SAY_DEATH
Definition hyjal.cpp:89
@ SAY_TELEPORT
Definition hyjal.cpp:90
@ SAY_ATTACKED
Definition hyjal.cpp:83
@ SAY_SUCCESS
Definition hyjal.cpp:88
@ SAY_RALLY
Definition hyjal.cpp:86
@ SAY_BEGIN
Definition hyjal.cpp:84
@ SAY_INCOMING
Definition hyjal.cpp:85
@ SAY_FAILURE
Definition hyjal.cpp:87

Function Documentation

◆ AddSC_hyjal()

void AddSC_hyjal ( )
722{
723 new npc_hyjal_jaina();
724 new npc_hyjal_thrall();
725 new npc_hyjal_tyrande();
730}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition hyjal.cpp:96
Definition hyjal.cpp:199
Definition hyjal.cpp:274
Definition hyjal.cpp:334
#define RegisterHyjalAI(ai_name)
Definition hyjal.h:195
Definition hyjal.cpp:649
Definition hyjal.cpp:575
Definition hyjal.cpp:353

References RegisterHyjalAI, and RegisterSpellScript.

Referenced by AddKalimdorScripts().

Variable Documentation

◆ UNHOLY_FRENZY_RANGE

const float UNHOLY_FRENZY_RANGE = 30.0f