Fix avoid aoe output text

This commit is contained in:
Yunfan Li 2024-04-15 20:52:44 +08:00
parent 56881c3a4d
commit caa3eb6423

View File

@ -1617,7 +1617,7 @@ bool AvoidAoeAction::FleePostion(Position pos, float radius, std::string name)
if (farestDis > 0.0f) {
if (MoveTo(bot->GetMapId(), bestPos.GetPositionX(), bestPos.GetPositionY(), bestPos.GetPositionZ(), false, false, true)) {
std::ostringstream out;
out << "I'm avoiding aoe spell " << name << "...";
out << "Avoiding spell " << name << "...";
bot->Say(out.str(), LANG_UNIVERSAL);
return true;
}