mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Disabled monkey AI if inside mob
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user