Two fixes to joint wounds.

This commit is contained in:
cib
2012-08-06 23:17:07 -07:00
parent 7bbc98e9da
commit 8a2a1b58ca
3 changed files with 4 additions and 4 deletions
@@ -287,9 +287,9 @@
var/list/wound_descriptors = list()
for(var/datum/wound/W in temp.wounds)
if(W.desc in wound_descriptors)
wound_descriptors[W.desc]++
wound_descriptors[W.desc] += W.amount
continue
wound_descriptors[W.desc] = 1
wound_descriptors[W.desc] = W.amount
var/list/flavor_text = list()
var/list/no_exclude = list("gaping wound", "big gaping wound", "massive wound", "large bruise",\
"huge bruise", "massive bruise", "severe burn", "large burn", "deep burn", "carbonised area")
@@ -56,7 +56,7 @@
if(W.desc in wound_descriptors)
wound_descriptors[W.desc] += W.amount
continue
wound_descriptors[W.desc] = 1
wound_descriptors[W.desc] = W.amount
var/list/flavor_text = list()
var/list/no_exclude = list("gaping wound", "big gaping wound", "massive wound", "large bruise",\
"huge bruise", "massive bruise", "severe burn", "large burn", "deep burn", "carbonised area")
+1 -1
View File
@@ -121,7 +121,7 @@
amount -= healed_damage
src.damage -= healed_damage
while(src.damage / amount < damage_list[current_stage] && current_stage < src.desc_list.len)
while(src.damage / src.amount < damage_list[current_stage] && current_stage < src.desc_list.len)
current_stage++
desc = desc_list[current_stage]