TrinityCore
Loading...
Searching...
No Matches
spell_the_lich_king_vile_spirits Class Reference
+ Inheritance diagram for spell_the_lich_king_vile_spirits:

Public Member Functions

 spell_the_lich_king_vile_spirits ()
 
- Public Member Functions inherited from AuraScript
 AuraScript () noexcept
 
 ~AuraScript ()
 
bool _Validate (SpellInfo const *entry) override
 
bool _Load (Aura *aura)
 
void _PrepareScriptCall (AuraScriptHookType hookType, AuraApplication const *aurApp=nullptr)
 
void _FinishScriptCall ()
 
bool _IsDefaultActionPrevented () const
 
void PreventDefaultAction ()
 
SpellInfo const * GetSpellInfo () const
 
SpellEffectInfo const & GetEffectInfo (SpellEffIndex effIndex) const
 
uint32 GetId () const
 
ObjectGuid GetCasterGUID () const
 
Unit * GetCaster () const
 
GameObject * GetGObjCaster () const
 
WorldObject * GetOwner () const
 
Unit * GetUnitOwner () const
 
DynamicObject * GetDynobjOwner () const
 
void Remove (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
Aura * GetAura () const
 
AuraObjectType GetType () const
 
int32 GetDuration () const
 
void SetDuration (int32 duration, bool withMods=false)
 
void RefreshDuration ()
 
time_t GetApplyTime () const
 
int32 GetMaxDuration () const
 
void SetMaxDuration (int32 duration)
 
int32 CalcMaxDuration () const
 
bool IsExpired () const
 
bool IsPermanent () const
 
uint8 GetCharges () const
 
void SetCharges (uint8 charges)
 
uint8 CalcMaxCharges () const
 
bool ModCharges (int8 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
bool DropCharge (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
uint8 GetStackAmount () const
 
void SetStackAmount (uint8 num)
 
bool ModStackAmount (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
bool IsPassive () const
 
bool IsDeathPersistent () const
 
bool HasEffect (uint8 effIndex) const
 
AuraEffect * GetEffect (uint8 effIndex) const
 
bool HasEffectType (AuraType type) const
 
Unit * GetTarget () const
 
AuraApplication const * GetTargetApplication () const
 
Difficulty GetCastDifficulty () const
 
- Public Member Functions inherited from SpellScriptBase
 SpellScriptBase () noexcept
 
virtual ~SpellScriptBase ()
 
 SpellScriptBase (SpellScriptBase const &right)=delete
 
 SpellScriptBase (SpellScriptBase &&right)=delete
 
SpellScriptBase & operator= (SpellScriptBase const &right)=delete
 
SpellScriptBase & operator= (SpellScriptBase &&right)=delete
 
void _Register ()
 
void _Unload ()
 
void _Init (std::string const &scriptname, uint32 spellId)
 
std::string_view GetScriptName () const
 
virtual bool Validate (SpellInfo const *spellInfo)
 
virtual void Unload ()
 

Private Member Functions

bool Load () override
 
void OnPeriodic (AuraEffect const *aurEff)
 
void Register () override
 

Private Attributes

bool _is25Man
 

Additional Inherited Members

- Static Public Member Functions inherited from SpellScriptBase
static bool ValidateSpellInfo (std::initializer_list< uint32 > spellIds)
 
template<class T >
static bool ValidateSpellInfo (T const &spellIds)
 
static bool ValidateSpellEffect (std::initializer_list< std::pair< uint32, SpellEffIndex > > effects)
 
template<class T >
static bool ValidateSpellEffect (T const &spellEffects)
 
- Public Attributes inherited from AuraScript
HookList< CheckAreaTargetHandler > DoCheckAreaTarget
 
HookList< AuraDispelHandler > OnDispel
 
HookList< AuraDispelHandler > AfterDispel
 
HookList< AuraHeartbeatHandler > OnHeartbeat
 
HookList< EffectApplyHandler > OnEffectApply
 
HookList< EffectApplyHandler > AfterEffectApply
 
HookList< EffectApplyHandler > OnEffectRemove
 
HookList< EffectApplyHandler > AfterEffectRemove
 
HookList< EffectPeriodicHandler > OnEffectPeriodic
 
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
 
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
 
HookList< EffectCalcPeriodicHandler > DoEffectCalcPeriodic
 
HookList< EffectCalcSpellModHandler > DoEffectCalcSpellMod
 
HookList< EffectCalcCritChanceHandler > DoEffectCalcCritChance
 
HookList< EffectCalcDamageAndHealingHandler > DoEffectCalcDamageAndHealing
 
HookList< EffectAbsorbHandler > OnEffectAbsorb
 
HookList< EffectAbsorbHandler > AfterEffectAbsorb
 
HookList< EffectAbsorbHealHandler > OnEffectAbsorbHeal
 
HookList< EffectAbsorbHealHandler > AfterEffectAbsorbHeal
 
HookList< EffectAbsorbHandler > OnEffectManaShield
 
HookList< EffectAbsorbHandler > AfterEffectManaShield
 
HookList< EffectAbsorbHandler > OnEffectSplit
 
HookList< CheckProcHandler > DoCheckProc
 
HookList< CheckEffectProcHandler > DoCheckEffectProc
 
HookList< AuraProcHandler > DoPrepareProc
 
HookList< AuraProcHandler > OnProc
 
HookList< AuraProcHandler > AfterProc
 
HookList< EffectProcHandler > OnEffectProc
 
HookList< EffectProcHandler > AfterEffectProc
 
HookList< EnterLeaveCombatHandler > OnEnterLeaveCombat
 
- Protected Types inherited from SpellScriptBase
template<typename ScriptFunc >
using GetScriptClass_t = typename GetScriptClass< ScriptFunc >::type
 
- Protected Attributes inherited from SpellScriptBase
std::string_view m_scriptName
 
uint32 m_scriptSpellId
 
uint8 m_currentScriptState
 

Detailed Description

Definition at line 2359 of file boss_the_lich_king.cpp.

Constructor & Destructor Documentation

◆ spell_the_lich_king_vile_spirits()

spell_the_lich_king_vile_spirits::spell_the_lich_king_vile_spirits ( )
inline

Definition at line 2362 of file boss_the_lich_king.cpp.

References _is25Man.

Member Function Documentation

◆ Load()

bool spell_the_lich_king_vile_spirits::Load ( )
inlineoverrideprivatevirtual

◆ OnPeriodic()

void spell_the_lich_king_vile_spirits::OnPeriodic ( AuraEffect const *  aurEff)
inlineprivate

◆ Register()

void spell_the_lich_king_vile_spirits::Register ( )
inlineoverrideprivatevirtual

Member Data Documentation

◆ _is25Man

bool spell_the_lich_king_vile_spirits::_is25Man
private

Definition at line 2386 of file boss_the_lich_king.cpp.

Referenced by Load(), OnPeriodic(), and spell_the_lich_king_vile_spirits().


The documentation for this class was generated from the following file: