From 3caac1e1e25c04fd350124845dc5ccefd07f4639 Mon Sep 17 00:00:00 2001 From: Markolie Date: Mon, 21 Sep 2015 22:58:42 +0200 Subject: [PATCH] Check for 100+ armor --- 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 9e728c907db..07fa3470a66 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 && armour_penetration) + if(armor && armor < 100 && armour_penetration) // Armor with 100+ protection can not be penetrated for admin items armor = max(0, armor - armour_penetration) if(penetrated_text) src << "[penetrated_text]"