Bugfix to radiation.

The proc for applying radiation was doing some wrong calculations, making the *maximum* radiation damage you could ever receive be 0.
This commit is contained in:
cib
2012-02-24 13:45:04 -08:00
parent 885ec78be8
commit 74c50e30b8

View File

@@ -48,7 +48,7 @@
if(PARALYZE)
Paralyse(effect/(blocked+1))
if(IRRADIATE)
radiation += min((effect - (effect*getarmor(null, "rad"))), 0)//Rads auto check armor
radiation += max((effect - (effect*getarmor(null, "rad"))), 0)//Rads auto check armor
if(STUTTER)
stuttering = max(stuttering,(effect/(blocked+1)))
if(SLUR)