This commit is contained in:
mwerezak
2015-12-27 01:25:13 -05:00
parent da0a4c47cf
commit b30f81c7ea

View File

@@ -8,8 +8,8 @@
var/total_burn = 0
var/total_brute = 0
for(var/obj/item/organ/external/O in organs) //hardcoded to streamline things a bit
if(O.status & ORGAN_ROBOT)
continue //robot limbs don't count towards shock and crit
if(O.status & ORGAN_ROBOT && !O.vital)
continue //*non-vital* robot limbs don't count towards shock and crit
total_brute += O.brute_dam
total_burn += O.burn_dam