mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
randomwalking for all mobs
This commit is contained in:
parent
88cec22404
commit
4689809794
10 changed files with 27 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
class Monster extends Creature{
|
||||
public function __construct(Level $level, $eid, $class, $type = 0, $data = []){
|
||||
parent::__construct($level, $eid, $class, $type, $data);
|
||||
$this->ai->addTask(new TaskAttackPlayer());
|
||||
//$this->ai->addTask(new TaskAttackPlayer());
|
||||
}
|
||||
|
||||
public function getAttackDamage(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue