TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boss_lady_vashj.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "serpent_shrine.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
+ Include dependency graph for boss_lady_vashj.cpp:

Classes

class  boss_lady_vashj
 
struct  boss_lady_vashj::boss_lady_vashjAI
 
class  npc_enchanted_elemental
 
struct  npc_enchanted_elemental::npc_enchanted_elementalAI
 
class  npc_tainted_elemental
 
struct  npc_tainted_elemental::npc_tainted_elementalAI
 
class  npc_toxic_sporebat
 
struct  npc_toxic_sporebat::npc_toxic_sporebatAI
 
class  npc_shield_generator_channel
 
struct  npc_shield_generator_channel::npc_shield_generator_channelAI
 
class  item_tainted_core
 

Macros

#define MIDDLE_X   30.134f
 
#define MIDDLE_Y   -923.65f
 
#define MIDDLE_Z   42.9f
 
#define SPOREBAT_X   30.977156f
 
#define SPOREBAT_Y   -925.297761f
 
#define SPOREBAT_Z   77.176567f
 
#define SPOREBAT_O   5.223932f
 
#define TEXT_NOT_INITIALIZED   "Instance script not initialized"
 
#define TEXT_ALREADY_DEACTIVATED   "Already deactivated"
 

Enumerations

enum  LadyVashj {
  SAY_INTRO = 0, SAY_AGGRO = 1, SAY_PHASE1 = 2, SAY_PHASE2 = 3,
  SAY_PHASE3 = 4, SAY_BOWSHOT = 5, SAY_SLAY = 6, SAY_DEATH = 7,
  SPELL_SURGE = 38044, SPELL_MULTI_SHOT = 38310, SPELL_SHOCK_BLAST = 38509, SPELL_ENTANGLE = 38316,
  SPELL_STATIC_CHARGE_TRIGGER = 38280, SPELL_FORKED_LIGHTNING = 40088, SPELL_SHOOT = 40873, SPELL_POISON_BOLT = 40095,
  SPELL_TOXIC_SPORES = 38575, SPELL_MAGIC_BARRIER = 38112, SHIED_GENERATOR_CHANNEL = 19870, ENCHANTED_ELEMENTAL = 21958,
  TAINTED_ELEMENTAL = 22009, COILFANG_STRIDER = 22056, COILFANG_ELITE = 22055, TOXIC_SPOREBAT = 22140,
  TOXIC_SPORES_TRIGGER = 22207
}
 

Functions

void AddSC_boss_lady_vashj ()
 

Variables

float ElementPos [8][4]
 
float ElementWPPos [8][3]
 
float SporebatWPPos [8][3]
 
float CoilfangElitePos [3][4]
 
float CoilfangStriderPos [3][4]
 
float ShieldGeneratorChannelPos [4][4]
 

Macro Definition Documentation

#define MIDDLE_X   30.134f
#define MIDDLE_Y   -923.65f
#define MIDDLE_Z   42.9f
#define SPOREBAT_O   5.223932f
#define SPOREBAT_X   30.977156f
#define SPOREBAT_Y   -925.297761f
#define SPOREBAT_Z   77.176567f
#define TEXT_ALREADY_DEACTIVATED   "Already deactivated"
#define TEXT_NOT_INITIALIZED   "Instance script not initialized"

Enumeration Type Documentation

