mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 06:16:38 +00:00
Rename BotGroupSay to RaidGroupSay
This commit is contained in:
@@ -67,7 +67,7 @@ void bot_command_attack(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
if (attacker_count == 1 && first_attacker) {
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
first_attacker,
|
||||
fmt::format(
|
||||
"Attacking {}.",
|
||||
|
||||
@@ -1136,7 +1136,7 @@ void bot_command_spawn(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
if (!silent_tell && c->GetBotOption(Client::booSpawnMessageSay)) {
|
||||
Bot::BotGroupSay(my_bot, bot_spawn_message[message_index].c_str());
|
||||
Bot::RaidGroupSay(my_bot, bot_spawn_message[message_index].c_str());
|
||||
}
|
||||
else if (!silent_tell && c->GetBotOption(Client::booSpawnMessageTell)) {
|
||||
my_bot->OwnerMessage(bot_spawn_message[message_index]);
|
||||
|
||||
@@ -505,7 +505,7 @@ void bot_command_cast(Client* c, const Seperator* sep)
|
||||
}
|
||||
|
||||
if (IsBotSpellTypeDetrimental(spell_type) && !bot_iter->IsAttackAllowed(new_tar)) {
|
||||
bot_iter->BotGroupSay(
|
||||
bot_iter->RaidGroupSay(
|
||||
bot_iter,
|
||||
fmt::format(
|
||||
"I cannot attack [{}].",
|
||||
|
||||
@@ -175,7 +175,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
|
||||
}
|
||||
}
|
||||
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
bot_iter,
|
||||
fmt::format(
|
||||
"I can port you to {}.",
|
||||
@@ -211,7 +211,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
|
||||
}
|
||||
|
||||
if (bot_iter->IsCommandedSpell() && bot_iter->IsCasting()) {
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
bot_iter,
|
||||
fmt::format(
|
||||
"Interrupting {}. I have been commanded to try to cast a [{}] spell, {} on {}.",
|
||||
@@ -234,7 +234,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
|
||||
}
|
||||
|
||||
if (bot_iter->GetClass() != Class::Bard || RuleB(Bots, BardsAnnounceCasts)) {
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
bot_iter,
|
||||
fmt::format(
|
||||
"Casting {} [{}] on {}.",
|
||||
|
||||
@@ -47,7 +47,7 @@ void bot_command_guard(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
if (sbl.size() == 1) {
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
sbl.front(),
|
||||
fmt::format(
|
||||
"{}uarding this position.",
|
||||
|
||||
@@ -47,7 +47,7 @@ void bot_command_hold(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
if (sbl.size() == 1) {
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
sbl.front(),
|
||||
fmt::format(
|
||||
"{}olding my attacks.",
|
||||
|
||||
@@ -74,7 +74,7 @@ void bot_command_pet_remove(Client *c, const Seperator *sep)
|
||||
if (bot_iter->IsBotCharmer()) {
|
||||
bot_iter->SetBotCharmer(false);
|
||||
if (sbl.size() == 1)
|
||||
Bot::BotGroupSay(bot_iter, "Using a summoned pet");
|
||||
Bot::RaidGroupSay(bot_iter, "Using a summoned pet");
|
||||
++summoned_pet;
|
||||
continue;
|
||||
}
|
||||
@@ -86,7 +86,7 @@ void bot_command_pet_remove(Client *c, const Seperator *sep)
|
||||
}
|
||||
bot_iter->SetBotCharmer(true);
|
||||
if (sbl.size() == 1)
|
||||
Bot::BotGroupSay(bot_iter, "Available for Charming");
|
||||
Bot::RaidGroupSay(bot_iter, "Available for Charming");
|
||||
++charmed_pet;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ void bot_command_pick_lock(Client *c, const Seperator *sep)
|
||||
Bot* my_bot = sbl.front();
|
||||
|
||||
my_bot->InterruptSpell();
|
||||
Bot::BotGroupSay(my_bot, "Attempting to pick the lock.");
|
||||
Bot::RaidGroupSay(my_bot, "Attempting to pick the lock.");
|
||||
|
||||
std::list<Doors*> door_list;
|
||||
entity_list.GetDoorsList(door_list);
|
||||
@@ -51,7 +51,7 @@ void bot_command_pick_lock(Client *c, const Seperator *sep)
|
||||
++open_count;
|
||||
}
|
||||
else {
|
||||
Bot::BotGroupSay(my_bot, "I am not skilled enough for this lock.");
|
||||
Bot::RaidGroupSay(my_bot, "I am not skilled enough for this lock.");
|
||||
}
|
||||
}
|
||||
c->Message(Chat::White, "%i door%s attempted - %i door%s successful", door_count, ((door_count != 1) ? ("s") : ("")), open_count, ((open_count != 1) ? ("s") : ("")));
|
||||
|
||||
@@ -130,7 +130,7 @@ void bot_command_taunt(Client* c, const Seperator* sep)
|
||||
|
||||
bot_iter->SetTaunting(taunt_state);
|
||||
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
bot_iter,
|
||||
fmt::format(
|
||||
"I am {} taunting.",
|
||||
@@ -154,7 +154,7 @@ void bot_command_taunt(Client* c, const Seperator* sep)
|
||||
|
||||
bot_iter->GetPet()->CastToNPC()->SetTaunting(taunt_state);
|
||||
|
||||
Bot::BotGroupSay(
|
||||
Bot::RaidGroupSay(
|
||||
bot_iter,
|
||||
fmt::format(
|
||||
"My Pet is {} taunting.",
|
||||
|
||||
@@ -67,6 +67,6 @@ void bot_command_track(Client *c, const Seperator *sep)
|
||||
}
|
||||
|
||||
my_bot->InterruptSpell();
|
||||
Bot::BotGroupSay(my_bot, tracking_msg.c_str());
|
||||
Bot::RaidGroupSay(my_bot, tracking_msg.c_str());
|
||||
entity_list.ShowSpawnWindow(c, (c->GetLevel() * base_distance), track_named);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user