TrinityCore
Loading...
Searching...
No Matches
boss_leotheras_the_blind.cpp File Reference
#include "ScriptMgr.h"
#include "Containers.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "serpent_shrine.h"
#include "SpellAuraEffects.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
+ Include dependency graph for boss_leotheras_the_blind.cpp:

Go to the source code of this file.

Classes

struct  boss_leotheras_the_blind
 
struct  npc_shadow_of_leotheras
 
struct  npc_greyheart_spellbinder
 
struct  npc_inner_demon
 
class  spell_leotheras_the_blind_whirlwind_init
 
class  spell_leotheras_the_blind_whirlwind_effect
 
class  spell_leotheras_the_blind_metamorphosis
 
class  spell_leotheras_the_blind_chaos_blast
 
class  spell_leotheras_the_blind_insidious_whisper
 
class  spell_leotheras_the_blind_insidious_whisper_aura
 
class  spell_leotheras_the_blind_summon_inner_demon
 
class  spell_leotheras_the_blind_clear_consuming_madness
 
class  spell_leotheras_the_blind_demon_link
 

Enumerations

enum  LeotherasTexts {
  SAY_DEMON_MORPH = 0 , SAY_DEMON_INNER_DEMONS = 1 , SAY_DEMON_SLAY = 2 , SAY_NIGHT_ELF_AGGRO = 3 ,
  SAY_NIGHT_ELF_FINAL_FORM = 4 , SAY_NIGHT_ELF_SLAY = 5 , SAY_NIGHT_ELF_DEATH = 6 , SAY_DEMON_FREE = 0
}
 
enum  LeotherasSpells {
  SPELL_BANISH = 37546 , SPELL_WHIRLWIND = 37640 , SPELL_METAMORPHOSIS = 37673 , SPELL_CHAOS_BLAST = 37674 ,
  SPELL_INSIDIOUS_WHISPER = 37676 , SPELL_BERSERK = 27680 , SPELL_STUN_SELF = 25900 , SPELL_SUMMON_SHADOW = 37781 ,
  SPELL_CLEAR_CONSUMING_MADNESS = 37750 , SPELL_GREEN_BEAM = 37626 , SPELL_MIND_BLAST = 37531 , SPELL_SPELL_SHOCK = 39076 ,
  SPELL_DEMONIC_ALIGNMENT = 37713 , SPELL_DETECTION = 18950 , SPELL_DEMON_LINK = 37716 , SPELL_SHADOW_BOLT = 39309 ,
  SPELL_SHRINK = 37780 , SPELL_CHAOS_BLAST_DAMAGE = 37675 , SPELL_TARGET_1 = 37725 , SPELL_TARGET_2 = 37726 ,
  SPELL_TARGET_3 = 37731 , SPELL_TARGET_4 = 37732 , SPELL_TARGET_5 = 37733 , SPELL_CONSUMING_MADNESS = 37749 ,
  SPELL_SUMMON_INNER_DEMON = 37735
}
 
enum  LeotherasEvents {
  EVENT_FORCE_CHANNEL = 1 , EVENT_WHIRLWIND , EVENT_METAMORPHOSIS , EVENT_CHAOS_BLAST ,
  EVENT_INSIDIOUS_WHISPER , EVENT_BERSERK , EVENT_TRANSITION_1 , EVENT_TRANSITION_2 ,
  EVENT_TRANSITION_3 , EVENT_TRANSITION_4 , EVENT_TRANSITION_5
}
 
enum  LeotherasActions {
  ACTION_SPELLBINDER_DIES = 0 , ACTION_RESET_ENCOUNTER = 1 , ACTION_START_CHANNELING = 2 , ACTION_METAMORPHOSIS_APPLIED = 3 ,
  ACTION_METAMORPHOSIS_REMOVED = 4
}
 
enum  LeotherasMisc {
  FACTION_LEOTHERAS_DEMON_1 = 1829 , FACTION_LEOTHERAS_DEMON_2 = 1830 , FACTION_LEOTHERAS_DEMON_3 = 1831 , FACTION_LEOTHERAS_DEMON_4 = 1832 ,
  FACTION_LEOTHERAS_DEMON_5 = 1833 , MAX_SPELLBINDERS = 3 , NPC_GREYHEART_SPELLBINDER = 21806
}
 
