diff --git a/src/entity/monster/Creeper.php b/src/entity/monster/Creeper.php index d1045770..9510cd2f 100644 --- a/src/entity/monster/Creeper.php +++ b/src/entity/monster/Creeper.php @@ -6,7 +6,7 @@ class Creeper extends Monster{ function __construct(Level $level, $eid, $class, $type = 0, $data = []){ $this->setSize(0.6, 1.7); parent::__construct($level, $eid, $class, $type, $data); - $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 16, "generic"); + $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 20, "generic"); $this->setName("Creeper"); $this->ignited = 0; $this->setSpeed(0.25); @@ -22,8 +22,6 @@ class Creeper extends Monster{ $this->setState($v === null ? !$this->getState() : $v); } - - /** * @return boolean */ diff --git a/src/entity/monster/PigZombie.php b/src/entity/monster/PigZombie.php index 44724f67..7ef42cb9 100644 --- a/src/entity/monster/PigZombie.php +++ b/src/entity/monster/PigZombie.php @@ -4,7 +4,7 @@ class PigZombie extends Monster{ function __construct(Level $level, $eid, $class, $type = 0, $data = []){ $this->setSize(0.3, 1.95); parent::__construct($level, $eid, $class, $type, $data); - $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 12, "generic"); + $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 20, "generic"); $this->setName("Pigman"); $this->setSpeed(0.25); $this->update(); diff --git a/src/entity/monster/Skeleton.php b/src/entity/monster/Skeleton.php index 70d52c9f..46a3f17b 100644 --- a/src/entity/monster/Skeleton.php +++ b/src/entity/monster/Skeleton.php @@ -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); diff --git a/src/entity/monster/Spider.php b/src/entity/monster/Spider.php index b3f41f60..117a77d4 100644 --- a/src/entity/monster/Spider.php +++ b/src/entity/monster/Spider.php @@ -4,7 +4,7 @@ class Spider extends Monster{ function __construct(Level $level, $eid, $class, $type = 0, $data = array()){ $this->setSize(1.4, 0.9); parent::__construct($level, $eid, $class, $type, $data); - $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 8, "generic"); + $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 16, "generic"); $this->setName("Spider"); $this->setSpeed(0.3); $this->update(); diff --git a/src/entity/monster/Zombie.php b/src/entity/monster/Zombie.php index 26502a8e..cea5b509 100644 --- a/src/entity/monster/Zombie.php +++ b/src/entity/monster/Zombie.php @@ -4,7 +4,7 @@ class Zombie extends Monster{ function __construct(Level $level, $eid, $class, $type = 0, $data = array()){ $this->setSize(0.6, 1.85); parent::__construct($level, $eid, $class, $type, $data); - $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 12, "generic"); + $this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 20, "generic"); $this->setName("Zombie"); $this->setSpeed(0.23); $this->update();