![]() |
TrinityCore
|
Inheritance diagram for spell_mage_alter_time_aura:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | OnApply (AuraEffect const *, AuraEffectHandleModes) |
| void | AfterRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Private Attributes | |
| uint64 | _health = 0 |
| Position | _pos |
Definition at line 131 of file spell_mage.cpp.
|
inlineprivate |
Definition at line 150 of file spell_mage.cpp.
References _health, _pos, AURA_REMOVE_BY_EXPIRE, WorldObject::CastSpell(), SpellInfo::ChargeCategoryId, DIFFICULTY_NONE, WorldObject::GetDistance(), Unit::GetSpellHistory(), AuraScript::GetTarget(), AuraScript::GetTargetApplication(), Unit::HasAura(), Unit::NearTeleportTo(), SpellHistory::ResetCharges(), Unit::SetHealth(), SPELL_MAGE_ALTER_TIME_VISUAL, SPELL_MAGE_BLINK, SPELL_MAGE_MASTER_OF_TIME, and sSpellMgr.
Referenced by Register().
|
inlineprivate |
Definition at line 143 of file spell_mage.cpp.
References _health, _pos, Unit::GetHealth(), Position::GetPosition(), and AuraScript::GetTarget().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 167 of file spell_mage.cpp.
References AuraScript::AfterEffectRemove, AfterRemove(), AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_0, OnApply(), AuraScript::OnEffectApply, and SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 133 of file spell_mage.cpp.
References SPELL_MAGE_ALTER_TIME_VISUAL, SPELL_MAGE_BLINK, SPELL_MAGE_MASTER_OF_TIME, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 174 of file spell_mage.cpp.
Referenced by AfterRemove(), and OnApply().
|
private |
Definition at line 175 of file spell_mage.cpp.
Referenced by AfterRemove(), and OnApply().