If you stab someone who doesn't have eyes in the eyes it now damages
their head
This commit is contained in:
VampyrBytes
2016-01-24 08:37:10 +00:00
parent 1ea446069e
commit d24b2fc014
+3 -1
View File
@@ -420,7 +420,9 @@
if(istype(H))
var/obj/item/organ/eyes/eyes = H.internal_organs_by_name["eyes"]
if(!eyes)
if(!eyes) // should still get stabbed in the head
var/obj/item/organ/external/head/head = H.organs_by_name["head"]
head.take_damage(rand(2,3), 1) //being stabbed in the head isnt as bad as the eyes
return
eyes.take_damage(rand(3,4), 1)
if(eyes.damage >= eyes.min_bruised_damage)