From 0297045cc51570b702be26a2b886cca03a4793ae Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Mon, 3 Apr 2023 16:46:31 -0400 Subject: [PATCH] [Cleanup] Move cases in Bot::AICastSpell() (#3247) # Notes - These all returned `false`, no need to be separate. --- zone/botspellsai.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/zone/botspellsai.cpp b/zone/botspellsai.cpp index 897fc8602..13079a513 100644 --- a/zone/botspellsai.cpp +++ b/zone/botspellsai.cpp @@ -83,18 +83,15 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint32 iSpellTypes) { return BotCastDebuff(tar, botLevel, botSpell, checked_los); case SpellType_Cure: return BotCastCure(tar, botClass, botSpell, raid); - case SpellType_Resurrect: - return false; case SpellType_HateRedux: return BotCastHateReduction(tar, botLevel, botSpell); case SpellType_InCombatBuffSong: return BotCastCombatSong(tar, botLevel); case SpellType_OutOfCombatBuffSong: return BotCastSong(tar, botLevel); + case SpellType_Resurrect: case SpellType_PreCombatBuff: - return false; case SpellType_PreCombatBuffSong: - return false; default: return false; }