Fixes a whole bunch of bugs. (#7984)

This commit is contained in:
Matt Atlas
2020-01-12 11:37:05 +01:00
committed by GitHub
parent 204b1614e3
commit 06dbe222ad
8 changed files with 56 additions and 13 deletions
@@ -177,7 +177,7 @@
if(BP_IS_ROBOTIC(E))
continue
if(heal_internal && (E.status & ORGAN_BROKEN) && E.damage < (E.min_broken_damage * config.organ_health_multiplier)) // So we don't mend and autobreak.
if(heal_internal && (E.status & ORGAN_BROKEN) && E.damage < E.min_broken_damage) // So we don't mend and autobreak.
if(spend_power(heal_rate))
if(E.mend_fracture())
to_chat(H, span("notice", "Your autoredactive faculty coaxes together the shattered bones in your [E.name]."))