TrinityCore
spell_z_check Class Reference
+ Inheritance diagram for spell_z_check:

Public Member Functions

 spell_z_check ()
 
void HandleEffectApply (AuraEffect const *, AuraEffectHandleModes)
 
void HandleEffectPeriodic (AuraEffect const *)
 
- 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 () const
 
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
 
Difficulty GetCastDifficulty () const
 
- Public Member Functions inherited from SpellScriptBase
 SpellScriptBase ()
 
virtual ~SpellScriptBase ()
 
 SpellScriptBase (SpellScriptBase const &right)=delete
 
 SpellScriptBase (SpellScriptBase &&right)=delete
 
SpellScriptBaseoperator= (SpellScriptBase const &right)=delete
 
SpellScriptBaseoperator= (SpellScriptBase &&right)=delete
 
void _Register ()
 
void _Unload ()
 
void _Init (std::string const &scriptname, uint32 spellId)
 
std::string_view GetScriptName () const
 
virtual void Register ()=0
 
virtual bool Validate (SpellInfo const *spellInfo)
 
virtual bool Load ()
 
virtual void Unload ()
 

Private Member Functions

void Register () override
 

Private Attributes

float _posZ
 

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< CheckAreaTargetHandlerDoCheckAreaTarget
 
HookList< AuraDispelHandlerOnDispel
 
HookList< AuraDispelHandlerAfterDispel
 
HookList< EffectApplyHandlerOnEffectApply
 
HookList< EffectApplyHandlerAfterEffectApply
 
HookList< EffectApplyHandlerOnEffectRemove
 
HookList< EffectApplyHandlerAfterEffectRemove
 
HookList< EffectPeriodicHandlerOnEffectPeriodic
 
HookList< EffectUpdatePeriodicHandlerOnEffectUpdatePeriodic
 
HookList< EffectCalcAmountHandlerDoEffectCalcAmount
 
HookList< EffectCalcPeriodicHandlerDoEffectCalcPeriodic
 
HookList< EffectCalcSpellModHandlerDoEffectCalcSpellMod
 
HookList< EffectCalcCritChanceHandlerDoEffectCalcCritChance
 
HookList< EffectCalcDamageAndHealingHandlerDoEffectCalcDamageAndHealing
 
HookList< EffectAbsorbHandlerOnEffectAbsorb
 
HookList< EffectAbsorbHandlerAfterEffectAbsorb
 
HookList< EffectAbsorbHealHandlerOnEffectAbsorbHeal
 
HookList< EffectAbsorbHealHandlerAfterEffectAbsorbHeal
 
HookList< EffectAbsorbHandlerOnEffectManaShield
 
HookList< EffectAbsorbHandlerAfterEffectManaShield
 
HookList< EffectAbsorbHandlerOnEffectSplit
 
HookList< CheckProcHandlerDoCheckProc
 
HookList< CheckEffectProcHandlerDoCheckEffectProc
 
HookList< AuraProcHandlerDoPrepareProc
 
HookList< AuraProcHandlerOnProc
 
HookList< AuraProcHandlerAfterProc
 
HookList< EffectProcHandlerOnEffectProc
 
HookList< EffectProcHandlerAfterEffectProc
 
HookList< EnterLeaveCombatHandlerOnEnterLeaveCombat
 
- Protected Types inherited from SpellScriptBase
template<typename ScriptFunc >
using GetScriptClass_t = typename GetScriptClass< ScriptFunc >::type
 
virtual bool _Validate (SpellInfo const *entry)
 
- Protected Attributes inherited from SpellScriptBase
uint8 m_currentScriptState
 
std::string_view m_scriptName
 
uint32 m_scriptSpellId
 

Detailed Description

Definition at line 887 of file zone_grizzly_hills.cpp.

Constructor & Destructor Documentation

◆ spell_z_check()

spell_z_check::spell_z_check ( )
inline

Definition at line 890 of file zone_grizzly_hills.cpp.

Member Function Documentation

◆ HandleEffectApply()

void spell_z_check::HandleEffectApply ( AuraEffect const *  ,
AuraEffectHandleModes   
)
inline

Definition at line 895 of file zone_grizzly_hills.cpp.

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

◆ HandleEffectPeriodic()

void spell_z_check::HandleEffectPeriodic ( AuraEffect const *  )
inline

Definition at line 900 of file zone_grizzly_hills.cpp.

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

◆ Register()

void spell_z_check::Register ( )
inlineoverrideprivatevirtual

Implements SpellScriptBase.

Definition at line 912 of file zone_grizzly_hills.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _posZ

float spell_z_check::_posZ
private

Definition at line 910 of file zone_grizzly_hills.cpp.


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