Skip to content

Commit

Permalink
Synthetic crit now deals damage by limb (#16626)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonash07 authored Oct 17, 2024
1 parent 2641956 commit 4f4e607
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/datum/species/synthetic/handle_unique_behavior(mob/living/carbon/human/H)
if(H.health <= SYNTHETIC_CRIT_THRESHOLD && H.stat != DEAD) // Instead of having a critical condition, they overheat and slowly die.
H.apply_effect(4 SECONDS, STUTTER) // Added flavor
H.adjustFireLoss(rand(5, 16)) // Melting!!!
H.take_overall_damage(rand(5, 16), BURN, updating_health = TRUE, max_limbs = 1) // Melting!!!
if(prob(12))
H.visible_message(span_boldwarning("[H] shudders violently and shoots out sparks!"), span_warning("Critical damage sustained. Internal temperature regulation systems offline. Shutdown imminent. <b>Estimated integrity: [round(H.health)]%.</b>"))
do_sparks(4, TRUE, H)
Expand Down Expand Up @@ -107,7 +107,7 @@
/datum/species/early_synthetic/handle_unique_behavior(mob/living/carbon/human/H)
if(H.health <= SYNTHETIC_CRIT_THRESHOLD && H.stat != DEAD) // Instead of having a critical condition, they overheat and slowly die.
H.apply_effect(4 SECONDS, STUTTER) // Added flavor
H.adjustFireLoss(rand(7, 19)) // Melting even more!!!
H.take_overall_damage(rand(7, 19), BURN, updating_health = TRUE, max_limbs = 1) // Melting even more!!!
if(prob(12))
H.visible_message(span_boldwarning("[H] shudders violently and shoots out sparks!"), span_warning("Critical damage sustained. Internal temperature regulation systems offline. Shutdown imminent. <b>Estimated integrity: [round(H.health)]%.</b>"))
do_sparks(4, TRUE, H)
Expand Down

0 comments on commit 4f4e607

Please sign in to comment.