Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript Class Reference
Inheritance diagram for spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript:
Collaboration diagram for spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript:

Private Member Functions

void CalcPeriodic (AuraEffect const *, bool &isPeriodic, int32 &amplitude)
bool CheckProc (ProcEventInfo &eventInfo)
void HandleCalcAmount (AuraEffect const *, int32 &amount, bool &canBeRecalculated)
void HandleProc (AuraEffect const *, ProcEventInfo &eventInfo)
bool Load () OVERRIDE
 PrepareAuraScript (spell_dk_death_strike_enabler_AuraScript)
void Register () OVERRIDE
void Update (AuraEffect *)

Private Attributes

uint32 _damagePerSecond [5] = { }

Additional Inherited Members

Public Member Functions inherited from AuraScript
void _FinishScriptCall ()
bool _IsDefaultActionPrevented ()
bool _Load (Aura *aura)
void _PrepareScriptCall (AuraScriptHookType hookType, AuraApplication const *aurApp=NULL)
bool _Validate (SpellInfo const *entry)
 AuraScript ()
uint8 CalcMaxCharges () const
int32 CalcMaxDuration () const
bool DropCharge (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
time_t GetApplyTime () const
Aura * GetAura () const
Unit * GetCaster () const
uint64 GetCasterGUID () const
uint8 GetCharges () const
int32 GetDuration () const
DynamicObject * GetDynobjOwner () const
AuraEffect * GetEffect (uint8 effIndex) const
uint32 GetId () const
int32 GetMaxDuration () const
WorldObject * GetOwner () const
SpellInfo const * GetSpellInfo () const
uint8 GetStackAmount () const
Unit * GetTarget () const
AuraApplication const * GetTargetApplication () const
AuraObjectType GetType () const
Unit * GetUnitOwner () const
bool HasEffect (uint8 effIndex) const
bool HasEffectType (AuraType type) const
bool IsDeathPersistent () const
bool IsExpired () const
bool IsPassive () const
bool IsPermanent () const
bool ModCharges (int8 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool ModStackAmount (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void PreventDefaultAction ()
void RefreshDuration ()
void Remove (uint32 removeMode=0)
void SetCharges (uint8 charges)
void SetDuration (int32 duration, bool withMods=false)
void SetMaxDuration (int32 duration)
void SetStackAmount (uint8 num)
Public Member Functions inherited from _SpellScript
std::string const * _GetScriptName () const
virtual void _Init (std::string const *scriptname, uint32 spellId)
virtual void _Register ()
 _SpellScript ()
virtual void _Unload ()
virtual void Unload ()
virtual bool Validate (SpellInfo const *)
virtual ~_SpellScript ()
Public Attributes inherited from AuraScript
HookList< AuraDispelHandler > AfterDispel
HookList< EffectAbsorbHandler > AfterEffectAbsorb
HookList< EffectApplyHandler > AfterEffectApply
HookList< EffectManaShieldHandler > AfterEffectManaShield
HookList< EffectProcHandler > AfterEffectProc
HookList< EffectApplyHandler > AfterEffectRemove
HookList< AuraProcHandler > AfterProc
HookList< CheckAreaTargetHandler > DoCheckAreaTarget
HookList< CheckProcHandler > DoCheckProc
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
HookList< EffectCalcPeriodicHandler > DoEffectCalcPeriodic
HookList< EffectCalcSpellModHandler > DoEffectCalcSpellMod
HookList< AuraProcHandler > DoPrepareProc
HookList< AuraDispelHandler > OnDispel
HookList< EffectAbsorbHandler > OnEffectAbsorb
HookList< EffectApplyHandler > OnEffectApply
HookList< EffectManaShieldHandler > OnEffectManaShield
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectProcHandler > OnEffectProc
HookList< EffectApplyHandler > OnEffectRemove
HookList< EffectSplitHandler > OnEffectSplit
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
HookList< AuraProcHandler > OnProc
Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
std::string const * m_scriptName
uint32 m_scriptSpellId

Detailed Description

Definition at line 700 of file spell_dk.cpp.

Member Function Documentation

◆ CalcPeriodic()

void spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::CalcPeriodic ( AuraEffect const * ,
bool & isPeriodic,
int32 & amplitude )
inlineprivate

Definition at line 728 of file spell_dk.cpp.

Referenced by Register().

◆ CheckProc()

bool spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::CheckProc ( ProcEventInfo & eventInfo)
inlineprivate

Definition at line 711 of file spell_dk.cpp.

References ProcEventInfo::GetDamageInfo().

Referenced by Register().

◆ HandleCalcAmount()

void spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::HandleCalcAmount ( AuraEffect const * ,
int32 & amount,
bool & canBeRecalculated )
inlineprivate

Definition at line 742 of file spell_dk.cpp.

References _damagePerSecond.

Referenced by Register().

◆ HandleProc()

void spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::HandleProc ( AuraEffect const * ,
ProcEventInfo & eventInfo )
inlineprivate

◆ Load()

bool spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::Load ( )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 704 of file spell_dk.cpp.

References _damagePerSecond, and OVERRIDE.

◆ PrepareAuraScript()

spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::PrepareAuraScript ( spell_dk_death_strike_enabler_AuraScript )
private

◆ Register()

◆ Update()

void spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::Update ( AuraEffect * )
inlineprivate

Definition at line 734 of file spell_dk.cpp.

References _damagePerSecond.

Referenced by Register().

Member Data Documentation

◆ _damagePerSecond

uint32 spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::_damagePerSecond[5] = { }
private

Definition at line 759 of file spell_dk.cpp.

Referenced by HandleCalcAmount(), HandleProc(), Load(), and Update().


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