fixed difficulty affecting player damage & armor for creatures

This commit is contained in:
GameHerobrine 2024-05-29 03:57:31 +03:00
parent 3a15dacf51
commit fc0f3f6bde
2 changed files with 14 additions and 13 deletions

View file

@ -44,10 +44,10 @@ abstract class Creature extends Living{
}
public function getSpeedModifer(){
return 0.7; //$this->speedModifer; //should be 0.7?
return 0.7;
}
public function getArmorValue(){
return 2;
return 0;
}
public function spawn($player){
if(!($player instanceof Player)){