simple autojump, more vanilla speed

This commit is contained in:
GameHerobrine 2024-02-01 07:19:59 +03:00
parent d0a262a3da
commit dee744e709
15 changed files with 52 additions and 35 deletions

View file

@ -7,7 +7,7 @@ class Spider extends Monster{
$this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 8, "generic");
$this->setName("Spider");
$this->setSpeed(0.3);
$this->ai->addTask(new TaskRandomWalk(0.25)); //TODO this mob doesnt use newAI -> speed is not correct
$this->ai->addTask(new TaskRandomWalk(1.0)); //TODO this mob doesnt use newAI -> speed is not correct
$this->ai->addTask(new TaskLookAround()); //TODO this mob doesnt use newAI
$this->ai->addTask(new TaskSwimming());
}