From 163c269cc37c7cc72661e246e88a43baceb39288 Mon Sep 17 00:00:00 2001 From: Erthilo Date: Sun, 24 Jun 2012 01:52:44 +0100 Subject: [PATCH] Fixes disarm not working due to armour. --- code/modules/mob/living/damage_procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/damage_procs.dm b/code/modules/mob/living/damage_procs.dm index 4d1670873bf..dd38ee299fb 100644 --- a/code/modules/mob/living/damage_procs.dm +++ b/code/modules/mob/living/damage_procs.dm @@ -47,7 +47,7 @@ if(STUN) Stun((effect - (min(effect*getarmor(null, "laser"), effect*(0.75 + (blocked*0.05)))))) if(WEAKEN) - Weaken((effect - (min(effect*getarmor(null, "laser"), effect*(0.75 + (blocked*0.05)))))) + Weaken(effect/(blocked+1)) if(PARALYZE) Paralyse(effect/(blocked+1)) if(IRRADIATE)