AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_gen_sober_up) | |
bool | Validate (SpellInfo const *) override |
void | OnRemove (AuraEffect const *aurEff, AuraEffectHandleModes) |
void | Register () override |
|
inlineprivate |
References EFFECT_0, EFFECT_1, EFFECT_2, SpellInfo::Effects, AuraEffect::GetSpellInfo(), AuraScript::GetSpellInfo(), AuraScript::GetTarget(), SPELL_DRUNKEN_HAZE, SPELL_DRUNKEN_SKULL_CRACK, and Object::ToPlayer().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectRemoveFn, EFFECT_0, EFFECT_1, _SpellScript::m_scriptSpellId, OnRemove(), SPELL_AURA_ANY, and SPELL_DRUNKEN_HAZE.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_DRUNKEN_HAZE, SPELL_DRUNKEN_SKULL_CRACK, and _SpellScript::ValidateSpellInfo().