TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
blackrock_caverns.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "TemporarySummon.h"
#include "blackrock_caverns.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "Player.h"
+ Include dependency graph for blackrock_caverns.cpp:

Classes

class  npc_fire_cyclone
 
struct  npc_fire_cyclone::npc_fire_cycloneAI
 
class  npc_twilight_flame_caller
 
struct  npc_twilight_flame_caller::npc_twilight_flame_callerAI
 
class  npc_twilight_torturer
 
struct  npc_twilight_torturer::npc_twilight_torturerAI
 
class  npc_twilight_sadist
 
struct  npc_twilight_sadist::npc_twilight_sadistAI
 
class  npc_mad_prisoner
 
struct  npc_mad_prisoner::npc_mad_prisonerAI
 
class  npc_crazed_mage
 
struct  npc_crazed_mage::npc_crazed_mageAI
 
class  npc_raz_the_crazed
 
struct  npc_raz_the_crazed::npc_raz_the_crazedAI
 
class  npc_chains_of_woe
 
struct  npc_chains_of_woe::npc_chains_of_woeAI
 
class  spell_chains_of_woe_1
 
class  spell_chains_of_woe_1::spell_chains_of_woe_1_SpellScript
 
class  spell_chains_of_woe_4
 
class  spell_chains_of_woe_4::spell_chains_of_woe_4_SpellScript
 
class  spell_nether_dragon_essence_1
 
class  spell_nether_dragon_essence_1::spell_nether_dragon_essence_1_AuraScript
 
class  spell_nether_dragon_essence_2
 
class  spell_nether_dragon_essence_2::spell_nether_dragon_essence_2_SpellScript
 

Enumerations

enum  FireCyclone { SPELL_FIRE_CYCLONE_AURA = 74851, EVENT_FIRE_CYCLONE_AURA = 1 }
 
enum  TwilightFlameCaller {
  SPELL_FIRE_CHANNELING_1 = 74911, SPELL_FIRE_CHANNELING_2 = 74912, SPELL_BLAST_WAVE = 76473, SPELL_CALL_FLAMES = 76325,
  NPC_FIRE_CYCLONE = 40164, EVENT_CHANNEL = 2, EVENT_BLAST_WAVE = 3, EVENT_CALL_FLAMES = 4
}
 
enum  TwilightTorturer {
  SPELL_INFLICT_PAIN = 75590, SPELL_RED_HOT_POKER = 76478, SPELL_SHACKLES = 76484, SPELL_WILD_BEATDOWN = 76487,
  EVENT_INFLICT_PAIN_TT = 5, EVENT_RED_HOT_POKER = 6, EVENT_SHACKLES = 7, EVENT_WILD_BEATDOWN = 8
}
 
enum  TwilightSadist {
  SPELL_INFLICT_PAIN_1 = 76497, SPELL_HEAT_SEEKER_BLADE = 76502, SPELL_SHORT_THROW = 76572, SPELL_SINISTER_STRIKE = 76500,
  EVENT_INFLICT_PAIN_TS = 9, EVENT_HEAT_SEEKER_BLADE = 10, EVENT_SHORT_THROW = 11, EVENT_SINISTER_STRIKE = 12
}
 
enum  MadPrisoner {
  SPELL_HEAD_CRACK = 77568, SPELL_INFECTED_WOUND = 76512, SPELL_ENRAGE = 8599, EVENT_HEAD_CRACK = 13,
  EVENT_INFECTED_WOUND = 14, EVENT_ENRAGE = 15
}
 
enum  CrazedMage { EVENT_HEAD_CRACK2 = 16, EVENT_INFECTED_WOUND2 = 17, EVENT_ENRAGE2 = 18 }
 
enum  RazTheCrazed {
  SAY_SMASH = 0, SPELL_AGGRO_NEARBY_TARGETS = 80196, SPELL_SHADOW_PRISON = 79725, SPELL_LEAP_FROM_CAGE = 79720,
  SPELL_FURIOUS_SWIPE = 80206, SPELL_LEAP_FROM_BRIDGE = 80273, TYPE_RAZ = 1, DATA_ROMOGG_DEAD = 1,
  EVENT_AGGO_NEARBY_TARGETS = 19, EVENT_START_FIRST_PATH = 20, EVENT_FURIOUS_SWIPE = 21
}
 
enum  ChainsOfWoe {
  SPELL_CHAINS_OF_WOE_1 = 75437, SPELL_CHAINS_OF_WOE_2 = 75441, SPELL_CHAINS_OF_WOE_3 = 75464, SPELL_CHAINS_OF_WOE_4 = 82189,
  SPELL_CHAINS_OF_WOE_5 = 82192, MODEL_INVISIBLE = 38330
}
 
