mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 18:32:25 +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);
|
return BotCastDebuff(tar, botLevel, botSpell, checked_los);
|
||||||
case SpellType_Cure:
|
case SpellType_Cure:
|
||||||
return BotCastCure(tar, botClass, botSpell, raid);
|
return BotCastCure(tar, botClass, botSpell, raid);
|
||||||
case SpellType_Resurrect:
|
|
||||||
return false;
|
|
||||||
case SpellType_HateRedux:
|
case SpellType_HateRedux:
|
||||||
return BotCastHateReduction(tar, botLevel, botSpell);
|
return BotCastHateReduction(tar, botLevel, botSpell);
|
||||||
case SpellType_InCombatBuffSong:
|
case SpellType_InCombatBuffSong:
|
||||||
return BotCastCombatSong(tar, botLevel);
|
return BotCastCombatSong(tar, botLevel);
|
||||||
case SpellType_OutOfCombatBuffSong:
|
case SpellType_OutOfCombatBuffSong:
|
||||||
return BotCastSong(tar, botLevel);
|
return BotCastSong(tar, botLevel);
|
||||||
|
case SpellType_Resurrect:
|
||||||
case SpellType_PreCombatBuff:
|
case SpellType_PreCombatBuff:
|
||||||
return false;
|
|
||||||
case SpellType_PreCombatBuffSong:
|
case SpellType_PreCombatBuffSong:
|
||||||
return false;
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user