enum  LeotherasSpawnGroups { SPAWN_GROUP_SPELLBINDER_1 = 365 , SPAWN_GROUP_SPELLBINDER_2 = 366 , SPAWN_GROUP_SPELLBINDER_3 = 367 }
 

Functions

void AddSC_boss_leotheras_the_blind ()
 

Variables

static constexpr std::array< uint32, 3 > SpellbindersSpawnGroupsData
 
static constexpr std::array< uint32, 5 > ForceReactionSpells
 
static constexpr std::pair< uint32, uint32 > DemonFaction [5]
 

Enumeration Type Documentation

◆ LeotherasActions

Enumerator
ACTION_SPELLBINDER_DIES 
ACTION_RESET_ENCOUNTER 
ACTION_START_CHANNELING 
ACTION_METAMORPHOSIS_APPLIED 
ACTION_METAMORPHOSIS_REMOVED 

Definition at line 115 of file boss_leotheras_the_blind.cpp.

◆ LeotherasEvents

Enumerator
EVENT_FORCE_CHANNEL 
EVENT_WHIRLWIND 
EVENT_METAMORPHOSIS 
EVENT_CHAOS_BLAST 
EVENT_INSIDIOUS_WHISPER 
EVENT_BERSERK 
EVENT_TRANSITION_1 
EVENT_TRANSITION_2 
EVENT_TRANSITION_3 
EVENT_TRANSITION_4 
EVENT_TRANSITION_5 

Definition at line 95 of file boss_leotheras_the_blind.cpp.

◆ LeotherasMisc

Enumerator
FACTION_LEOTHERAS_DEMON_1 
FACTION_LEOTHERAS_DEMON_2 
FACTION_LEOTHERAS_DEMON_3 
FACTION_LEOTHERAS_DEMON_4 
FACTION_LEOTHERAS_DEMON_5 
MAX_SPELLBINDERS 
NPC_GREYHEART_SPELLBINDER 

Definition at line 124 of file boss_leotheras_the_blind.cpp.

◆ LeotherasSpawnGroups

Enumerator
SPAWN_GROUP_SPELLBINDER_1 
SPAWN_GROUP_SPELLBINDER_2 
SPAWN_GROUP_SPELLBINDER_3 

Definition at line 135 of file boss_leotheras_the_blind.cpp.

◆ LeotherasSpells

Enumerator
SPELL_BANISH 
SPELL_WHIRLWIND 
SPELL_METAMORPHOSIS 
SPELL_CHAOS_BLAST 
SPELL_INSIDIOUS_WHISPER 
SPELL_BERSERK 
SPELL_STUN_SELF 
SPELL_SUMMON_SHADOW 
SPELL_CLEAR_CONSUMING_MADNESS 
SPELL_GREEN_BEAM 
SPELL_MIND_BLAST 
SPELL_SPELL_SHOCK 
SPELL_DEMONIC_ALIGNMENT 
SPELL_DETECTION 
SPELL_DEMON_LINK 
SPELL_SHADOW_BOLT 
SPELL_SHRINK 
SPELL_CHAOS_BLAST_DAMAGE 
SPELL_TARGET_1 
SPELL_TARGET_2 
SPELL_TARGET_3 
SPELL_TARGET_4 
SPELL_TARGET_5 
SPELL_CONSUMING_MADNESS 
SPELL_SUMMON_INNER_DEMON 

Definition at line 53 of file boss_leotheras_the_blind.cpp.

◆ LeotherasTexts

Enumerator
SAY_DEMON_MORPH 
SAY_DEMON_INNER_DEMONS 
SAY_DEMON_SLAY 
SAY_NIGHT_ELF_AGGRO 
SAY_NIGHT_ELF_FINAL_FORM 
SAY_NIGHT_ELF_SLAY 
SAY_NIGHT_ELF_DEATH 
SAY_DEMON_FREE 

Definition at line 38 of file boss_leotheras_the_blind.cpp.

Function Documentation

◆ AddSC_boss_leotheras_the_blind()

void AddSC_boss_leotheras_the_blind ( )

Variable Documentation

◆ DemonFaction

◆ ForceReactionSpells

◆ SpellbindersSpawnGroupsData

constexpr std::array<uint32, 3> SpellbindersSpawnGroupsData
staticconstexpr