Radiation protection was unbalanced: A full rad suit would only give 15% protection

This commit is contained in:
CIB
2012-07-09 21:30:35 +03:00
parent 9f7c037d3f
commit d5f633a79a
+1 -2
View File
@@ -1,4 +1,3 @@
/*
apply_damage(a,b,c)
args
@@ -51,7 +50,7 @@
if(PARALYZE)
Paralyse(effect/(blocked+1))
if(IRRADIATE)
radiation += max((((effect - (effect*(getarmor(null, "rad")/100))))/(blocked+1)),0)//Rads auto check armor
radiation += max((((effect - (effect*(getarmor(null, "rad")/15))))/(blocked+1)),0)//Rads auto check armor
if(STUTTER)
if(canstun) // stun is usually associated with stutter
stuttering = max(stuttering,(effect/(blocked+1)))