Merge pull request #392 from CIB/master

Fixes to shock-crit and co
This commit is contained in:
SkyMarshal
2012-02-09 14:45:47 -08:00

View File

@@ -115,17 +115,14 @@
handle_health_updates()
// if the mob has enough health, she should slowly heal
if(health >= 0)
var/pr = 5
var/pr = 10
if(stat == 1) // sleeping means faster healing
pr += 3
pr += 5
if(prob(pr))
heal_organ_damage(1,1)
adjustToxLoss(-1)
else if(health < 0)
var/pr = 8
// sleeping means slower damage
if(stat == 1)
pr = 3
var/pr = 80
if(prob(pr))
adjustToxLoss(1)