Added rare drop from reactor
Tall grass now drop only wheat seeds
Fix utils::chance()
Zombie now can drop carrot or potato
This commit is contained in:
ArkQuark 2022-06-02 23:56:38 +03:00
parent ccc51c8fe7
commit ac60efb7ca
4 changed files with 27 additions and 39 deletions

View file

@ -276,6 +276,8 @@ class Entity extends Position{
//Monsters
case MOB_ZOMBIE:
return array(
array(CARROT, 0, Utils::chance(0.83) ? 1 : 0),
array(POTATO, 0, Utils::chance(0.83) ? 1 : 0),
array(FEATHER, 0, mt_rand(0,2)),
);
case MOB_SPIDER: