Bots- added out of combat bard songs & #bot bardoutofcombat on|off command to turn them on/off.

This commit is contained in:
badcaptain
2013-10-12 00:47:15 -04:00
parent 8ac4845930
commit 809925dc3e
5 changed files with 58 additions and 1 deletions
+1 -1
View File
@@ -1025,7 +1025,7 @@ bool Bot::AI_IdleCastCheck() {
// bard bots
if(!AICastSpell(this, 100, SpellType_Cure)) {
if(!AICastSpell(this, 100, SpellType_Heal)) {
if(!RuleB(Bots, BotBardUseOutOfCombatSongs) || !AICastSpell(this, 100, SpellType_Buff)) { // skips if rule is false
if((!RuleB(Bots, BotBardUseOutOfCombatSongs) || !GetBardUseOutOfCombatSongs()) || !AICastSpell(this, 100, SpellType_Buff)) { // skips if rule is false
if(!AICastSpell(this, 100, SpellType_InCombatBuff)) { // this tries to keep some combat buffs on the group until engaged code can pick up the buffing
//
}