From 52e5c478fe8bcef3360bcb032de146db163ae2b6 Mon Sep 17 00:00:00 2001 From: Henri215 <77684085+Henri215@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:07:00 -0300 Subject: [PATCH] Making hallucination great again (#20320) * make hallucination great again * 10x the current hallucination --- code/datums/status_effects/debuffs.dm | 2 +- code/modules/events/mass_hallucination.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/status_effects/debuffs.dm b/code/datums/status_effects/debuffs.dm index 4304987d455..046fce28996 100644 --- a/code/datums/status_effects/debuffs.dm +++ b/code/datums/status_effects/debuffs.dm @@ -707,7 +707,7 @@ /// This is multiplied with [/mob/var/hallucination] to determine the final cooldown. A higher hallucination value means shorter cooldown. #define HALLUCINATE_COOLDOWN_FACTOR 0.003 /// Percentage defining the chance at which an hallucination may spawn past the cooldown. -#define HALLUCINATE_CHANCE 8 +#define HALLUCINATE_CHANCE 80 // Severity weights, should sum up to 100! #define HALLUCINATE_MINOR_WEIGHT 60 #define HALLUCINATE_MODERATE_WEIGHT 30 diff --git a/code/modules/events/mass_hallucination.dm b/code/modules/events/mass_hallucination.dm index 350cc92a1e5..ebd6bb89f25 100644 --- a/code/modules/events/mass_hallucination.dm +++ b/code/modules/events/mass_hallucination.dm @@ -12,7 +12,7 @@ var/armor = H.getarmor(type = RAD) if(HAS_TRAIT(H, TRAIT_RADIMMUNE) || armor >= 150) // Leave radiation-immune species/rad armored players completely unaffected continue - H.AdjustHallucinate(rand(50, 100)) + H.AdjustHallucinate(rand(50 SECONDS, 100 SECONDS)) /datum/event/mass_hallucination/announce() GLOB.minor_announcement.Announce("The [station_name()] is passing through a minor radiation field. Be advised that acute exposure to space radiation can induce hallucinogenic episodes.")