Made stronger EMP pulses have BIGGER chance of exploding robolimb. It was backwards for some reason, so weak pulses had higher chance of explosion.

This commit is contained in:
Chinsky
2012-10-30 07:56:43 +04:00
parent 2d216bf746
commit 3583d78a45
+2 -2
View File
@@ -452,9 +452,9 @@
if(!(status & ORGAN_ROBOT))
return
if(prob(30*severity))
take_damage(4(4-severity), 0, 1, used_weapon = "EMP")
else
droplimb(1)
else
take_damage(4(4-severity), 0, 1, used_weapon = "EMP")
proc/getDisplayName()
switch(name)