AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
spell_warrior.cpp File Reference
#include "CreatureScript.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"

Go to the source code of this file.

Classes

class  spell_warr_mocking_blow
 
class  spell_warr_victory_rush
 
class  spell_warr_intervene
 
class  spell_warr_improved_spell_reflection
 
class  spell_warr_improved_spell_reflection_trigger
 
class  spell_warr_improved_spell_reflection_trigger_aura
 
class  spell_warr_last_stand
 
class  spell_warr_deep_wounds
 
class  spell_warr_charge
 
class  spell_warr_slam
 
class  spell_warr_damage_shield
 
class  spell_warr_execute
 
class  spell_warr_concussion_blow
 
class  spell_warr_bloodthirst
 
class  spell_warr_bloodthirst_heal
 
class  spell_warr_overpower
 
class  spell_warr_intimidating_shout
 
class  spell_warr_rend
 
class  spell_warr_shattering_throw
 
class  spell_warr_sweeping_strikes
 
class  spell_warr_vigilance
 
class  spell_warr_vigilance_trigger
 
class  spell_warr_glyph_of_sunder_armor
 
class  spell_warr_t3_prot_8p_bonus
 
class  spell_warr_retaliation
 

Enumerations

enum  WarriorSpells {
  SPELL_WARRIOR_INTERVENE_TRIGGER = 59667 ,
  SPELL_WARRIOR_SPELL_REFLECTION = 23920 ,
  SPELL_WARRIOR_IMPROVED_SPELL_REFLECTION_TRIGGER = 59725 ,
  SPELL_WARRIOR_BLOODTHIRST = 23885 ,
  SPELL_WARRIOR_BLOODTHIRST_DAMAGE = 23881 ,
  SPELL_WARRIOR_CHARGE = 34846 ,
  SPELL_WARRIOR_DAMAGE_SHIELD_DAMAGE = 59653 ,
  SPELL_WARRIOR_DEEP_WOUNDS_RANK_1 = 12162 ,
  SPELL_WARRIOR_DEEP_WOUNDS_RANK_2 = 12850 ,
  SPELL_WARRIOR_DEEP_WOUNDS_RANK_3 = 12868 ,
  SPELL_WARRIOR_DEEP_WOUNDS_RANK_PERIODIC = 12721 ,
  SPELL_WARRIOR_EXECUTE = 20647 ,
  SPELL_WARRIOR_GLYPH_OF_EXECUTION = 58367 ,
  SPELL_WARRIOR_GLYPH_OF_VIGILANCE = 63326 ,
  SPELL_WARRIOR_JUGGERNAUT_CRIT_BONUS_BUFF = 65156 ,
  SPELL_WARRIOR_JUGGERNAUT_CRIT_BONUS_TALENT = 64976 ,
  SPELL_WARRIOR_LAST_STAND_TRIGGERED = 12976 ,
  SPELL_WARRIOR_RETALIATION_DAMAGE = 22858 ,
  SPELL_WARRIOR_SLAM = 50783 ,
  SPELL_WARRIOR_SUNDER_ARMOR = 58567 ,
  SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_1 = 12723 ,
  SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2 = 26654 ,
  SPELL_WARRIOR_TAUNT = 355 ,
  SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_1 = 46859 ,
  SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_2 = 46860 ,
  SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_1 = 64849 ,
  SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_2 = 64850 ,
  SPELL_WARRIOR_VIGILANCE_PROC = 50725 ,
  SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT = 59665 ,
  SPELL_WARRIOR_WHIRLWIND_MAIN = 50622 ,
  SPELL_WARRIOR_WHIRLWIND_OFF = 44949
}
 
enum  WarriorSpellIcons { WARRIOR_ICON_ID_SUDDEN_DEATH = 1989 }
 
enum  MiscSpells {
  SPELL_PALADIN_BLESSING_OF_SANCTUARY = 20911 ,
  SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY = 25899 ,
  SPELL_PRIEST_RENEWED_HOPE = 63944 ,
  SPELL_GEN_DAMAGE_REDUCTION_AURA = 68066
}
 
enum  VictoryRushEnum { SPELL_VICTORIOUS = 32216 }
 
