mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
[MIRROR] /mob/living/proc/Life(delta_time) (#3509)
* /mob/living/proc/Life(delta_time) * a Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com> Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
This commit is contained in:
@@ -25,12 +25,11 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
))
|
||||
|
||||
|
||||
/mob/living/carbon/proc/handle_hallucinations()
|
||||
/mob/living/carbon/proc/handle_hallucinations(delta_time, times_fired)
|
||||
if(!hallucination)
|
||||
return
|
||||
|
||||
hallucination = max(hallucination - 1, 0)
|
||||
|
||||
hallucination = max(hallucination - (0.5 * delta_time), 0)
|
||||
if(world.time < next_hallucination)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user