From 6eec8f9115b1e00d6ac4f028d24c31cc234de69f Mon Sep 17 00:00:00 2001 From: Viz <107632879+Inadvizable@users.noreply.github.com> Date: Fri, 15 Jul 2022 16:16:09 +0200 Subject: [PATCH] several skrell were hurt testing this (#18390) --- code/modules/mob/living/living_defense.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index 8e9b195e0c3..ffd95be3d76 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -14,7 +14,7 @@ var/armor = getarmor(def_zone, attack_flag) //the if "armor" check is because this is used for everything on /living, including humans - if(armor && armor < 100 && armour_penetration) // Armor with 100+ protection can not be penetrated for admin items + if(armor > 0 && armor < 100 && armour_penetration) // Armor with 100+ protection can not be penetrated for admin items, nor can you penetrate already negative armor armor = max(0, armor - armour_penetration) if(penetrated_text) to_chat(src, "[penetrated_text]")