Fix changeling sting forensics + laser AB (#9057)

This commit is contained in:
Matt Atlas
2020-06-07 13:04:06 +02:00
committed by GitHub
parent 7e7da57149
commit 7d41bae9a1
3 changed files with 44 additions and 2 deletions
+1 -1
View File
@@ -458,7 +458,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 && !(status & ORGAN_ROBOT))
if(damage > 15 && !(type in list(BURN, LASER)) && local_damage > 30 && !(status & ORGAN_ROBOT))
var/internal_damage
if(prob(damage) && sever_artery())
internal_damage = TRUE