![]() |
TrinityCore
|
Inheritance diagram for spell_sholazar_despawn_fruit_tosser:Private Member Functions | |
| PrepareSpellScript (spell_sholazar_despawn_fruit_tosser) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 663 of file zone_sholazar_basin.cpp.
|
inlineprivate |
Definition at line 678 of file zone_sholazar_basin.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), roll_chance_i(), SPELL_BANANAS_FALL_TO_GROUND, SPELL_ORANGE_FALLS_TO_GROUND, SPELL_PAPAYA_FALLS_TO_GROUND, SPELL_TRIGGER_SPAWN_DWARF, and urand().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 693 of file zone_sholazar_basin.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 667 of file zone_sholazar_basin.cpp.
References SPELL_BANANAS_FALL_TO_GROUND, SPELL_ORANGE_FALLS_TO_GROUND, SPELL_PAPAYA_FALLS_TO_GROUND, SPELL_TRIGGER_SPAWN_DWARF, and _SpellScript::ValidateSpellInfo().