fixed swimming + some entity movement tweaks

This commit is contained in:
GameHerobrine 2023-02-22 15:56:58 +03:00
parent af36fb318a
commit 2342e1e783
4 changed files with 17 additions and 8 deletions

View file

@ -26,7 +26,7 @@ abstract class Creature extends Living{
}
public function getSpeedModifer(){
return $this->speedModifer * ($this->inPanic ? 1.0 : 0.7);
return $this->speedModifer * ($this->inPanic ? 1.5 : 1.0);
}
public function getArmorValue(){
return 2;