Skip to content

Commit

Permalink
grace period buff
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers committed May 26, 2024
1 parent 39aad11 commit 6f42d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/components/status_effect_component.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

/datum/component/status_effect
var/has_immunity = FALSE
var/grace_period = 5
var/grace_period = 30

/datum/component/status_effect/InheritComponent(datum/component/C, i_am_original)
if(has_immunity)
grace_period = initial(grace_period)
grace_period = min(grace_period + 1, initial(grace_period))

/datum/component/status_effect/Initialize()
. = ..()
Expand Down

0 comments on commit 6f42d04

Please sign in to comment.