From 8fb635f7f9eb71c25c2588e8be5329dedbee3baf Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Mon, 2 Oct 2023 03:39:03 -0700 Subject: [PATCH] Makes radiation waves inverse square --- code/datums/radiation_wave.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/radiation_wave.dm b/code/datums/radiation_wave.dm index 59b2815e3be3..1bb31ce03d42 100644 --- a/code/datums/radiation_wave.dm +++ b/code/datums/radiation_wave.dm @@ -140,7 +140,7 @@ var/dir var/spread var/existing - var/inverse_square_factor = 1 / (2 ** (falloff_modifier * cycles)) + var/inverse_square_factor = (falloff_modifier * cycles)**-2 for(i in length(turfs) to 1 step -1) T = turfs[i]