711 {
712
715 {
719 }
720 else
721 {
724 }
725 }
@ SPELL_CUSTOM_ERROR_MUST_HAVE_FIRE_TOTEM
Definition: SharedDefines.h:1226
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELL_FAILED_OUT_OF_RANGE
Definition: SharedDefines.h:1046
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
Definition: Creature.h:46
Map * GetMap() const
Definition: Object.h:531
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
float GetSpellMaxRangeForTarget(Unit const *target, SpellInfo const *spellInfo) const
Definition: Unit.cpp:15102
ObjectGuid m_SummonSlot[MAX_SUMMON_SLOT]
Definition: Unit.h:1780
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3314
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void SetCustomCastResultMessage(SpellCustomErrors result)
Definition: SpellScript.cpp:646
Unit * GetCaster()
Definition: SpellScript.cpp:401