mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fixed difficulty affecting player damage & armor for creatures
This commit is contained in:
parent
3a15dacf51
commit
fc0f3f6bde
2 changed files with 14 additions and 13 deletions
|
|
@ -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)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue