From 690d6f90ec2da46ffcac34766b73156c7346f0db Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Tue, 12 Nov 2019 23:50:40 -0700 Subject: [PATCH] Update radiation_storm.dm --- code/datums/weather/weather_types/radiation_storm.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/datums/weather/weather_types/radiation_storm.dm b/code/datums/weather/weather_types/radiation_storm.dm index bc3f438e12..a8cb8f4307 100644 --- a/code/datums/weather/weather_types/radiation_storm.dm +++ b/code/datums/weather/weather_types/radiation_storm.dm @@ -23,7 +23,7 @@ immunity_type = "rad" - var/radiation_intensity = 150 + var/radiation_intensity = 100 /datum/weather/rad_storm/telegraph() ..() @@ -31,7 +31,8 @@ /datum/weather/rad_storm/weather_act(mob/living/L) var/resist = L.getarmor(null, "rad") - L.rad_act(radiation_intensity / resist) + var/ratio = 1 - (min(resist, 100) / 100) + L.rad_act(radiation_intensity * percent) /datum/weather/rad_storm/end() if(..())