TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
spell_dk.cpp File Reference
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "SpellHistory.h"
#include "Containers.h"
+ Include dependency graph for spell_dk.cpp:

Classes

class  spell_dk_anti_magic_shell
 6.x More...
 
class  spell_dk_anti_magic_shell::spell_dk_anti_magic_shell_AuraScript
 
class  spell_dk_army_periodic_taunt
 6.x, does this belong here or in spell_generic? apply this in creature_template_addon? sniffs say this is always cast army of the dead ghouls. More...
 
class  spell_dk_army_periodic_taunt::spell_dk_army_periodic_taunt_SpellScript
 
class  spell_dk_army_transform
 6.x, does this belong here or in spell_generic? where do we cast this? sniffs say this is only cast when caster has glyph of foul menagerie. More...
 
class  spell_dk_army_transform::spell_dk_army_transform_SpellScript
 
class  spell_dk_blood_boil
 6.x More...
 
class  spell_dk_blood_boil::spell_dk_blood_boil_SpellScript
 
class  spell_dk_death_and_decay
 6.x More...
 
class  spell_dk_death_and_decay::spell_dk_death_and_decay_SpellScript
 
class  spell_dk_death_and_decay::spell_dk_death_and_decay_AuraScript
 
class  spell_dk_death_coil
 6.x More...
 
class  spell_dk_death_coil::spell_dk_death_coil_SpellScript
 
class  spell_dk_death_gate
 
class  spell_dk_death_gate::spell_dk_death_gate_SpellScript
 
class  spell_dk_death_grip
 
class  spell_dk_death_grip::spell_dk_death_grip_SpellScript
 
class  spell_dk_death_pact
 6.x More...
 
class  spell_dk_death_pact::spell_dk_death_pact_AuraScript
 
class  spell_dk_death_strike
 6.x More...
 
class  spell_dk_death_strike::spell_dk_death_strike_SpellScript
 
class  spell_dk_festering_strike
 6.x More...
 
class  spell_dk_festering_strike::spell_dk_festering_strike_SpellScript
 
class  spell_dk_ghoul_explode
 
class  spell_dk_ghoul_explode::spell_dk_ghoul_explode_SpellScript
 
class  spell_dk_glyph_of_deaths_embrace
 6.x More...
 
class  spell_dk_glyph_of_deaths_embrace::spell_dk_glyph_of_deaths_embrace_AuraScript
 
class  spell_dk_glyph_of_runic_power
 6.x More...
 
class  spell_dk_glyph_of_runic_power::spell_dk_glyph_of_runic_power_AuraScript
 
class  spell_dk_icebound_fortitude
 6.x More...
 
class  spell_dk_icebound_fortitude::spell_dk_icebound_fortitude_AuraScript
 
class  spell_dk_pet_geist_transform
 6.x, does this belong here or in spell_generic? apply this in creature_template_addon? sniffs say this is always cast on raise dead. More...
 
class  spell_dk_pet_geist_transform::spell_dk_pet_geist_transform_SpellScript
 
class  spell_dk_pet_skeleton_transform
 6.x, does this belong here or in spell_generic? apply this in creature_template_addon? sniffs say this is always cast on raise dead. More...
 
class  spell_dk_pet_skeleton_transform::spell_dk_pet_skeleton_transform_SpellScript
 
class  spell_dk_raise_dead
 6.x More...
 
class  spell_dk_raise_dead::spell_dk_raise_dead_SpellScript
 
class  spell_dk_soul_reaper
 6.x More...
 
class  spell_dk_soul_reaper::spell_dk_soul_reaper_AuraScript
 
class  spell_dk_unholy_blight
 6.x More...
 
class  spell_dk_unholy_blight::spell_dk_unholy_blight_SpellScript
 
class  spell_dk_vampiric_blood
 6.x More...
 
class  spell_dk_vampiric_blood::spell_dk_vampiric_blood_AuraScript
 
class  spell_dk_will_of_the_necropolis
 6.x More...
 
class  spell_dk_will_of_the_necropolis::spell_dk_will_of_the_necropolis_AuraScript
 
class  spell_dk_death_grip_initial
 
class  spell_dk_death_grip_initial::spell_dk_death_grip_initial_SpellScript
 

Enumerations

