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

Public Member Functions

 spell_hun_pet_scaling_01_AuraScript ()
 
- Public Member Functions inherited from AuraScript
 AuraScript ()
 
 ~AuraScript ()
 
bool _Validate (SpellInfo const *entry) override
 
bool _Load (Aura *aura)
 
void _PrepareScriptCall (AuraScriptHookType hookType, AuraApplication const *aurApp=nullptr)
 
void _FinishScriptCall ()
 
bool _IsDefaultActionPrevented ()
 
void PreventDefaultAction ()
 
SpellInfo const * GetSpellInfo () const
 
SpellEffectInfo const & GetEffectInfo (SpellEffIndex effIndex) const
 
uint32 GetId () const
 
ObjectGuid GetCasterGUID () const
 
UnitGetCaster () const
 
GameObjectGetGObjCaster () const
 
WorldObjectGetOwner () const
 
UnitGetUnitOwner () const
 
DynamicObjectGetDynobjOwner () const
 
void Remove (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
AuraGetAura () 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
 
AuraEffectGetEffect (uint8 effIndex) const
 
bool HasEffectType (AuraType type) const
 
UnitGetTarget () const
 
AuraApplication const * GetTargetApplication () const
 
- Public Member Functions inherited from _SpellScript
 _SpellScript ()
 
virtual ~_SpellScript ()
 
void _Register ()
 
void _Unload ()
 
void _Init (std::string const *scriptname, uint32 spellId)
 
std::string const * _GetScriptName () const
 
virtual bool Validate (SpellInfo const *)
 
virtual bool Load ()
 
virtual void Unload ()
 

Private Member Functions

 PrepareAuraScript (spell_hun_pet_scaling_01_AuraScript)
 
void CalculateStaminaAmount (AuraEffect const *, int32 &amount, bool &)
 
void ApplyEffect (AuraEffect const *, AuraEffectHandleModes)
 
void RemoveEffect (AuraEffect const *, AuraEffectHandleModes)
 
void CalculateAttackPowerAmount (AuraEffect const *, int32 &amount, bool &)
 
void CalculateDamageDoneAmount (AuraEffect const *, int32 &amount, bool &)
 
void Register () override
 

Private Attributes

uint32 _tempHealth
 

Additional Inherited Members

- Static Public Member Functions inherited from _SpellScript
static bool ValidateSpellInfo (std::initializer_list< uint32 > spellIds)
 
template<class T >
static bool ValidateSpellInfo (T const &spellIds)
 
- Public Attributes inherited from AuraScript
HookList< CheckAreaTargetHandlerDoCheckAreaTarget
 
HookList< AuraDispelHandlerOnDispel
 
HookList< AuraDispelHandlerAfterDispel
 
HookList< EffectApplyHandlerOnEffectApply
 
HookList< EffectApplyHandlerAfterEffectApply
 
HookList< EffectApplyHandlerOnEffectRemove
 
HookList< EffectApplyHandlerAfterEffectRemove
 
HookList< EffectPeriodicHandlerOnEffectPeriodic
 
HookList< EffectUpdatePeriodicHandlerOnEffectUpdatePeriodic
 
HookList< EffectCalcAmountHandlerDoEffectCalcAmount
 
HookList< EffectCalcPeriodicHandlerDoEffectCalcPeriodic
 
HookList< EffectCalcSpellModHandlerDoEffectCalcSpellMod
 
HookList< EffectAbsorbHandlerOnEffectAbsorb
 
HookList< EffectAbsorbHandlerAfterEffectAbsorb
 
HookList< EffectManaShieldHandlerOnEffectManaShield
 
HookList< EffectManaShieldHandlerAfterEffectManaShield
 
HookList< EffectSplitHandlerOnEffectSplit
 
HookList< CheckProcHandlerDoCheckProc
 
HookList< CheckEffectProcHandlerDoCheckEffectProc
 
HookList< AuraProcHandlerDoPrepareProc
 
HookList< AuraProcHandlerOnProc
 
HookList< AuraProcHandlerAfterProc
 
HookList< EffectProcHandlerOnEffectProc
 
HookList< EffectProcHandlerAfterEffectProc
 
- Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
 
std::string const * m_scriptName
 
uint32 m_scriptSpellId
 

Detailed Description

Definition at line 893 of file spell_pet.cpp.

Constructor & Destructor Documentation

◆ spell_hun_pet_scaling_01_AuraScript()

spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::spell_hun_pet_scaling_01_AuraScript ( )
inline

Definition at line 898 of file spell_pet.cpp.

Member Function Documentation

◆ ApplyEffect()

void spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::ApplyEffect ( AuraEffect const *  ,
AuraEffectHandleModes   
)
inlineprivate

Definition at line 929 of file spell_pet.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalculateAttackPowerAmount()

void spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateAttackPowerAmount ( AuraEffect const *  ,
int32 amount,
bool &   
)
inlineprivate

Definition at line 942 of file spell_pet.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalculateDamageDoneAmount()

void spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateDamageDoneAmount ( AuraEffect const *  ,
int32 amount,
bool &   
)
inlineprivate

Definition at line 972 of file spell_pet.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalculateStaminaAmount()

void spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::CalculateStaminaAmount ( AuraEffect const *  ,
int32 amount,
bool &   
)
inlineprivate

Definition at line 904 of file spell_pet.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrepareAuraScript()

spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::PrepareAuraScript ( spell_hun_pet_scaling_01_AuraScript  )
private

◆ Register()

void spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::Register ( )
inlineoverrideprivatevirtual

Implements _SpellScript.

Definition at line 1002 of file spell_pet.cpp.

+ Here is the call graph for this function:

◆ RemoveEffect()

void spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::RemoveEffect ( AuraEffect const *  ,
AuraEffectHandleModes   
)
inlineprivate

Definition at line 936 of file spell_pet.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _tempHealth

uint32 spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript::_tempHealth
private

Definition at line 1012 of file spell_pet.cpp.


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