From 63358dcc78cb264580987ce3ed50ff586dbb32c8 Mon Sep 17 00:00:00 2001 From: phil235 Date: Mon, 22 Jun 2015 18:12:52 +0200 Subject: [PATCH] fixing the formula. --- code/modules/power/singularity/singularity.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/singularity/singularity.dm b/code/modules/power/singularity/singularity.dm index 1590d6fb597..83d4d4d9419 100644 --- a/code/modules/power/singularity/singularity.dm +++ b/code/modules/power/singularity/singularity.dm @@ -367,7 +367,7 @@ radiationmin = round((radiation/5),1) for(var/mob/living/M in view(toxrange, src.loc)) M.irradiate(rand(radiationmin,radiation)) - var/toxdamage = (toxpwr - (toxpwr*M.getarmor(null, "rad"))) + var/toxdamage = toxpwr - toxpwr*(M.getarmor(null, "rad")/100) M.apply_damage(toxdamage, TOX) return