and again

This commit is contained in:
DeltaFire
2022-01-02 21:27:13 +01:00
parent 09afd40acc
commit fdeeacc279
@@ -1176,7 +1176,10 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
var/takes_crit_damage = !HAS_TRAIT(H, TRAIT_NOCRITDAMAGE)
if((H.health < H.crit_threshold) && takes_crit_damage)
!HAS_TRAIT(H, TRAIT_ROBOTIC_ORGANISM) ? H.adjustBruteLoss(1) : H.adjustFireLoss(1) //Robots melt instead of taking brute.
if(!HAS_TRAIT(H, TRAIT_ROBOTIC_ORGANISM))
H.adjustBruteLoss(1)
else
H.adjustFireLoss(1) //Robots melt instead of taking brute.
/datum/species/proc/spec_death(gibbed, mob/living/carbon/human/H)
if(H)