mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
armor rewrite
This commit is contained in:
parent
45b36cb034
commit
bae0d4618e
34 changed files with 143 additions and 67 deletions
|
|
@ -10,6 +10,10 @@ class Zombie extends Monster{
|
|||
$this->update();
|
||||
}
|
||||
|
||||
public function getArmorValue(){
|
||||
return 2;
|
||||
}
|
||||
|
||||
public function updateBurning(){
|
||||
if($this->fire > 0 or !$this->level->isDay()){
|
||||
return false;
|
||||
|
|
@ -31,7 +35,7 @@ class Zombie extends Monster{
|
|||
}
|
||||
|
||||
public function getAttackDamage(){
|
||||
return 4; //TODO vanillafy(zombies might be able to hold items)
|
||||
return 4; //TODO vanillafy(zombies might be able to hold items)
|
||||
}
|
||||
|
||||
public function update(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue