![]() |
TrinityCore
|
Inheritance diagram for spell_dh_glide:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| SpellCastResult | CheckCast () |
| void | HandleCast () |
| void | Register () override |
Definition at line 1829 of file spell_dh.cpp.
|
inlineprivate |
Definition at line 1836 of file spell_dh.cpp.
References SpellScript::GetCaster(), Unit::GetVehicleBase(), Unit::IsFalling(), Unit::IsMounted(), SPELL_CAST_OK, SPELL_FAILED_DONT_REPORT, and SPELL_FAILED_NOT_ON_GROUND.
Referenced by Register().
|
inlineprivate |
Definition at line 1848 of file spell_dh.cpp.
References WorldObject::CastSpell(), SpellScript::GetCastDifficulty(), SpellScript::GetCaster(), Unit::GetSpellHistory(), SPELL_DH_FEL_RUSH, SPELL_DH_GLIDE_DURATION, SPELL_DH_GLIDE_KNOCKBACK, SPELL_DH_VENGEFUL_RETREAT_TRIGGER, sSpellMgr, SpellHistory::StartCooldown(), and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1861 of file spell_dh.cpp.
References SpellScript::BeforeCast, CheckCast(), HandleCast(), SpellScript::OnCheckCast, SpellCastFn, and SpellCheckCastFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1831 of file spell_dh.cpp.
References SPELL_DH_FEL_RUSH, SPELL_DH_GLIDE_DURATION, SPELL_DH_GLIDE_KNOCKBACK, SPELL_DH_VENGEFUL_RETREAT_TRIGGER, and SpellScriptBase::ValidateSpellInfo().