enum  NetherDragonEssence { SPELL_NETHER_DRAGON_ESSENCE_1 = 75649, SPELL_NETHER_DRAGON_ESSENCE_2 = 75650, SPELL_NETHER_DRAGON_ESSENCE_3 = 75653, SPELL_NETHER_DRAGON_ESSENCE_4 = 75654 }
 

Functions

void AddSC_blackrock_caverns ()
 

Variables

Position const SummonPos [6]
 

Enumeration Type Documentation

Enumerator
SPELL_CHAINS_OF_WOE_1 
SPELL_CHAINS_OF_WOE_2 
SPELL_CHAINS_OF_WOE_3 
SPELL_CHAINS_OF_WOE_4 
SPELL_CHAINS_OF_WOE_5 
MODEL_INVISIBLE 
677 {
678  SPELL_CHAINS_OF_WOE_1 = 75437,
679  SPELL_CHAINS_OF_WOE_2 = 75441,
680  SPELL_CHAINS_OF_WOE_3 = 75464,
681  SPELL_CHAINS_OF_WOE_4 = 82189,
682  SPELL_CHAINS_OF_WOE_5 = 82192,
683  MODEL_INVISIBLE = 38330
684 };
Definition: blackrock_caverns.cpp:680
Definition: blackrock_caverns.cpp:683
Definition: blackrock_caverns.cpp:681
Definition: blackrock_caverns.cpp:682
Definition: blackrock_caverns.cpp:678
Definition: blackrock_caverns.cpp:679
enum CrazedMage
Enumerator
EVENT_HEAD_CRACK2 
EVENT_INFECTED_WOUND2 
EVENT_ENRAGE2 
512 {
513  EVENT_HEAD_CRACK2 = 16,
515  EVENT_ENRAGE2 = 18
516 };
Definition: blackrock_caverns.cpp:514
Definition: blackrock_caverns.cpp:513
Definition: blackrock_caverns.cpp:515
Enumerator
SPELL_FIRE_CYCLONE_AURA 
EVENT_FIRE_CYCLONE_AURA 
31 {
34 };
Definition: blackrock_caverns.cpp:33
Definition: blackrock_caverns.cpp:32
Enumerator
SPELL_HEAD_CRACK 
SPELL_INFECTED_WOUND 
SPELL_ENRAGE 
EVENT_HEAD_CRACK 
EVENT_INFECTED_WOUND 
EVENT_ENRAGE 
439 {
440  SPELL_HEAD_CRACK = 77568,
441  SPELL_INFECTED_WOUND = 76512,
442  SPELL_ENRAGE = 8599,
443  EVENT_HEAD_CRACK = 13,
445  EVENT_ENRAGE = 15
446 };
Definition: blackrock_caverns.cpp:442
Definition: blackrock_caverns.cpp:443
Definition: blackrock_caverns.cpp:445
Definition: blackrock_caverns.cpp:441
Definition: blackrock_caverns.cpp:440
Definition: blackrock_caverns.cpp:444
Enumerator
SPELL_NETHER_DRAGON_ESSENCE_1 
SPELL_NETHER_DRAGON_ESSENCE_2 
SPELL_NETHER_DRAGON_ESSENCE_3 
SPELL_NETHER_DRAGON_ESSENCE_4 
790 {
795 };
Definition: blackrock_caverns.cpp:794
Definition: blackrock_caverns.cpp:792
Definition: blackrock_caverns.cpp:791
Definition: blackrock_caverns.cpp:793
Enumerator
SAY_SMASH 
SPELL_AGGRO_NEARBY_TARGETS 
SPELL_SHADOW_PRISON 
SPELL_LEAP_FROM_CAGE 
SPELL_FURIOUS_SWIPE 
SPELL_LEAP_FROM_BRIDGE 
TYPE_RAZ 
DATA_ROMOGG_DEAD 
EVENT_AGGO_NEARBY_TARGETS 
EVENT_START_FIRST_PATH 
EVENT_FURIOUS_SWIPE 
583 {
584  SAY_SMASH = 0,
586  SPELL_SHADOW_PRISON = 79725,
587  SPELL_LEAP_FROM_CAGE = 79720,
588  SPELL_FURIOUS_SWIPE = 80206,
589  SPELL_LEAP_FROM_BRIDGE = 80273,
590  TYPE_RAZ = 1,
591  DATA_ROMOGG_DEAD = 1,
595 };
Definition: blackrock_caverns.cpp:586
Definition: blackrock_caverns.cpp:588
Definition: blackrock_caverns.cpp:591
Definition: blackrock_caverns.cpp:594
Definition: blackrock_caverns.cpp:592
Definition: blackrock_caverns.cpp:589
Definition: blackrock_caverns.cpp:585
Definition: blackrock_caverns.cpp:590
Definition: blackrock_caverns.cpp:584
Definition: blackrock_caverns.cpp:587
Definition: blackrock_caverns.cpp:593
Enumerator
SPELL_FIRE_CHANNELING_1 
SPELL_FIRE_CHANNELING_2 
SPELL_BLAST_WAVE 
SPELL_CALL_FLAMES 
NPC_FIRE_CYCLONE 
EVENT_CHANNEL 
EVENT_BLAST_WAVE 
EVENT_CALL_FLAMES 
84 {
87  SPELL_BLAST_WAVE = 76473,
88  SPELL_CALL_FLAMES = 76325,
89  NPC_FIRE_CYCLONE = 40164,
90  EVENT_CHANNEL = 2,
91  EVENT_BLAST_WAVE = 3,
93 };
Definition: blackrock_caverns.cpp:92
Definition: blackrock_caverns.cpp:87
Definition: blackrock_caverns.cpp:88
Definition: blackrock_caverns.cpp:86
Definition: blackrock_caverns.cpp:90
Definition: blackrock_caverns.cpp:91
Definition: blackrock_caverns.cpp:85
Definition: blackrock_caverns.cpp:89
Enumerator
SPELL_INFLICT_PAIN_1 
SPELL_HEAT_SEEKER_BLADE 
SPELL_SHORT_THROW 
SPELL_SINISTER_STRIKE 
EVENT_INFLICT_PAIN_TS 
EVENT_HEAT_SEEKER_BLADE 
EVENT_SHORT_THROW 
EVENT_SINISTER_STRIKE 
338 {
339  SPELL_INFLICT_PAIN_1 = 76497,
340  SPELL_HEAT_SEEKER_BLADE = 76502,
341  SPELL_SHORT_THROW = 76572,
342  SPELL_SINISTER_STRIKE = 76500,
345  EVENT_SHORT_THROW = 11,
347 };
Definition: blackrock_caverns.cpp:344
Definition: blackrock_caverns.cpp:342
Definition: blackrock_caverns.cpp:343
Definition: blackrock_caverns.cpp:345
Definition: blackrock_caverns.cpp:340
Definition: blackrock_caverns.cpp:339
Definition: blackrock_caverns.cpp:341
Definition: blackrock_caverns.cpp:346
Enumerator
SPELL_INFLICT_PAIN 
SPELL_RED_HOT_POKER 
SPELL_SHACKLES 
SPELL_WILD_BEATDOWN 
EVENT_INFLICT_PAIN_TT 
EVENT_RED_HOT_POKER 
EVENT_SHACKLES 
EVENT_WILD_BEATDOWN 
230 {
231  SPELL_INFLICT_PAIN = 75590,
232  SPELL_RED_HOT_POKER = 76478,
233  SPELL_SHACKLES = 76484,
234  SPELL_WILD_BEATDOWN = 76487,
237  EVENT_SHACKLES = 7,
239 };
Definition: blackrock_caverns.cpp:237
Definition: blackrock_caverns.cpp:236
Definition: blackrock_caverns.cpp:235
Definition: blackrock_caverns.cpp:233
Definition: blackrock_caverns.cpp:231
Definition: blackrock_caverns.cpp:238
Definition: blackrock_caverns.cpp:234
Definition: blackrock_caverns.cpp:232

