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
parent
9c392f6a68
commit
f231ac39de
|
@ -167,10 +167,10 @@ namespace pCampBot
|
||||||
Behaviours.ForEach(
|
Behaviours.ForEach(
|
||||||
b =>
|
b =>
|
||||||
{
|
{
|
||||||
|
Thread.Sleep(Random.Next(3000, 10000));
|
||||||
|
|
||||||
// m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType());
|
// m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType());
|
||||||
b.Action();
|
b.Action();
|
||||||
|
|
||||||
Thread.Sleep(Random.Next(1000, 10000));
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue