AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_apothecary_validate_area) | |
bool | Validate (SpellInfo const *) override |
void | FilterTargets (std::list< WorldObject * > &targets) |
void | HandleScript (SpellEffIndex) |
void | Register () override |
|
inlineprivate |
References Acore::Containers::SelectRandomContainerElement(), and SPELL_BUNNY_LOCKDOWN.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), RAND(), SPELL_BUNNY_LOCKDOWN, SPELL_THROW_COLOGNE, and SPELL_THROW_PERFUME.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References EFFECT_0, FilterTargets(), HandleScript(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, SPELL_EFFECT_DUMMY, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_DEST_AREA_ENTRY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_BUNNY_LOCKDOWN, SPELL_THROW_COLOGNE, SPELL_THROW_PERFUME, and _SpellScript::ValidateSpellInfo().