movement tweaks

This commit is contained in:
GameHerobrine 2023-02-22 16:08:40 +03:00
parent efca0f8398
commit 90d1865cb1
4 changed files with 18 additions and 9 deletions

View file

@ -5,7 +5,7 @@ class TaskPanic extends TaskBase
protected $randX = 2, $randZ = 2;
public function onStart(EntityAI $ai)
{
$this->selfCounter = mt_rand(60, 120);
$this->selfCounter = 60;
$this->regenerateRandXZ();
}