TrinityCore
|
Private Member Functions | |
void | Register () override |
Additional Inherited Members | |
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 |
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 () | |
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 void | Register ()=0 |
virtual bool | Validate (SpellInfo const *spellInfo) |
virtual bool | Load () |
virtual void | Unload () |
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) |
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 |
Definition at line 161 of file spell_torghast.cpp.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 163 of file spell_torghast.cpp.
int32 spell_torghast_uncontrolled_darkness::KillCounter = 0 |
Definition at line 169 of file spell_torghast.cpp.