Update Pig.php

added vanilla pork prolapse
This commit is contained in:
Tema1d 2022-08-26 10:16:12 +03:00 • committed by GitHub
parent e5bef8491b
commit f765d7700f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,8 @@ class Pig extends Animal{
public function getDrops(){
return $this->isBaby() ? parent::getDrops() :
array(
array(($this->fire > 0 ? COOKED_PORKCHOP:RAW_PORKCHOP), 0, 1),
array(($this->fire > 0 ? COOKED_PORKCHOP:RAW_PORKCHOP), 0, mt_rand(0,2)),
);
}
}
}