Merge pull request #10063 from Kelenius/ofSlimesAndMonkeys

Fixes #9908
This commit is contained in:
PsiOmegaDelta
2015-07-09 10:50:00 +02:00

View File

@@ -21,7 +21,7 @@
return "I cannot feed on other slimes..." return "I cannot feed on other slimes..."
if (!Adjacent(M)) if (!Adjacent(M))
return "This subject is too far away..." return "This subject is too far away..."
if (istype(M, /mob/living/carbon) && M.getCloneLoss() > 150 || istype(M, /mob/living/simple_animal) && M.stat == DEAD) if (istype(M, /mob/living/carbon) && M.getCloneLoss() >= M.maxHealth * 1.5 || istype(M, /mob/living/simple_animal) && M.stat == DEAD)
return "This subject does not have an edible life energy..." return "This subject does not have an edible life energy..."
for(var/mob/living/carbon/slime/met in view()) for(var/mob/living/carbon/slime/met in view())
if(met.Victim == M && met != src) if(met.Victim == M && met != src)