|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckIfCorpseNear () |
| void | HandleDummy (SpellEffIndex) |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_hun_pet_carrion_feeder_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 461 of file spell_hunter.cpp.
|
inlineprivate |
Definition at line 479 of file spell_hunter.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 493 of file spell_hunter.cpp.
References Unit::CastSpell(), SpellScript::GetCaster(), and SPELL_HUNTER_PET_CARRION_FEEDER_TRIGGERED.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 465 of file spell_hunter.cpp.
References SpellScript::GetCaster(), and OVERRIDE.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 499 of file spell_hunter.cpp.
References CheckIfCorpseNear(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHit, OVERRIDE, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 472 of file spell_hunter.cpp.
References OVERRIDE, SPELL_HUNTER_PET_CARRION_FEEDER_TRIGGERED, and sSpellMgr.