mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
Merge remote-tracking branch 'upstream/dev-freeze' into dev
Conflicts: code/modules/clothing/spacesuits/void/merc.dm code/modules/mob/living/living.dm code/modules/mob/living/simple_animal/borer/borer_captive.dm code/modules/mob/mob_grab_specials.dm code/modules/reagents/reagent_containers/food/drinks/bottle.dm html/changelogs/.all_changelog.yml
This commit is contained in:
@@ -270,7 +270,7 @@
|
||||
owner.updatehealth() //droplimb will call updatehealth() again if it does end up being called
|
||||
|
||||
//If limb took enough damage, try to cut or tear it off
|
||||
if(owner && loc == owner)
|
||||
if(owner && loc == owner && !is_stump())
|
||||
if(!cannot_amputate && config.limbs_can_break && (brute_dam + burn_dam) >= (max_damage * config.organ_health_multiplier))
|
||||
//organs can come off in three cases
|
||||
//1. If the damage source is edge_eligible and the brute damage dealt exceeds the edge threshold, then the organ is cut off.
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
qdel(src)
|
||||
|
||||
/obj/item/organ/external/stump/is_usable()
|
||||
return 0
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user