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

Classes

class  spell_warl_aftermath
 
class  spell_warl_aftermath::spell_warl_aftermath_AuraScript
 
class  spell_warl_banish
 
class  spell_warl_banish::spell_warl_banish_SpellScript
 
class  spell_warl_conflagrate
 
class  spell_warl_conflagrate::spell_warl_conflagrate_SpellScript
 
class  spell_warl_create_healthstone
 
class  spell_warl_create_healthstone::spell_warl_create_healthstone_SpellScript
 
class  spell_warl_bane_of_doom
 Updated 4.3.4. More...
 
class  spell_warl_bane_of_doom::spell_warl_curse_of_doom_AuraScript
 
class  spell_warl_demonic_circle_summon
 Updated 4.3.4. More...
 
class  spell_warl_demonic_circle_summon::spell_warl_demonic_circle_summon_AuraScript
 
class  spell_warl_demonic_circle_teleport
 Updated 4.3.4. More...
 
class  spell_warl_demonic_circle_teleport::spell_warl_demonic_circle_teleport_AuraScript
 
class  spell_warl_demon_soul
 
class  spell_warl_demon_soul::spell_warl_demon_soul_SpellScript
 
class  spell_warl_demonic_empowerment
 Updated 4.3.4. More...
 
class  spell_warl_demonic_empowerment::spell_warl_demonic_empowerment_SpellScript
 
class  spell_warl_devour_magic
 
class  spell_warl_devour_magic::spell_warl_devour_magic_SpellScript
 
class  spell_warl_everlasting_affliction
 Updated 4.3.4. More...
 
class  spell_warl_everlasting_affliction::spell_warl_everlasting_affliction_SpellScript
 
class  spell_warl_fel_synergy
 
class  spell_warl_fel_synergy::spell_warl_fel_synergy_AuraScript
 
class  spell_warl_glyph_of_shadowflame
 
class  spell_warl_glyph_of_shadowflame::spell_warl_glyph_of_shadowflame_AuraScript
 
class  spell_warl_haunt
 Updated 4.3.4. More...
 
class  spell_warl_haunt::spell_warl_haunt_SpellScript
 
class  spell_warl_haunt::spell_warl_haunt_AuraScript
 
class  spell_warl_health_funnel
 Updated 4.3.4. More...
 
class  spell_warl_health_funnel::spell_warl_health_funnel_AuraScript
 
class  spell_warl_healthstone_heal
 
class  spell_warl_healthstone_heal::spell_warl_healthstone_heal_SpellScript
 
class  spell_warl_improved_soul_fire
 
class  spell_warl_improved_soul_fire::spell_warl_improved_soul_fire_AuraScript
 
class  spell_warl_nether_ward_overrride
 Updated 4.3.4. More...
 
class  spell_warl_nether_ward_overrride::spell_warl_nether_ward_overrride_AuraScript
 
class  spell_warl_seduction
 
class  spell_warl_seduction::spell_warl_seduction_SpellScript
 
class  spell_warl_seed_of_corruption
 Updated 4.3.4. More...
 
class  spell_warl_seed_of_corruption::spell_warl_seed_of_corruption_SpellScript
 
class  spell_warl_shadow_trance_proc
 
class  spell_warl_shadow_trance_proc::spell_warl_shadow_trance_proc_AuraScript
 
class  spell_warl_shadow_ward
 
class  spell_warl_shadow_ward::spell_warl_shadow_ward_AuraScript
 
class  spell_warl_soul_leech
 
class  spell_warl_soul_leech::spell_warl_soul_leech_AuraScript
 
class  spell_warl_soul_swap
 
class  spell_warl_soul_swap::spell_warl_soul_swap_SpellScript
 
class  spell_warl_soul_swap_override
 
class  spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript
 
class  spell_warl_soul_swap_dot_marker
 Soul Swap Copy Spells - 92795 - Simply copies spell IDs. More...
 
class  spell_warl_soul_swap_dot_marker::spell_warl_soul_swap_dot_marker_SpellScript
 
class  spell_warl_soul_swap_exhale
 
class  spell_warl_soul_swap_exhale::spell_warl_soul_swap_exhale_SpellScript
 
class  spell_warl_soulshatter
 Updated 4.3.4. More...
 
class  spell_warl_soulshatter::spell_warl_soulshatter_SpellScript
 
class  spell_warl_unstable_affliction
 Updated 4.3.4. More...
 
class  spell_warl_unstable_affliction::spell_warl_unstable_affliction_AuraScript
 

Macros

#define SoulSwapOverrideScriptName   "spell_warl_soul_swap_override"
 

Typedefs

typedef
spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript 
SoulSwapOverrideAuraScript
 

Enumerations

enum  WarlockSpells {
  SPELL_IMMOLATE = 44267, SPELL_SHADOW_BOLT = 12471, SPELL_SEED_OF_CORRUPTION = 44141, SPELL_CURSE_OF_AGONY = 14875,
  SPELL_FEAR = 38595, SPELL_IMP_FIREBALL = 44164, SPELL_SUMMON_IMP = 44163, SPELL_WARLOCK_AFTERMATH_STUN = 85387,
  SPELL_WARLOCK_BANE_OF_DOOM_EFFECT = 18662, SPELL_WARLOCK_CREATE_HEALTHSTONE = 34130, SPELL_WARLOCK_CURSE_OF_DOOM_EFFECT = 18662, SPELL_WARLOCK_DEMONIC_CIRCLE_ALLOW_CAST = 62388,
  SPELL_WARLOCK_DEMONIC_CIRCLE_SUMMON = 48018, SPELL_WARLOCK_DEMONIC_CIRCLE_TELEPORT = 48020, SPELL_WARLOCK_DEMONIC_EMPOWERMENT_FELGUARD = 54508, SPELL_WARLOCK_DEMONIC_EMPOWERMENT_FELHUNTER = 54509,
  SPELL_WARLOCK_DEMONIC_EMPOWERMENT_IMP = 54444, SPELL_WARLOCK_DEMONIC_EMPOWERMENT_SUCCUBUS = 54435, SPELL_WARLOCK_DEMONIC_EMPOWERMENT_VOIDWALKER = 54443, SPELL_WARLOCK_DEMON_SOUL_IMP = 79459,
  SPELL_WARLOCK_DEMON_SOUL_FELHUNTER = 79460, SPELL_WARLOCK_DEMON_SOUL_FELGUARD = 79452, SPELL_WARLOCK_DEMON_SOUL_SUCCUBUS = 79453, SPELL_WARLOCK_DEMON_SOUL_VOIDWALKER = 79454,
  SPELL_WARLOCK_DEVOUR_MAGIC_HEAL = 19658, SPELL_WARLOCK_FEL_SYNERGY_HEAL = 54181, SPELL_WARLOCK_GLYPH_OF_DEMON_TRAINING = 56249, SPELL_WARLOCK_GLYPH_OF_SHADOWFLAME = 63311,
  SPELL_WARLOCK_GLYPH_OF_SIPHON_LIFE = 63106, SPELL_WARLOCK_GLYPH_OF_SOUL_SWAP = 56226, SPELL_WARLOCK_GLYPH_OF_SUCCUBUS = 56250, SPELL_WARLOCK_HAUNT = 48181,
  SPELL_WARLOCK_HAUNT_HEAL = 48210, SPELL_WARLOCK_IMMOLATE = 348, SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R1 = 60955, SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R2 = 60956,
  SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_R1 = 18703, SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_R2 = 18704, SPELL_WARLOCK_IMPROVED_SOUL_FIRE_PCT = 85383, SPELL_WARLOCK_IMPROVED_SOUL_FIRE_STATE = 85385,
  SPELL_WARLOCK_LIFE_TAP_ENERGIZE = 31818, SPELL_WARLOCK_LIFE_TAP_ENERGIZE_2 = 32553, SPELL_WARLOCK_NETHER_WARD = 91711, SPELL_WARLOCK_NETHER_TALENT = 91713,
  SPELL_WARLOCK_RAIN_OF_FIRE = 42223, SPELL_WARLOCK_SHADOW_TRANCE = 17941, SPELL_WARLOCK_SIPHON_LIFE_HEAL = 63106, SPELL_WARLOCK_SHADOW_WARD = 6229,
  SPELL_WARLOCK_SOULSHATTER = 32835, SPELL_WARLOCK_SOUL_SWAP_CD_MARKER = 94229, SPELL_WARLOCK_SOUL_SWAP_OVERRIDE = 86211, SPELL_WARLOCK_SOUL_SWAP_MOD_COST = 92794,
  SPELL_WARLOCK_SOUL_SWAP_DOT_MARKER = 92795, SPELL_WARLOCK_UNSTABLE_AFFLICTION = 30108, SPELL_WARLOCK_UNSTABLE_AFFLICTION_DISPEL = 31117
}
 