enum  CheatDeath { SPELL_CHEAT_DEATH_TRIGGER = 28846 }
 

Functions

void AddSC_warrior_spell_scripts ()
 

Enumeration Type Documentation

◆ CheatDeath

enum CheatDeath
Enumerator
SPELL_CHEAT_DEATH_TRIGGER 
836{
838};
@ SPELL_CHEAT_DEATH_TRIGGER
Definition: spell_warrior.cpp:837

◆ MiscSpells

enum MiscSpells
Enumerator
SPELL_PALADIN_BLESSING_OF_SANCTUARY 
SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY 
SPELL_PRIEST_RENEWED_HOPE 
SPELL_GEN_DAMAGE_REDUCTION_AURA 
72{
77};
@ SPELL_PALADIN_BLESSING_OF_SANCTUARY
Definition: spell_warrior.cpp:73
@ SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY
Definition: spell_warrior.cpp:74
@ SPELL_PRIEST_RENEWED_HOPE
Definition: spell_warrior.cpp:75
@ SPELL_GEN_DAMAGE_REDUCTION_AURA
Definition: spell_warrior.cpp:76

◆ VictoryRushEnum

Enumerator
SPELL_VICTORIOUS 
97{
98 SPELL_VICTORIOUS = 32216
99};
@ SPELL_VICTORIOUS
Definition: spell_warrior.cpp:98

◆ WarriorSpellIcons

Enumerator
WARRIOR_ICON_ID_SUDDEN_DEATH 
67{
69};
@ WARRIOR_ICON_ID_SUDDEN_DEATH
Definition: spell_warrior.cpp:68

◆ WarriorSpells

