mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Fixes #11381
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
var/total_burn = 0
|
var/total_burn = 0
|
||||||
var/total_brute = 0
|
var/total_brute = 0
|
||||||
for(var/obj/item/organ/external/O in organs) //hardcoded to streamline things a bit
|
for(var/obj/item/organ/external/O in organs) //hardcoded to streamline things a bit
|
||||||
if(O.status & ORGAN_ROBOT)
|
if(O.status & ORGAN_ROBOT && !O.vital)
|
||||||
continue //robot limbs don't count towards shock and crit
|
continue //*non-vital* robot limbs don't count towards shock and crit
|
||||||
total_brute += O.brute_dam
|
total_brute += O.brute_dam
|
||||||
total_burn += O.burn_dam
|
total_burn += O.burn_dam
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user