AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_item_eggnog) | |
bool | Validate (SpellInfo const *) override |
void | HandleScript (SpellEffIndex) |
void | Register () override |
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetCastItem(), SpellScript::GetHitUnit(), roll_chance_i(), SPELL_EGG_NOG_REINDEER, and SPELL_EGG_NOG_SNOWMAN.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References EFFECT_2, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_INEBRIATE, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_EGG_NOG_REINDEER, SPELL_EGG_NOG_SNOWMAN, and _SpellScript::ValidateSpellInfo().