[Cleanup] Move cases in Bot::AICastSpell() (#3247)

# Notes
- These all returned `false`, no need to be separate.
This commit is contained in:
Alex King 2023-04-03 16:46:31 -04:00 committed by GitHub
parent cb90d00832
commit 0297045cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}