Function Documentation

void AddSC_blackrock_caverns ( )
878 {
879  // Creature Scripts
880  new npc_fire_cyclone();
882  new npc_twilight_torturer();
883  new npc_twilight_sadist();
884  new npc_mad_prisoner();
885  new npc_crazed_mage();
886  new npc_raz_the_crazed();
887  new npc_chains_of_woe();
888  // Spell Scripts
889  new spell_chains_of_woe_1();
890  new spell_chains_of_woe_4();
893 }
Definition: blackrock_caverns.cpp:597
Definition: blackrock_caverns.cpp:349
Definition: blackrock_caverns.cpp:518
Definition: blackrock_caverns.cpp:105
Definition: blackrock_caverns.cpp:36
Definition: blackrock_caverns.cpp:715
Definition: blackrock_caverns.cpp:448
Definition: blackrock_caverns.cpp:752
Definition: blackrock_caverns.cpp:797
Definition: blackrock_caverns.cpp:241
Definition: blackrock_caverns.cpp:836
Definition: blackrock_caverns.cpp:686

+ Here is the caller graph for this function:

Variable Documentation

Position const SummonPos[6]
Initial value:
=
{
{ 162.5990f, 1085.321f, 201.1190f, 0.0f },
{ 170.5469f, 1063.403f, 201.1409f, 0.0f },
{ 191.2326f, 1100.160f, 201.1071f, 0.0f },
{ 228.0816f, 1106.000f, 201.1292f, 0.0f },
{ 252.8351f, 1095.127f, 201.1436f, 0.0f },
{ 253.6476f, 1070.226f, 201.1344f, 0.0f }
}