AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_item_sleepy_willy) | |
void | SelectTarget (std::list< WorldObject * > &targets) |
void | HandleScriptEffect (SpellEffIndex effIndex) |
void | Register () override |
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetEffectValue(), SpellScript::GetHitCreature(), and SpellScript::PreventHitDefaultEffect().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References EFFECT_0, HandleScriptEffect(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, SelectTarget(), SPELL_EFFECT_SCRIPT_EFFECT, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ENTRY.
|
inlineprivate |
References Object::ToCreature().
Referenced by Register().