Merges Heal_Damage and Heal_robotic_damage procs

like I should have done in the first place.
Corrects all usages of Heal_damage so it works with the changed version.
Same goes for Heal_robotic_damage
This commit is contained in:
Robson Richards
2013-12-29 17:40:12 +00:00
parent 53bfd06609
commit d3d4c79946
7 changed files with 16 additions and 24 deletions
+1 -2
View File
@@ -63,9 +63,8 @@
if(!istype(affecting, /obj/item/organ/limb) || affecting:burn_dam <= 0)
affecting = H.get_organ("head")
if(affecting.status == ORGAN_ORGANIC) // Just in case a robotic limb SOMEHOW got down to this point of the proc all you get is a message - RR
if (affecting.heal_damage(src.heal_brute, src.heal_burn))
if (affecting.heal_damage(src.heal_brute, src.heal_burn, 0))
H.update_damage_overlays(0)
M.updatehealth()
@@ -28,7 +28,7 @@
var/heal_amt = 10
for(var/obj/item/organ/limb/affecting in H.organs)
if(affecting.status == ORGAN_ORGANIC) //No Bible can heal a robotic arm!
if(affecting.heal_damage(heal_amt, heal_amt))
if(affecting.heal_damage(heal_amt, heal_amt, 0))
H.update_damage_overlays(0)
return