◆ CheckIfCorpseNear()
839 {
843
847 if (!result)
848 {
850 }
852 }
@ SPELL_CAST_OK
Definition SharedDefines.h:1149
@ SPELL_FAILED_NO_EDIBLE_CORPSES
Definition SharedDefines.h:1101
@ TARGET_CHECK_ENEMY
Definition SpellInfo.h:116
Definition GridNotifiers.h:619
float GetMaxRange(bool positive=false, Unit *caster=nullptr, Spell *spell=nullptr) const
Definition SpellInfo.cpp:2335
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
Unit * GetCaster()
Definition SpellScript.cpp:401
Definition GridNotifiers.h:190
static void VisitObjects(WorldObject const *obj, T &visitor, float radius)
Definition CellImpl.h:165
References SpellScript::GetCaster(), SpellInfo::GetMaxRange(), SpellScript::GetSpellInfo(), SPELL_CAST_OK, SPELL_FAILED_NO_EDIBLE_CORPSES, TARGET_CHECK_ENEMY, and Cell::VisitObjects().
Referenced by Register().
◆ HandleDummy()
855 {
858 }
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1194
@ SPELL_HUNTER_PET_CARRION_FEEDER_TRIGGERED
Definition spell_hunter.cpp:60
References Unit::CastSpell(), SpellScript::GetCaster(), and SPELL_HUNTER_PET_CARRION_FEEDER_TRIGGERED.
Referenced by Register().
◆ Load()
bool spell_hun_pet_carrion_feeder::Load |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ PrepareSpellScript()
◆ Register()
void spell_hun_pet_carrion_feeder::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_hun_pet_carrion_feeder::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: