Update spells.cpp (#1635)

This commit is contained in:
KayenEQ 2021-10-24 11:08:21 -04:00 committed by GitHub
parent 36d10462f7
commit 6a244f16e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3859,6 +3859,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, int reflect_effectivenes
//Need this to account for special AOE cases.
if (IsClient() && IsHarmonySpell(spell_id) && !HarmonySpellLevelCheck(spell_id, spelltar)) {
MessageString(Chat::SpellFailure, SPELL_NO_EFFECT);
safe_delete(action_packet);
return false;
}