Adjusted healing speed for the amount of wounds per wound object.

This commit is contained in:
cib
2012-08-06 23:24:56 -07:00
parent 8a2a1b58ca
commit 2a993ffee4
2 changed files with 2 additions and 2 deletions

View File

@@ -914,7 +914,7 @@
for(var/name in organs)
var/datum/organ/external/E = organs[name]
for(var/datum/wound/W in E.wounds)
number_wounds++
number_wounds+=W.amount
var/leg_tally = 2
for(var/name in organs)

View File

@@ -418,7 +418,7 @@
if(W.salved) amount++
if(W.disinfected) amount++
// amount of healing is spread over all the wounds
W.heal_damage(amount / (20*owner.number_wounds+1))
W.heal_damage((amount * W.amount) / (20*owner.number_wounds+1))
proc/add_wound(var/used_weapon, var/damage)
var/datum/autopsy_data/W = autopsy_data[used_weapon]