From 4dbb5feb2d698e0c90fe8c1fbc8f79fb128f2776 Mon Sep 17 00:00:00 2001 From: Ikarrus Date: Sun, 28 Jun 2015 20:29:13 -0600 Subject: [PATCH] If ex_act(2) is softened by armor, shredding chance gets halved --- code/modules/mob/living/carbon/human/human.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index b99a78d7e9e..b8024eed08d 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -125,11 +125,12 @@ f_loss += 60 - shred_clothing(1,50) - if (prob(getarmor(null, "bomb"))) b_loss = b_loss/1.5 f_loss = f_loss/1.5 + shred_clothing(1,25) + else + shred_clothing(1,50) if (!istype(ears, /obj/item/clothing/ears/earmuffs)) adjustEarDamage(30, 120)