Skip to content

Commit

Permalink
Update life.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers authored May 23, 2024
1 parent 7ffdace commit 325ced4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@

handle_statuses()//natural decrease of stunned, knocked_down, etc...
handle_interference()
handle_debuff_grade_period()

return TRUE

Expand Down Expand Up @@ -547,6 +548,11 @@ Make sure their actual health updates immediately.*/
amount *= 2 / 3
return ..()

/mob/living/carbon/xenomorph/proc/handle_debuff_grace_period()
if(debuff_grace_period)
debuff_grace_period = max(debuff_grace_period-2, 0)
return debuff_grace_period

/mob/living/carbon/xenomorph/proc/handle_interference()
if(interference)
interference = max(interference-2, 0)
Expand Down

0 comments on commit 325ced4

Please sign in to comment.