mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-05 12:33:51 +00:00
[Cleanup] Move cases in Bot::AICastSpell() (#3247)
# Notes - These all returned `false`, no need to be separate.
This commit is contained in:
parent
cb90d00832
commit
0297045cc5
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user