mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-12-01 21:12:50 +08:00
[Command] Disperse command tips
This commit is contained in:
@@ -1911,10 +1911,10 @@ bool DisperseSetAction::Execute(Event event)
|
||||
return true;
|
||||
}
|
||||
std::ostringstream out;
|
||||
out << "Usage: disperse [enable|disable|increase|decrease|set {distance}]" << "\n";
|
||||
out << "Usage: disperse [enable | disable | increase | decrease | set {distance}]";
|
||||
float dis = AI_VALUE(float, "disperse distance");
|
||||
if (dis > 0.0f) {
|
||||
out << "Current disperse distance: " << std::setprecision(2) << dis;
|
||||
out << "(Current disperse distance: " << std::setprecision(2) << dis << ")";
|
||||
}
|
||||
botAI->TellMasterNoFacing(out.str());
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user