enum  WarlockSpellIcons { WARLOCK_ICON_ID_IMPROVED_LIFE_TAP = 208, WARLOCK_ICON_ID_MANA_FEED = 1982 }
 
enum  MiscSpells {
  SPELL_PORTAL_PERIODIC = 58008, SPELL_PORTAL_CHANNEL = 58012, SPELL_CRYSTAL_ACTIVATION = 57804, SPELL_TELEPORT_PLAYER = 62138,
  SPELL_TELEPORT_PLAYER_EFFECT = 62139, SPELL_DRAENEI_GIFT_OF_THE_NAARU = 59543, SPELL_MAGE_TEMPORAL_DISPLACEMENT = 80354, SPELL_SHAMAN_EXHAUSTION = 57723,
  SPELL_SHAMAN_SATED = 57724, SPELL_HUNTER_INSANITY = 95809, SPELL_PRIEST_SHADOW_WORD_DEATH = 32409, SPELL_SHAMAN_EXHAUSTION = 57723,
  SPELL_SHAMAN_SATED = 57724, SPELL_GENERIC_ARENA_DAMPENING = 74410, SPELL_GENERIC_BATTLEGROUND_DAMPENING = 74411, SPELL_GEN_REPLENISHMENT = 57669,
  SPELL_HUNTER_INSANITY = 95809, SPELL_MAGE_TEMPORAL_DISPLACEMENT = 80354, SPELL_GEN_REPLENISHMENT = 57669, SPELL_PRIEST_SHADOW_WORD_DEATH = 32409,
  SPELL_PALADIN_BLESSING_OF_SANCTUARY = 20911, SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY = 25899, SPELL_PRIEST_RENEWED_HOPE = 63944
}
 

Functions

void AddSC_warlock_spell_scripts ()
 

Macro Definition Documentation

#define SoulSwapOverrideScriptName   "spell_warl_soul_swap_override"

Typedef Documentation

Enumeration Type Documentation

