mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[MIRROR] Fixes attacks doing 0 damage when dismemberment wound fails (#3160)
* Fixes attacks doing 0 damage when dismemberment wound fails (#56697) * Fixes attacks doing 0 damage when dismemberment wound fails Co-authored-by: YPOQ <30683121+YPOQ@users.noreply.github.com>
This commit is contained in:
@@ -51,3 +51,4 @@
|
||||
log_wound(victim, src)
|
||||
dismembered_part.dismember(wounding_type == WOUND_BURN ? BURN : BRUTE)
|
||||
qdel(src)
|
||||
return TRUE
|
||||
|
||||
@@ -191,8 +191,7 @@
|
||||
|
||||
if(prob(base_chance))
|
||||
var/datum/wound/loss/dismembering = new
|
||||
dismembering.apply_dismember(src, wounding_type)
|
||||
return TRUE
|
||||
return dismembering.apply_dismember(src, wounding_type)
|
||||
|
||||
//when a limb is dropped, the internal organs are removed from the mob and put into the limb
|
||||
/obj/item/organ/proc/transfer_to_limb(obj/item/bodypart/LB, mob/living/carbon/C)
|
||||
|
||||
Reference in New Issue
Block a user