Bot command changes.

- #bot ai mez is now #bot mez
- #bot bindme is now #bot bind
- #bot runeme is now #bot rune
- #bot augmentitem now has an alias of #bot ai
- #bot giveitem now has an alias of #bot gi
- Removed unused #bot groupmessages
- Removed useless additional parameters (c->GetName()/sep->arg[2])
- Formatted loops and conditionals.
This commit is contained in:
Kinglykrab
2015-07-06 15:44:02 -04:00
parent 61c9a07596
commit 2ca5a4ade6
3 changed files with 182 additions and 231 deletions
+3 -3
View File
@@ -75,7 +75,7 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 iSpellTypes) {
MakeAnyLenString(&gmsg, "Attempting to mez %s.", addMob->GetCleanName());
if(gmsg && GetGroupMessagesOn())
if(gmsg)
BotGroupSay(this, gmsg);
}
}
@@ -262,7 +262,7 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 iSpellTypes) {
}
}
if(gmsg && GetGroupMessagesOn())
if(gmsg)
BotGroupSay(this, gmsg);
}
}
@@ -793,7 +793,7 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 iSpellTypes) {
MakeAnyLenString(&gmsg, "Attempting to slow %s.", tar->GetCleanName());
if(gmsg && GetGroupMessagesOn())
if(gmsg)
BotGroupSay(this, gmsg);
}
}