mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Many fix
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:
parent
ccc51c8fe7
commit
ac60efb7ca
4 changed files with 27 additions and 39 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue