mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
tweaks to inv to make it better on serverside, fixed eattile, spiders are a bit faster
This commit is contained in:
parent
e28498c4c2
commit
89717f86a4
4 changed files with 32 additions and 31 deletions
|
|
@ -8,10 +8,10 @@ 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(1.0));
|
||||
$this->ai->addTask(new TaskRandomWalk(1.2));
|
||||
$this->ai->addTask(new TaskLookAround());
|
||||
$this->ai->addTask(new TaskSwimming());
|
||||
$this->ai->addTask(new TaskAttackPlayer(1.0, 16));
|
||||
$this->ai->addTask(new TaskAttackPlayer(1.2, 16));
|
||||
}
|
||||
|
||||
public function getAttackDamage(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue