|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckIfCorpseNear () |
| void | HandleDummy (SpellEffIndex) |
| PrepareSpellScript (spell_gen_cannibalize_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 814 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 825 of file spell_generic.cpp.
References SpellScript::GetCaster(), WorldObject::GetMap(), SpellInfo::GetMaxRange(), SpellScript::GetSpellInfo(), Position::m_positionX, Position::m_positionY, SPELL_CAST_OK, SPELL_FAILED_NO_EDIBLE_CORPSES, TARGET_CHECK_ENEMY, and Map::VisitFirstFound().
Referenced by Register().
|
inlineprivate |
Definition at line 839 of file spell_generic.cpp.
References Unit::CastSpell(), SpellScript::GetCaster(), and SPELL_CANNIBALIZE_TRIGGERED.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 844 of file spell_generic.cpp.
References CheckIfCorpseNear(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHit, OVERRIDE, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 818 of file spell_generic.cpp.
References OVERRIDE, SPELL_CANNIBALIZE_TRIGGERED, and sSpellMgr.