Enumerator
SPELL_WARRIOR_INTERVENE_TRIGGER 
SPELL_WARRIOR_SPELL_REFLECTION 
SPELL_WARRIOR_IMPROVED_SPELL_REFLECTION_TRIGGER 
SPELL_WARRIOR_BLOODTHIRST 
SPELL_WARRIOR_BLOODTHIRST_DAMAGE 
SPELL_WARRIOR_CHARGE 
SPELL_WARRIOR_DAMAGE_SHIELD_DAMAGE 
SPELL_WARRIOR_DEEP_WOUNDS_RANK_1 
SPELL_WARRIOR_DEEP_WOUNDS_RANK_2 
SPELL_WARRIOR_DEEP_WOUNDS_RANK_3 
SPELL_WARRIOR_DEEP_WOUNDS_RANK_PERIODIC 
SPELL_WARRIOR_EXECUTE 
SPELL_WARRIOR_GLYPH_OF_EXECUTION 
SPELL_WARRIOR_GLYPH_OF_VIGILANCE 
SPELL_WARRIOR_JUGGERNAUT_CRIT_BONUS_BUFF 
SPELL_WARRIOR_JUGGERNAUT_CRIT_BONUS_TALENT 
SPELL_WARRIOR_LAST_STAND_TRIGGERED 
SPELL_WARRIOR_RETALIATION_DAMAGE 
SPELL_WARRIOR_SLAM 
SPELL_WARRIOR_SUNDER_ARMOR 
SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_1 
SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2 
SPELL_WARRIOR_TAUNT 
SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_1 
SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_2 
SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_1 
SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_2 
SPELL_WARRIOR_VIGILANCE_PROC 
SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT 
SPELL_WARRIOR_WHIRLWIND_MAIN 
SPELL_WARRIOR_WHIRLWIND_OFF 
32{
51 SPELL_WARRIOR_SLAM = 50783,
64};
@ SPELL_WARRIOR_DEEP_WOUNDS_RANK_1
Definition: spell_warrior.cpp:40
@ SPELL_WARRIOR_RETALIATION_DAMAGE
Definition: spell_warrior.cpp:50
@ SPELL_WARRIOR_BLOODTHIRST
Definition: spell_warrior.cpp:36
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_1
Definition: spell_warrior.cpp:58
@ SPELL_WARRIOR_GLYPH_OF_EXECUTION
Definition: spell_warrior.cpp:45
@ SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT
Definition: spell_warrior.cpp:61
@ SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_1
Definition: spell_warrior.cpp:53
@ SPELL_WARRIOR_DEEP_WOUNDS_RANK_PERIODIC
Definition: spell_warrior.cpp:43
@ SPELL_WARRIOR_DEEP_WOUNDS_RANK_2
Definition: spell_warrior.cpp:41
@ SPELL_WARRIOR_TAUNT
Definition: spell_warrior.cpp:55
@ SPELL_WARRIOR_VIGILANCE_PROC
Definition: spell_warrior.cpp:60
@ SPELL_WARRIOR_DEEP_WOUNDS_RANK_3
Definition: spell_warrior.cpp:42
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_1
Definition: spell_warrior.cpp:56
@ SPELL_WARRIOR_DAMAGE_SHIELD_DAMAGE
Definition: spell_warrior.cpp:39
@ SPELL_WARRIOR_LAST_STAND_TRIGGERED
Definition: spell_warrior.cpp:49
@ SPELL_WARRIOR_CHARGE
Definition: spell_warrior.cpp:38
@ SPELL_WARRIOR_WHIRLWIND_MAIN
Definition: spell_warrior.cpp:62
@ SPELL_WARRIOR_JUGGERNAUT_CRIT_BONUS_TALENT
Definition: spell_warrior.cpp:48
@ SPELL_WARRIOR_IMPROVED_SPELL_REFLECTION_TRIGGER
Definition: spell_warrior.cpp:35
@ SPELL_WARRIOR_INTERVENE_TRIGGER
Definition: spell_warrior.cpp:33
@ SPELL_WARRIOR_EXECUTE
Definition: spell_warrior.cpp:44
@ SPELL_WARRIOR_WHIRLWIND_OFF
Definition: spell_warrior.cpp:63
@ SPELL_WARRIOR_GLYPH_OF_VIGILANCE
Definition: spell_warrior.cpp:46
@ SPELL_WARRIOR_SPELL_REFLECTION
Definition: spell_warrior.cpp:34
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_2
Definition: spell_warrior.cpp:59
@ SPELL_WARRIOR_BLOODTHIRST_DAMAGE
Definition: spell_warrior.cpp:37
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_2
Definition: spell_warrior.cpp:57
@ SPELL_WARRIOR_SLAM
Definition: spell_warrior.cpp:51
@ SPELL_WARRIOR_SUNDER_ARMOR
Definition: spell_warrior.cpp:52
@ SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2
Definition: spell_warrior.cpp:54
@ SPELL_WARRIOR_JUGGERNAUT_CRIT_BONUS_BUFF
Definition: spell_warrior.cpp:47

Function Documentation

◆ AddSC_warrior_spell_scripts()

void AddSC_warrior_spell_scripts ( )
900{
925}
#define RegisterSpellAndAuraScriptPair(script_1, script_2)
Definition: SpellScriptLoader.h:90
#define RegisterSpellScript(spell_script)
Definition: SpellScriptLoader.h:88
Definition: spell_warrior.cpp:80
Definition: spell_warrior.cpp:102
Definition: spell_warrior.cpp:126
Definition: spell_warrior.cpp:147
Definition: spell_warrior.cpp:177
Definition: spell_warrior.cpp:200
Definition: spell_warrior.cpp:230
Definition: spell_warrior.cpp:253
Definition: spell_warrior.cpp:285
Definition: spell_warrior.cpp:317
Definition: spell_warrior.cpp:354
Definition: spell_warrior.cpp:379
Definition: spell_warrior.cpp:436
Definition: spell_warrior.cpp:452
Definition: spell_warrior.cpp:488
Definition: spell_warrior.cpp:505
Definition: spell_warrior.cpp:542
Definition: spell_warrior.cpp:559
Definition: spell_warrior.cpp:600
Definition: spell_warrior.cpp:620
Definition: spell_warrior.cpp:701
Definition: spell_warrior.cpp:785
Definition: spell_warrior.cpp:810
Definition: spell_warrior.cpp:841
Definition: spell_warrior.cpp:867

References RegisterSpellAndAuraScriptPair, and RegisterSpellScript.

Referenced by AddSpellsScripts().