Skip to content

Commit

Permalink
Fixes robot crit stagger (#12938)
Browse files Browse the repository at this point in the history
* improves robot crit staggerslow

* requested change
  • Loading branch information
DeltaFire15 authored May 12, 2023
1 parent b39ab2f commit 916849c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions code/modules/mob/living/carbon/human/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -466,13 +466,11 @@
clear_fullscreen("robothalf")
clear_fullscreen("robotlow")

/mob/living/carbon/human/species/robot/updatehealth()
. = ..()

if(health > -25)
/datum/species/robot/handle_unique_behavior(mob/living/carbon/human/H)
if(H.health > -25) //Staggerslowed if below crit threshold.
return
adjust_stagger(1)
adjust_slowdown(1)
H.adjust_stagger(2, capped = 10)
H.adjust_slowdown(1)

///Lets a robot repair itself over time at the cost of being stunned and blind
/datum/action/repair_self
Expand Down

0 comments on commit 916849c

Please sign in to comment.