![]() |
TrinityCore
|
Inheritance diagram for spell_sholazar_despawn_fruit_tosser:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 645 of file zone_sholazar_basin.cpp.
|
inlineprivate |
Definition at line 658 of file zone_sholazar_basin.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), roll_chance(), SPELL_BANANAS_FALL_TO_GROUND, SPELL_ORANGE_FALLS_TO_GROUND, SPELL_PAPAYA_FALLS_TO_GROUND, SPELL_TRIGGER_SPAWN_DWARF, and urand().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 673 of file zone_sholazar_basin.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 647 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 SpellScriptBase::ValidateSpellInfo().