enum LadyVashj
Enumerator
SAY_INTRO 
SAY_AGGRO 
SAY_PHASE1 
SAY_PHASE2 
SAY_PHASE3 
SAY_BOWSHOT 
SAY_SLAY 
SAY_DEATH 
SPELL_SURGE 
SPELL_MULTI_SHOT 
SPELL_SHOCK_BLAST 
SPELL_ENTANGLE 
SPELL_STATIC_CHARGE_TRIGGER 
SPELL_FORKED_LIGHTNING 
SPELL_SHOOT 
SPELL_POISON_BOLT 
SPELL_TOXIC_SPORES 
SPELL_MAGIC_BARRIER 
SHIED_GENERATOR_CHANNEL 
ENCHANTED_ELEMENTAL 
TAINTED_ELEMENTAL 
COILFANG_STRIDER 
COILFANG_ELITE 
TOXIC_SPOREBAT 
TOXIC_SPORES_TRIGGER 
34 {
35  SAY_INTRO = 0,
36  SAY_AGGRO = 1,
37  SAY_PHASE1 = 2,
38  SAY_PHASE2 = 3,
39  SAY_PHASE3 = 4,
40  SAY_BOWSHOT = 5,
41  SAY_SLAY = 6,
42  SAY_DEATH = 7,
43 
44  SPELL_SURGE = 38044,
45  SPELL_MULTI_SHOT = 38310,
46  SPELL_SHOCK_BLAST = 38509,
47  SPELL_ENTANGLE = 38316,
49  SPELL_FORKED_LIGHTNING = 40088,
50  SPELL_SHOOT = 40873,
51  SPELL_POISON_BOLT = 40095,
52  SPELL_TOXIC_SPORES = 38575,
53  SPELL_MAGIC_BARRIER = 38112,
54 
56  ENCHANTED_ELEMENTAL = 21958,
57  TAINTED_ELEMENTAL = 22009,
58  COILFANG_STRIDER = 22056,
59  COILFANG_ELITE = 22055,
60  TOXIC_SPOREBAT = 22140,
61  TOXIC_SPORES_TRIGGER = 22207
62 };
Definition: boss_lady_vashj.cpp:40
Definition: boss_lady_vashj.cpp:60
Definition: boss_lady_vashj.cpp:42
Definition: boss_lady_vashj.cpp:49
Definition: boss_lady_vashj.cpp:58
Definition: boss_lady_vashj.cpp:41
Definition: boss_lady_vashj.cpp:61
Definition: boss_lady_vashj.cpp:55
Definition: boss_lady_vashj.cpp:36
Definition: boss_lady_vashj.cpp:37
Definition: boss_lady_vashj.cpp:50
Definition: boss_lady_vashj.cpp:59
Definition: boss_lady_vashj.cpp:44
Definition: boss_lady_vashj.cpp:46
Definition: boss_lady_vashj.cpp:35
Definition: boss_lady_vashj.cpp:57
Definition: boss_lady_vashj.cpp:39
Definition: boss_lady_vashj.cpp:38
Definition: boss_lady_vashj.cpp:47
Definition: boss_lady_vashj.cpp:52
Definition: boss_lady_vashj.cpp:45
Definition: boss_lady_vashj.cpp:51
Definition: boss_lady_vashj.cpp:56
Definition: boss_lady_vashj.cpp:53
Definition: boss_lady_vashj.cpp:48

Function Documentation

void AddSC_boss_lady_vashj ( )
957 {
958  new boss_lady_vashj();
960  new npc_tainted_elemental();
961  new npc_toxic_sporebat();
963  new item_tainted_core();
964 }
Definition: boss_lady_vashj.cpp:646
Definition: boss_lady_vashj.cpp:136
Definition: boss_lady_vashj.cpp:720
Definition: boss_lady_vashj.cpp:822
Definition: boss_lady_vashj.cpp:551
Definition: boss_lady_vashj.cpp:883

+ Here is the caller graph for this function:

Variable Documentation

float CoilfangElitePos[3][4]
Initial value:
=
{
{28.84f, -923.28f, 42.9f, 6.0f},
{31.183281f, -953.502625f, 41.523602f, 1.640957f},
{58.895180f, -923.124268f, 41.545307f, 3.152848f}
}
float CoilfangStriderPos[3][4]
Initial value:
=
{
{66.427010f, -948.778503f, 41.262245f, 2.584220f},
{7.513962f, -959.538208f, 41.300422f, 1.034629f},
{-12.843201f, -907.798401f, 41.239620f, 6.087094f}
}
float ElementPos[8][4]
Initial value:
=
{
{8.3f, -835.3f, 21.9f, 5.0f},
{53.4f, -835.3f, 21.9f, 4.5f},
{96.0f, -861.9f, 21.8f, 4.0f},
{96.0f, -986.4f, 21.4f, 2.5f},
{54.4f, -1010.6f, 22, 1.8f},
{9.8f, -1012, 21.7f, 1.4f},
{-35.0f, -987.6f, 21.5f, 0.8f},
{-58.9f, -901.6f, 21.5f, 6.0f}
}
float ElementWPPos[8][3]
Initial value:
=
{
{71.700752f, -883.905884f, 41.097168f},
{45.039848f, -868.022827f, 41.097015f},
{14.585141f, -867.894470f, 41.097061f},
{-25.415508f, -906.737732f, 41.097061f},
{-11.801594f, -963.405884f, 41.097067f},
{14.556657f, -979.051514f, 41.097137f},
{43.466549f, -979.406677f, 41.097027f},
{69.945908f, -964.663940f, 41.097054f}
}
float ShieldGeneratorChannelPos[4][4]
Initial value:
=
{
{49.6262f, -902.181f, 43.0975f, 3.95683f},
{10.988f, -901.616f, 42.5371f, 5.4373f},
{10.3859f, -944.036f, 42.5446f, 0.779888f},
{49.3126f, -943.398f, 42.5501f, 2.40174f}
}
float SporebatWPPos[8][3]
Initial value:
=
{
{31.6f, -896.3f, 59.1f},
{9.1f, -913.9f, 56.0f},
{5.2f, -934.4f, 52.4f},
{20.7f, -946.9f, 49.7f},
{41.0f, -941.9f, 51.0f},
{47.7f, -927.3f, 55.0f},
{42.2f, -912.4f, 51.7f},
{27.0f, -905.9f, 50.0f}
}