Synth gets hit by axe? Internal bleeding.

That'sa-no-good.
This commit is contained in:
Arokha Sieyes
2016-06-03 21:14:46 -04:00
parent 02875c13da
commit 307e261e72
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -461,7 +461,7 @@ This function completely restores a damaged organ to perfect condition.
//moved this before the open_wound check so that having many small wounds for example doesn't somehow protect you from taking internal damage (because of the return)
//Possibly trigger an internal wound, too.
var/local_damage = brute_dam + burn_dam + damage
if(damage > 15 && type != BURN && local_damage > 30 && prob(damage) && (robotic < ORGAN_ROBOT))
if((damage > 15) && (type != BURN) && (local_damage > 30) && prob(damage) && (robotic < ORGAN_ROBOT))
var/datum/wound/internal_bleeding/I = new (min(damage - 15, 15))
wounds += I
owner.custom_pain("You feel something rip in your [name]!", 1)