Increase minimum period between bot actions to 3 seconds, so that teleport doesn't fall under the minimum 2 second limits that clients take to process it

0.7.4.1
Justin Clark-Casey (justincc) 2012-05-11 02:23:18 +01:00
parent 9c392f6a68
commit f231ac39de
1 changed files with 2 additions and 2 deletions

View File

@ -167,10 +167,10 @@ namespace pCampBot
Behaviours.ForEach(
b =>
{
Thread.Sleep(Random.Next(3000, 10000));
// m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType());
b.Action();
Thread.Sleep(Random.Next(1000, 10000));
}
);
}