AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_item_with_mount_speed) | |
bool | Validate (SpellInfo const *) override |
uint32 | getMountSpellId () |
void | OnApply (AuraEffect const *aurEff, AuraEffectHandleModes) |
void | OnRemove (AuraEffect const *, AuraEffectHandleModes) |
void | Register () override |
|
inlineprivate |
References _SpellScript::m_scriptSpellId, SPELL_CARROT_ON_A_STICK_EFFECT, SPELL_MITHRIL_SPURS, SPELL_MITHRIL_SPURS_EFFECT, SPELL_MOUNT_SPEED_CARROT, SPELL_MOUNT_SPEED_RIDING, and SPELL_RIDING_CROP_EFFECT.
Referenced by OnApply(), and OnRemove().
|
inlineprivate |
References Unit::CastSpell(), Unit::GetLevel(), getMountSpellId(), and AuraScript::GetTarget().
Referenced by Register().
|
inlineprivate |
References getMountSpellId(), AuraScript::GetTarget(), and Unit::RemoveAurasDueToSpell().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_0, OnApply(), AuraScript::OnEffectApply, AuraScript::OnEffectRemove, OnRemove(), and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_MITHRIL_SPURS, SPELL_MOUNT_SPEED_CARROT, SPELL_MOUNT_SPEED_RIDING, and sSpellMgr.