enum MiscSpells
Enumerator
SPELL_PORTAL_PERIODIC 
SPELL_PORTAL_CHANNEL 
SPELL_CRYSTAL_ACTIVATION 
SPELL_TELEPORT_PLAYER 
SPELL_TELEPORT_PLAYER_EFFECT 
SPELL_DRAENEI_GIFT_OF_THE_NAARU 
SPELL_MAGE_TEMPORAL_DISPLACEMENT 
SPELL_SHAMAN_EXHAUSTION 
SPELL_SHAMAN_SATED 
SPELL_HUNTER_INSANITY 
SPELL_PRIEST_SHADOW_WORD_DEATH 
SPELL_SHAMAN_EXHAUSTION 
SPELL_SHAMAN_SATED 
SPELL_GENERIC_ARENA_DAMPENING 
SPELL_GENERIC_BATTLEGROUND_DAMPENING 
SPELL_GEN_REPLENISHMENT 
SPELL_HUNTER_INSANITY 
SPELL_MAGE_TEMPORAL_DISPLACEMENT 
SPELL_GEN_REPLENISHMENT 
SPELL_PRIEST_SHADOW_WORD_DEATH 
SPELL_PALADIN_BLESSING_OF_SANCTUARY 
SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY 
SPELL_PRIEST_RENEWED_HOPE 
89 {
92 };
Definition: spell_warlock.cpp:90
Definition: spell_warlock.cpp:91
Enumerator
WARLOCK_ICON_ID_IMPROVED_LIFE_TAP 
WARLOCK_ICON_ID_MANA_FEED 
83 {
86 };
Definition: spell_warlock.cpp:85
Definition: spell_warlock.cpp:84
Enumerator
SPELL_IMMOLATE 
SPELL_SHADOW_BOLT 
SPELL_SEED_OF_CORRUPTION 
SPELL_CURSE_OF_AGONY 
SPELL_FEAR 
SPELL_IMP_FIREBALL 
SPELL_SUMMON_IMP 
SPELL_WARLOCK_AFTERMATH_STUN 
SPELL_WARLOCK_BANE_OF_DOOM_EFFECT 
SPELL_WARLOCK_CREATE_HEALTHSTONE 
SPELL_WARLOCK_CURSE_OF_DOOM_EFFECT 
SPELL_WARLOCK_DEMONIC_CIRCLE_ALLOW_CAST 
SPELL_WARLOCK_DEMONIC_CIRCLE_SUMMON 
SPELL_WARLOCK_DEMONIC_CIRCLE_TELEPORT 
SPELL_WARLOCK_DEMONIC_EMPOWERMENT_FELGUARD 
SPELL_WARLOCK_DEMONIC_EMPOWERMENT_FELHUNTER 
SPELL_WARLOCK_DEMONIC_EMPOWERMENT_IMP 
SPELL_WARLOCK_DEMONIC_EMPOWERMENT_SUCCUBUS 
SPELL_WARLOCK_DEMONIC_EMPOWERMENT_VOIDWALKER 
SPELL_WARLOCK_DEMON_SOUL_IMP 
SPELL_WARLOCK_DEMON_SOUL_FELHUNTER 
SPELL_WARLOCK_DEMON_SOUL_FELGUARD 
SPELL_WARLOCK_DEMON_SOUL_SUCCUBUS 
SPELL_WARLOCK_DEMON_SOUL_VOIDWALKER 
SPELL_WARLOCK_DEVOUR_MAGIC_HEAL 
SPELL_WARLOCK_FEL_SYNERGY_HEAL 
SPELL_WARLOCK_GLYPH_OF_DEMON_TRAINING 
SPELL_WARLOCK_GLYPH_OF_SHADOWFLAME 
SPELL_WARLOCK_GLYPH_OF_SIPHON_LIFE 
SPELL_WARLOCK_GLYPH_OF_SOUL_SWAP 
SPELL_WARLOCK_GLYPH_OF_SUCCUBUS 
SPELL_WARLOCK_HAUNT 
SPELL_WARLOCK_HAUNT_HEAL 
SPELL_WARLOCK_IMMOLATE 
SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R1 
SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R2 
SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_R1 
SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_R2 
SPELL_WARLOCK_IMPROVED_SOUL_FIRE_PCT 
SPELL_WARLOCK_IMPROVED_SOUL_FIRE_STATE 
SPELL_WARLOCK_LIFE_TAP_ENERGIZE 
SPELL_WARLOCK_LIFE_TAP_ENERGIZE_2 
SPELL_WARLOCK_NETHER_WARD 
SPELL_WARLOCK_NETHER_TALENT 
SPELL_WARLOCK_RAIN_OF_FIRE 
SPELL_WARLOCK_SHADOW_TRANCE 
SPELL_WARLOCK_SIPHON_LIFE_HEAL 
SPELL_WARLOCK_SHADOW_WARD 
SPELL_WARLOCK_SOULSHATTER 
SPELL_WARLOCK_SOUL_SWAP_CD_MARKER 
SPELL_WARLOCK_SOUL_SWAP_OVERRIDE 
SPELL_WARLOCK_SOUL_SWAP_MOD_COST 
SPELL_WARLOCK_SOUL_SWAP_DOT_MARKER 
SPELL_WARLOCK_UNSTABLE_AFFLICTION 
SPELL_WARLOCK_UNSTABLE_AFFLICTION_DISPEL 
31 {
56  SPELL_WARLOCK_HAUNT = 48181,
80 };
Definition: spell_warlock.cpp:60
Definition: spell_warlock.cpp:72
Definition: spell_warlock.cpp:38
Definition: spell_warlock.cpp:45
Definition: spell_warlock.cpp:54
Definition: spell_warlock.cpp:47
Definition: spell_warlock.cpp:58
Definition: spell_warlock.cpp:69
Definition: spell_warlock.cpp:59
Definition: spell_warlock.cpp:36
Definition: spell_warlock.cpp:32
Definition: spell_warlock.cpp:61
Definition: spell_warlock.cpp:42
Definition: spell_warlock.cpp:34
Definition: spell_warlock.cpp:55
Definition: spell_warlock.cpp:67
Definition: spell_warlock.cpp:41
Definition: spell_warlock.cpp:39
Definition: spell_warlock.cpp:44
Definition: spell_warlock.cpp:51
Definition: spell_warlock.cpp:40
Definition: spell_warlock.cpp:63
Definition: spell_warlock.cpp:50
Definition: spell_warlock.cpp:52
Definition: spell_warlock.cpp:53
Definition: spell_warlock.cpp:48
Definition: spell_warlock.cpp:78
Definition: spell_warlock.cpp:57
Definition: spell_warlock.cpp:65
Definition: spell_warlock.cpp:49
Definition: spell_warlock.cpp:75
Definition: spell_warlock.cpp:71
Definition: spell_warlock.cpp:56
Definition: spell_warlock.cpp:77
Definition: spell_warlock.cpp:76
Definition: spell_warlock.cpp:35
Definition: spell_warlock.cpp:43
Definition: spell_warlock.cpp:68
Definition: spell_warlock.cpp:62
Definition: spell_warlock.cpp:74
Definition: spell_warlock.cpp:79
Definition: spell_warlock.cpp:64
Definition: spell_warlock.cpp:37
Definition: spell_warlock.cpp:70
Definition: spell_warlock.cpp:46
Definition: spell_warlock.cpp:66
Definition: spell_warlock.cpp:73
Definition: spell_warlock.cpp:33

