fix drop chance of rotten flesh

This commit is contained in:
Dylan K. Taylor 2017-10-23 12:35:57 +01:00
parent f25255e46c
commit 3ed8855894

View File

@ -40,7 +40,7 @@ class Zombie extends Monster{
public function getDrops() : array{
$drops = [
ItemFactory::get(ItemItem::ROTTEN_FLESH, 0, 1)
ItemFactory::get(ItemItem::ROTTEN_FLESH, 0, mt_rand(0, 2))
];
if(mt_rand(0, 199) < 5){