enum  DeathKnightSpells {
  SPELL_DK_SUMMON_GARGOYLE_1 = 49206, SPELL_DK_SUMMON_GARGOYLE_2 = 50514, SPELL_DK_DISMISS_GARGOYLE = 50515, SPELL_DK_SANCTUARY = 54661,
  SPELL_DK_BLOOD_PLAGUE = 55078, SPELL_DK_BLOOD_PRESENCE = 48263, SPELL_DK_BLOOD_SHIELD_MASTERY = 77513, SPELL_DK_BLOOD_SHIELD_ABSORB = 77535,
  SPELL_DK_CHAINS_OF_ICE = 45524, SPELL_DK_CORPSE_EXPLOSION_TRIGGERED = 43999, SPELL_DK_DEATH_AND_DECAY_DAMAGE = 52212, SPELL_DK_DEATH_AND_DECAY_SLOW = 143375,
  SPELL_DK_DEATH_COIL_BARRIER = 115635, SPELL_DK_DEATH_COIL_DAMAGE = 47632, SPELL_DK_DEATH_COIL_HEAL = 47633, SPELL_DK_DEATH_GRIP = 49560,
  SPELL_DK_DEATH_STRIKE_HEAL = 45470, SPELL_DK_ENHANCED_DEATH_COIL = 157343, SPELL_DK_FROST_FEVER = 55095, SPELL_DK_GHOUL_EXPLODE = 47496,
  SPELL_DK_GLYPH_OF_ABSORB_MAGIC = 159415, SPELL_DK_GLYPH_OF_ANTI_MAGIC_SHELL = 58623, SPELL_DK_GLYPH_OF_ARMY_OF_THE_DEAD = 58669, SPELL_DK_GLYPH_OF_DEATH_COIL = 63333,
  SPELL_DK_GLYPH_OF_DEATH_AND_DECAY = 58629, SPELL_DK_GLYPH_OF_FOUL_MENAGERIE = 58642, SPELL_DK_GLYPH_OF_REGENERATIVE_MAGIC = 146648, SPELL_DK_GLYPH_OF_RUNIC_POWER_TRIGGERED = 159430,
  SPELL_DK_GLYPH_OF_SWIFT_DEATH = 146645, SPELL_DK_GLYPH_OF_THE_GEIST = 58640, SPELL_DK_GLYPH_OF_THE_SKELETON = 146652, SPELL_DK_IMPROVED_BLOOD_PRESENCE = 50371,
  SPELL_DK_IMPROVED_SOUL_REAPER = 157342, SPELL_DK_RUNIC_POWER_ENERGIZE = 49088, SPELL_DK_SCENT_OF_BLOOD = 49509, SPELL_DK_SCENT_OF_BLOOD_TRIGGERED = 50421,
  SPELL_DK_SCOURGE_STRIKE_TRIGGERED = 70890, SPELL_DK_SHADOW_OF_DEATH = 164047, SPELL_DK_SOUL_REAPER_DAMAGE = 114867, SPELL_DK_SOUL_REAPER_HASTE = 114868,
  SPELL_DK_T15_DPS_4P_BONUS = 138347, SPELL_DK_UNHOLY_PRESENCE = 48265, SPELL_DK_WILL_OF_THE_NECROPOLIS = 157335
}
 

Functions

void AddSC_deathknight_spell_scripts ()
 

Variables

static const uint32
ArmyTransforms[6] 
SPELL_DK_ARMY_FLESH_BEAST_TRANSFORM = 127533
 
static const uint32
ArmyTransforms[6] 
SPELL_DK_ARMY_GEIST_TRANSFORM = 127534
 
static const uint32
ArmyTransforms[6] 
SPELL_DK_ARMY_NORTHREND_SKELETON_TRANSFORM = 127528
 
static const uint32
ArmyTransforms[6] 
SPELL_DK_ARMY_SKELETON_TRANSFORM = 127527
 
static const uint32
ArmyTransforms[6] 
SPELL_DK_ARMY_SPIKED_GHOUL_TRANSFORM = 127525
 
static const uint32
ArmyTransforms[6] 
SPELL_DK_ARMY_SUPER_ZOMBIE_TRANSFORM = 127526
 

Enumeration Type Documentation

Enumerator
SPELL_DK_SUMMON_GARGOYLE_1 
SPELL_DK_SUMMON_GARGOYLE_2 
SPELL_DK_DISMISS_GARGOYLE 
SPELL_DK_SANCTUARY 
SPELL_DK_BLOOD_PLAGUE 
SPELL_DK_BLOOD_PRESENCE 
SPELL_DK_BLOOD_SHIELD_MASTERY 
SPELL_DK_BLOOD_SHIELD_ABSORB 
SPELL_DK_CHAINS_OF_ICE 
SPELL_DK_CORPSE_EXPLOSION_TRIGGERED 
SPELL_DK_DEATH_AND_DECAY_DAMAGE 
SPELL_DK_DEATH_AND_DECAY_SLOW 
SPELL_DK_DEATH_COIL_BARRIER 
SPELL_DK_DEATH_COIL_DAMAGE 
SPELL_DK_DEATH_COIL_HEAL 
SPELL_DK_DEATH_GRIP 
SPELL_DK_DEATH_STRIKE_HEAL 
SPELL_DK_ENHANCED_DEATH_COIL 
SPELL_DK_FROST_FEVER 
SPELL_DK_GHOUL_EXPLODE 
SPELL_DK_GLYPH_OF_ABSORB_MAGIC 
SPELL_DK_GLYPH_OF_ANTI_MAGIC_SHELL 
SPELL_DK_GLYPH_OF_ARMY_OF_THE_DEAD 
SPELL_DK_GLYPH_OF_DEATH_COIL 
SPELL_DK_GLYPH_OF_DEATH_AND_DECAY 
SPELL_DK_GLYPH_OF_FOUL_MENAGERIE 
SPELL_DK_GLYPH_OF_REGENERATIVE_MAGIC 
SPELL_DK_GLYPH_OF_RUNIC_POWER_TRIGGERED 
SPELL_DK_GLYPH_OF_SWIFT_DEATH 
SPELL_DK_GLYPH_OF_THE_GEIST 
SPELL_DK_GLYPH_OF_THE_SKELETON 
SPELL_DK_IMPROVED_BLOOD_PRESENCE 
SPELL_DK_IMPROVED_SOUL_REAPER 
SPELL_DK_RUNIC_POWER_ENERGIZE 
SPELL_DK_SCENT_OF_BLOOD 
SPELL_DK_SCENT_OF_BLOOD_TRIGGERED 
SPELL_DK_SCOURGE_STRIKE_TRIGGERED 
SPELL_DK_SHADOW_OF_DEATH 
SPELL_DK_SOUL_REAPER_DAMAGE 
SPELL_DK_SOUL_REAPER_HASTE 
SPELL_DK_T15_DPS_4P_BONUS 
SPELL_DK_UNHOLY_PRESENCE 
SPELL_DK_WILL_OF_THE_NECROPOLIS 
32 {
39  SPELL_DK_BLOOD_PLAGUE = 55078,
43  SPELL_DK_CHAINS_OF_ICE = 45524,
50  SPELL_DK_DEATH_GRIP = 49560,
53  SPELL_DK_FROST_FEVER = 55095,
54  SPELL_DK_GHOUL_EXPLODE = 47496,
72  SPELL_DK_SHADOW_OF_DEATH = 164047,
78 };
Definition: spell_dk.cpp:67
Definition: spell_dk.cpp:77
static const uint32 ArmyTransforms[6] SPELL_DK_ARMY_GEIST_TRANSFORM
Definition: spell_dk.cpp:215
Definition: spell_dk.cpp:66
Definition: spell_dk.cpp:45
static const uint32 ArmyTransforms[6] SPELL_DK_ARMY_SPIKED_GHOUL_TRANSFORM
Definition: spell_dk.cpp:215
Definition: spell_dk.cpp:71
Definition: spell_dk.cpp:40
Definition: spell_dk.cpp:69
Definition: spell_dk.cpp:63
Definition: spell_dk.cpp:58
Definition: spell_dk.cpp:72
Definition: spell_dk.cpp:61
Definition: spell_dk.cpp:64
Definition: spell_dk.cpp:51
Definition: spell_dk.cpp:49
static const uint32 ArmyTransforms[6] SPELL_DK_ARMY_NORTHREND_SKELETON_TRANSFORM
Definition: spell_dk.cpp:215
Definition: spell_dk.cpp:43
Definition: spell_dk.cpp:44
Definition: spell_dk.cpp:56
Definition: spell_dk.cpp:68
Definition: spell_dk.cpp:57
Definition: spell_dk.cpp:48
Definition: spell_dk.cpp:75
Definition: spell_dk.cpp:59
static const uint32 ArmyTransforms[6] SPELL_DK_ARMY_SUPER_ZOMBIE_TRANSFORM
Definition: spell_dk.cpp:215
static const uint32 ArmyTransforms[6] SPELL_DK_ARMY_SKELETON_TRANSFORM
Definition: spell_dk.cpp:215
Definition: spell_dk.cpp:42
Definition: spell_dk.cpp:70
Definition: spell_dk.cpp:73
Definition: spell_dk.cpp:55
Definition: spell_dk.cpp:39
Definition: spell_dk.cpp:52
Definition: spell_dk.cpp:50
Definition: spell_dk.cpp:65
static const uint32 ArmyTransforms[6] SPELL_DK_ARMY_FLESH_BEAST_TRANSFORM
Definition: spell_dk.cpp:215
Definition: spell_dk.cpp:74
Definition: spell_dk.cpp:76
Definition: spell_dk.cpp:41
Definition: spell_dk.cpp:46
Definition: spell_dk.cpp:47
Definition: spell_dk.cpp:53
Definition: spell_dk.cpp:60
Definition: spell_dk.cpp:62
Definition: spell_dk.cpp:54

