Added Squids with basic AI

This commit is contained in:
Shoghi Cervantes
2015-04-09 00:12:50 +02:00
parent 02ba9ffc16
commit 69f841a00c
10 changed files with 273 additions and 11 deletions

View File

@ -41,7 +41,7 @@ class Zombie extends Monster{
public function spawnTo(Player $player){
$pk = new AddEntityPacket();
$pk->eid = $this->getId();
$pk->type = Zombie::NETWORK_ID;
$pk->type = Zombie::NETWORK_ID | $this->MASK;
$pk->x = $this->x;
$pk->y = $this->y;
$pk->z = $this->z;