Bones no longer break on the first hit, as intended. (#18737)

This commit is contained in:
Qwertytoforty
2022-08-09 10:06:20 +01:00
committed by GitHub
parent a37a6bfc60
commit a7c988f0b5
@@ -167,6 +167,8 @@
brute *= brute_mod
burn *= burn_mod
// See if bones need to break
check_fracture(brute)
// Threshold needed to have a chance of hurting internal bits with something sharp
#define LIMB_SHARP_THRESH_INT_DMG 5
// Threshold needed to have a chance of hurting internal bits
@@ -237,8 +239,6 @@
if(dismember_at_max_damage && body_part != UPPER_TORSO && body_part != LOWER_TORSO) // We've ensured all damage to the mob is retained, now let's drop it, if necessary.
droplimb(1) //Clean loss, just drop the limb and be done
// See if bones need to break
check_fracture(brute)
var/mob/living/carbon/owner_old = owner //Need to update health, but need a reference in case the below check cuts off a limb.
//If limb took enough damage, try to cut or tear it off
if(owner)