Function Documentation

void AddSC_deathknight_spell_scripts ( )
1169 {
1173  new spell_dk_blood_boil();
1175  new spell_dk_death_coil();
1176  new spell_dk_death_gate();
1177  new spell_dk_death_grip();
1178  new spell_dk_death_pact();
1179  new spell_dk_death_strike();
1181  new spell_dk_ghoul_explode();
1187  new spell_dk_raise_dead();
1188  new spell_dk_soul_reaper();
1189  new spell_dk_unholy_blight();
1193 }
6.x
Definition: spell_dk.cpp:1078
6.x
Definition: spell_dk.cpp:375
6.x
Definition: spell_dk.cpp:1021
Definition: spell_dk.cpp:544
6.x
Definition: spell_dk.cpp:756
6.x, does this belong here or in spell_generic? where do we cast this? sniffs say this is only cast w...
Definition: spell_dk.cpp:225
6.x, does this belong here or in spell_generic? apply this in creature_template_addon? sniffs say this is always cast on raise dead.
Definition: spell_dk.cpp:861
6.x
Definition: spell_dk.cpp:832
6.x
Definition: spell_dk.cpp:579
Definition: spell_dk.cpp:711
6.x, does this belong here or in spell_generic? apply this in creature_template_addon? sniffs say this is always cast on raise dead.
Definition: spell_dk.cpp:898
6.x
Definition: spell_dk.cpp:654
6.x
Definition: spell_dk.cpp:426
6.x
Definition: spell_dk.cpp:785
6.x
Definition: spell_dk.cpp:1050
6.x
Definition: spell_dk.cpp:268
6.x
Definition: spell_dk.cpp:930
6.x
Definition: spell_dk.cpp:974
Definition: spell_dk.cpp:1125
6.x
Definition: spell_dk.cpp:608
Definition: spell_dk.cpp:503
6.x, does this belong here or in spell_generic? apply this in creature_template_addon? sniffs say this is always cast army of the dead ghouls.
Definition: spell_dk.cpp:178
6.x
Definition: spell_dk.cpp:82

+ Here is the caller graph for this function:

Variable Documentation

SPELL_DK_ARMY_FLESH_BEAST_TRANSFORM = 127533
static
SPELL_DK_ARMY_GEIST_TRANSFORM = 127534
static
SPELL_DK_ARMY_NORTHREND_SKELETON_TRANSFORM = 127528
static
SPELL_DK_ARMY_SKELETON_TRANSFORM = 127527
static
SPELL_DK_ARMY_SPIKED_GHOUL_TRANSFORM = 127525
static
SPELL_DK_ARMY_SUPER_ZOMBIE_TRANSFORM = 127526
static