Function Documentation

void AddSC_warlock_spell_scripts ( )
1454 {
1455  new spell_warl_aftermath();
1457  new spell_warl_banish();
1458  new spell_warl_conflagrate();
1463  new spell_warl_demon_soul();
1466  //new spell_warl_fel_flame();
1467  new spell_warl_fel_synergy();
1469  new spell_warl_haunt();
1473  //new spell_warl_life_tap();
1475  new spell_warl_seduction();
1478  new spell_warl_shadow_ward();
1479  new spell_warl_soul_leech();
1480  new spell_warl_soul_swap();
1484  new spell_warl_soulshatter();
1486 }
Definition: spell_warlock.cpp:659
Definition: spell_warlock.cpp:95
Updated 4.3.4.
Definition: spell_warlock.cpp:266
Soul Swap Copy Spells - 92795 - Simply copies spell IDs.
Definition: spell_warlock.cpp:1246
Definition: spell_warlock.cpp:226
Updated 4.3.4.
Definition: spell_warlock.cpp:1414
Updated 4.3.4.
Definition: spell_warlock.cpp:695
Updated 4.3.4.
Definition: spell_warlock.cpp:579
Definition: spell_warlock.cpp:616
Updated 4.3.4.
Definition: spell_warlock.cpp:469
Definition: spell_warlock.cpp:995
Definition: spell_warlock.cpp:1214
Updated 4.3.4.
Definition: spell_warlock.cpp:756
Updated 4.3.4.
Definition: spell_warlock.cpp:314
Definition: spell_warlock.cpp:1069
Definition: spell_warlock.cpp:1175
Definition: spell_warlock.cpp:190
Definition: spell_warlock.cpp:401
Definition: spell_warlock.cpp:818
Updated 4.3.4.
Definition: spell_warlock.cpp:1376
Updated 4.3.4.
Definition: spell_warlock.cpp:956
Definition: spell_warlock.cpp:135
Definition: spell_warlock.cpp:1104
Updated 4.3.4.
Definition: spell_warlock.cpp:1040
Definition: spell_warlock.cpp:1296
Definition: spell_warlock.cpp:1141
Definition: spell_warlock.cpp:846
Updated 4.3.4.
Definition: spell_warlock.cpp:367
Definition: spell_warlock.cpp:531

+ Here is the caller graph for this function: