![]() |
TrinityCore
|
Inheritance diagram for spell_item_nitro_boosts_backfire:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleApply (AuraEffect const *, AuraEffectHandleModes) |
| void | HandlePeriodicDummy (AuraEffect const *effect) |
| void | Register () override |
Private Attributes | |
| float | lastZ = INVALID_HEIGHT |
Definition at line 2919 of file spell_item.cpp.
|
inlineprivate |
Definition at line 2926 of file spell_item.cpp.
References Position::GetPositionZ(), AuraScript::GetTarget(), and lastZ.
Referenced by Register().
|
inlineprivate |
Definition at line 2931 of file spell_item.cpp.
References WorldObject::CastSpell(), AuraScript::GetAura(), Position::GetPositionZ(), AuraScript::GetTarget(), lastZ, AuraScript::PreventDefaultAction(), Aura::Remove(), roll_chance(), and SPELL_NITRO_BOOSTS_PARACHUTE.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 2945 of file spell_item.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectPeriodicFn, EFFECT_1, HandleApply(), HandlePeriodicDummy(), AuraScript::OnEffectApply, AuraScript::OnEffectPeriodic, and SPELL_AURA_PERIODIC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 2921 of file spell_item.cpp.
References SPELL_NITRO_BOOSTS_PARACHUTE, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 2951 of file spell_item.cpp.
Referenced by HandleApply(), and HandlePeriodicDummy().