[Ready]Brain Trauma additions

This commit is contained in:
XDTM
2017-12-17 11:11:10 -06:00
committed by CitadelStationBot
parent 220e1cd8cf
commit 962f135957
29 changed files with 545 additions and 109 deletions
@@ -120,16 +120,19 @@
/mob/living/carbon/monkey/proc/should_target(var/mob/living/L)
if(L == src)
return 0
return FALSE
if(disabilities & PACIFISM)
return FALSE
if(enemies[L])
return 1
return TRUE
// target non-monkey mobs when aggressive, with a small probability of monkey v monkey
if(aggressive && (!istype(L, /mob/living/carbon/monkey/) || prob(MONKEY_AGGRESSIVE_MVM_PROB)))
return 1
return TRUE
return 0
return FALSE
/mob/living/carbon/monkey/proc/handle_combat()
// Don't do any AI if inside another mob (devoured)