NPC mobs and blobs now attack all external human limbs.

When attacked by simple mobs and blobs now all external limbs are available for random selection.
The overall damage will be the same but the number of fractures caused will, in general, be fewer.
This commit is contained in:
PsiOmegaDelta
2015-06-04 09:20:02 +02:00
parent f1ff7293e1
commit 0e3bc3b860
3 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@
playsound(src.loc, pick('sound/hallucinations/wail.ogg','sound/hallucinations/veryfar_noise.ogg','sound/hallucinations/far_noise.ogg'), 50, 1, -3)
nearby_mobs.Add(M)
var/target = pick("chest","groin","head","l_arm","r_arm","r_leg","l_leg","l_hand","r_hand","l_foot","r_foot")
var/target = pick(M.organs_by_name)
M.apply_damage(rand(5, 10), BRUTE, target)
M << "\red The skin on your [parse_zone(target)] feels like it's ripping apart, and a stream of blood flies out."
var/obj/effect/decal/cleanable/blood/splatter/animated/B = new(M.loc)