Disabled monkey AI if inside mob

This commit is contained in:
David Jatczak
2017-04-12 22:20:54 -04:00
parent 553733efd4
commit c3fd7c5b57
@@ -132,6 +132,10 @@
return 0
/mob/living/carbon/monkey/proc/handle_combat()
// Don't do any AI if inside another mob (devoured)
if (ismob(loc))
// Really no idea what needs to be returned but everything else is TRUE
return TRUE
if(on_fire || buckled || restrained())
if(!resisting && prob(MONKEY_RESIST_PROB))