Skip to content

Commit

Permalink
Chest included in head check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rukofamicom committed Dec 25, 2024
1 parent e1a061e commit 1a88509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/carbon_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
dismember_limb = TRUE
//You can only cut a limb off if it is already damaged enough to be fully disabled

if(dismember_limb && (affecting.body_zone != BODY_ZONE_HEAD || stat != CONSCIOUS) && affecting.dismember(I.damtype))
if(dismember_limb && ((affecting.body_zone != BODY_ZONE_HEAD && affecting.body_zone != BODY_ZONE_CHEST) || stat != CONSCIOUS) && affecting.dismember(I.damtype))
I.add_mob_blood(src)
playsound(get_turf(src), I.get_dismember_sound(), 80, 1)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ GLOBAL_LIST_EMPTY(features_by_species)
dismember_limb = TRUE
//You can only cut a limb off if it is already damaged enough to be fully disabled

if(dismember_limb && (affecting.body_zone != BODY_ZONE_HEAD || H.stat != CONSCIOUS) && affecting.dismember(I.damtype))
if(dismember_limb && ((affecting.body_zone != BODY_ZONE_HEAD && affecting.body_zone != BODY_ZONE_CHEST) || H.stat != CONSCIOUS) && affecting.dismember(I.damtype))
I.add_mob_blood(H)
playsound(get_turf(H), I.get_dismember_sound(), 80, 1)

Expand Down

0 comments on commit 1a88509

Please sign in to comment.