|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleDummy (SpellEffIndex) |
| PrepareSpellScript (spell_q12634_despawn_fruit_tosser_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 574 of file spell_quest.cpp.
|
inlineprivate |
Definition at line 585 of file spell_quest.cpp.
References Unit::CastSpell(), SpellScript::GetCaster(), roll_chance_i(), SPELL_BANANAS_FALL_TO_GROUND, SPELL_ORANGE_FALLS_TO_GROUND, SPELL_PAPAYA_FALLS_TO_GROUND, and SPELL_SUMMON_ADVENTUROUS_DWARF.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 599 of file spell_quest.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHit, OVERRIDE, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 578 of file spell_quest.cpp.
References OVERRIDE, SPELL_BANANAS_FALL_TO_GROUND, SPELL_ORANGE_FALLS_TO_GROUND, SPELL_PAPAYA_FALLS_TO_GROUND, SPELL_SUMMON_ADVENTUROUS_DWARF, and sSpellMgr.