mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
better spider attacks
This commit is contained in:
parent
7a1bf49ca0
commit
0f84d692b7
5 changed files with 27 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue