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

Private Member Functions

void HandleAfterEffectApply (AuraEffect const *, AuraEffectHandleModes)
void HandleAfterEffectRemove (AuraEffect const *, AuraEffectHandleModes)
void HandleEffectCalcAmount (AuraEffect const *, int32 &amount, bool &canBeRecalculated)
void HandleEffectCalcPeriodic (AuraEffect const *, bool &isPeriodic, int32 &amplitude)
void HandleEffectCalcSpellMod (AuraEffect const *, SpellModifier *&spellMod)
void HandleEffectPeriodic (AuraEffect const *)
void HandleEffectPeriodicUpdate (AuraEffect *aurEff)
void HandleOnEffectApply (AuraEffect const *, AuraEffectHandleModes)
void HandleOnEffectRemove (AuraEffect const *, AuraEffectHandleModes)
bool Load () OVERRIDE
 PrepareAuraScript (spell_ex_66244AuraScript)
void Register () OVERRIDE
bool Validate (SpellInfo const *) OVERRIDE

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
AuraGetAura () const
UnitGetCaster () const
uint64 GetCasterGUID () const
uint8 GetCharges () const
int32 GetDuration () const
DynamicObjectGetDynobjOwner () const
AuraEffectGetEffect (uint8 effIndex) const
uint32 GetId () const
int32 GetMaxDuration () const
WorldObjectGetOwner () const
SpellInfo const * GetSpellInfo () const
uint8 GetStackAmount () const
UnitGetTarget () const
AuraApplication const * GetTargetApplication () const
AuraObjectType GetType () const
UnitGetUnitOwner () 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 ~_SpellScript ()
Public Attributes inherited from AuraScript
HookList< AuraDispelHandlerAfterDispel
HookList< EffectAbsorbHandlerAfterEffectAbsorb
HookList< EffectApplyHandlerAfterEffectApply
HookList< EffectManaShieldHandlerAfterEffectManaShield
HookList< EffectProcHandlerAfterEffectProc
HookList< EffectApplyHandlerAfterEffectRemove
HookList< AuraProcHandlerAfterProc
HookList< CheckAreaTargetHandlerDoCheckAreaTarget
HookList< CheckProcHandlerDoCheckProc
HookList< EffectCalcAmountHandlerDoEffectCalcAmount
HookList< EffectCalcPeriodicHandlerDoEffectCalcPeriodic
HookList< EffectCalcSpellModHandlerDoEffectCalcSpellMod
HookList< AuraProcHandlerDoPrepareProc
HookList< AuraDispelHandlerOnDispel
HookList< EffectAbsorbHandlerOnEffectAbsorb
HookList< EffectApplyHandlerOnEffectApply
HookList< EffectManaShieldHandlerOnEffectManaShield
HookList< EffectPeriodicHandlerOnEffectPeriodic
HookList< EffectProcHandlerOnEffectProc
HookList< EffectApplyHandlerOnEffectRemove
HookList< EffectSplitHandlerOnEffectSplit
HookList< EffectUpdatePeriodicHandlerOnEffectUpdatePeriodic
HookList< AuraProcHandlerOnProc
Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
std::string const * m_scriptName
uint32 m_scriptSpellId

Detailed Description

Definition at line 194 of file example_spell.cpp.

Member Function Documentation

◆ HandleAfterEffectApply()

void spell_ex_66244::spell_ex_66244AuraScript::HandleAfterEffectApply ( AuraEffect const * ,
AuraEffectHandleModes  )
inlineprivate

Definition at line 232 of file example_spell.cpp.

References Unit::CastSpell(), AuraScript::GetTarget(), SF_LOG_INFO, and SPELL_TRIGGERED.

Referenced by Register().

◆ HandleAfterEffectRemove()

void spell_ex_66244::spell_ex_66244AuraScript::HandleAfterEffectRemove ( AuraEffect const * ,
AuraEffectHandleModes  )
inlineprivate

◆ HandleEffectCalcAmount()

void spell_ex_66244::spell_ex_66244AuraScript::HandleEffectCalcAmount ( AuraEffect const * ,
int32 & amount,
bool & canBeRecalculated )
inlineprivate

Definition at line 267 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleEffectCalcPeriodic()

void spell_ex_66244::spell_ex_66244AuraScript::HandleEffectCalcPeriodic ( AuraEffect const * ,
bool & isPeriodic,
int32 & amplitude )
inlineprivate

Definition at line 276 of file example_spell.cpp.

References IN_MILLISECONDS, and SF_LOG_INFO.

Referenced by Register().

◆ HandleEffectCalcSpellMod()

void spell_ex_66244::spell_ex_66244AuraScript::HandleEffectCalcSpellMod ( AuraEffect const * ,
SpellModifier *& spellMod )
inlineprivate

Definition at line 284 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleEffectPeriodic()

void spell_ex_66244::spell_ex_66244AuraScript::HandleEffectPeriodic ( AuraEffect const * )
inlineprivate

Definition at line 252 of file example_spell.cpp.

References Unit::DealDamage(), AuraScript::GetTarget(), and SF_LOG_INFO.

Referenced by Register().

◆ HandleEffectPeriodicUpdate()

void spell_ex_66244::spell_ex_66244AuraScript::HandleEffectPeriodicUpdate ( AuraEffect * aurEff)
inlineprivate

Definition at line 260 of file example_spell.cpp.

References AuraEffect::ChangeAmount(), AuraEffect::GetAmount(), and SF_LOG_INFO.

Referenced by Register().

◆ HandleOnEffectApply()

void spell_ex_66244::spell_ex_66244AuraScript::HandleOnEffectApply ( AuraEffect const * ,
AuraEffectHandleModes  )
inlineprivate

Definition at line 219 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleOnEffectRemove()

void spell_ex_66244::spell_ex_66244AuraScript::HandleOnEffectRemove ( AuraEffect const * ,
AuraEffectHandleModes  )
inlineprivate

Definition at line 225 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ Load()

bool spell_ex_66244::spell_ex_66244AuraScript::Load ( )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 209 of file example_spell.cpp.

References AuraScript::GetCaster(), OVERRIDE, and TYPEID_PLAYER.

◆ PrepareAuraScript()

spell_ex_66244::spell_ex_66244AuraScript::PrepareAuraScript ( spell_ex_66244AuraScript )
private

◆ Register()

◆ Validate()

bool spell_ex_66244::spell_ex_66244AuraScript::Validate ( SpellInfo const * )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 199 of file example_spell.cpp.

References OVERRIDE, SPELL_TRIGGERED, and sSpellMgr.


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