mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user