mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
health values should be as in 0.9.5
This commit is contained in:
parent
369693ef03
commit
aa0031b910
5 changed files with 5 additions and 7 deletions
|
|
@ -4,7 +4,7 @@ class Skeleton extends Monster{
|
|||
function __construct(Level $level, $eid, $class, $type = 0, $data = []){
|
||||
$this->setSize(0.6, 1.99);
|
||||
parent::__construct($level, $eid, $class, $type, $data);
|
||||
$this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 10, "generic");
|
||||
$this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 15, "generic");
|
||||
$this->setName("Skeleton");
|
||||
$this->ai->removeTask("TaskAttackPlayer");
|
||||
$this->setSpeed(0.25);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue