1376 {
1379
1382
1386 {
1388 return result;
1389 }
1390
1392 }
SpellCustomErrors
Definition SharedDefines.h:1130
@ SPELL_CUSTOM_ERROR_NONE
Definition SharedDefines.h:1131
SpellCastResult
Definition SharedDefines.h:936
@ SPELL_FAILED_TARGET_NOT_PLAYER
Definition SharedDefines.h:1059
@ SPELL_FAILED_BAD_TARGETS
Definition SharedDefines.h:949
@ SPELL_CAST_OK
Definition SharedDefines.h:1126
Unit * GetExplTargetUnit()
Definition SpellScript.cpp:438
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:416
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition Spell.cpp:4811
SpellCastResult CheckRequirementInternal(SpellCustomErrors &extendedError)
Definition boss_professor_putricide.cpp:1350