better spider attacks

This commit is contained in:
GameHerobrine 2024-03-06 03:50:11 +03:00
parent 7a1bf49ca0
commit 0f84d692b7
5 changed files with 27 additions and 12 deletions

View file

@ -9,7 +9,8 @@ class Monster extends Creature{
return 2;
}
public function attackEntity($entity){
public function attackEntity($entity, $distance){
$entity->harm($this->getAttackDamage(), $this->eid);
return true;
}
}