From 4cde3a2ff810f35a2c3cc3b16953d84b79f37b22 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Wed, 17 Jun 2026 19:13:45 -0400 Subject: [PATCH] Another ADPI Hotfix (#22723) I accidentally flipped a sign on the guard clause, making it so that APDI was only sending messages to corpses. --------- Signed-off-by: VMSolidus --- code/controllers/subsystems/hallucinations.dm | 4 ++-- html/changelogs/hellfirejag-another adpi hotfix.yml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/hellfirejag-another adpi hotfix.yml diff --git a/code/controllers/subsystems/hallucinations.dm b/code/controllers/subsystems/hallucinations.dm index ff280d1da81..220d5b24549 100644 --- a/code/controllers/subsystems/hallucinations.dm +++ b/code/controllers/subsystems/hallucinations.dm @@ -180,7 +180,7 @@ SUBSYSTEM_DEF(hallucinations) return !target || target.is_psi_blocked(null, FALSE) /datum/controller/subsystem/hallucinations/proc/can_receive_adpi(var/mob/living/target) - return is_lemurian_sea() && target && target.client && target.mind && target.stat && (target.has_zona_bovinae() || target.has_psi_aug()) + return is_lemurian_sea() && target && target.client && target.mind && !target.stat && (target.has_zona_bovinae() || target.has_psi_aug()) /datum/controller/subsystem/hallucinations/proc/get_adpi_job(var/mob/living/carbon/human/H) if(!H) @@ -285,7 +285,7 @@ SUBSYSTEM_DEF(hallucinations) /datum/controller/subsystem/hallucinations/proc/get_adpi_delay(var/mob/living/target, var/initial = FALSE) var/base_delay = initial ? rand(8 MINUTES, 18 MINUTES) : rand(25 MINUTES, 40 MINUTES) - return base_delay - (base_delay * ftanh(target.check_psi_sensitivity() / 3)) + return base_delay * (1 - (0.75 * ftanh(target.check_psi_sensitivity() / 3))) /datum/controller/subsystem/hallucinations/proc/get_adpi_pool_weight(var/pool_name) if(pool_name == "general") diff --git a/html/changelogs/hellfirejag-another adpi hotfix.yml b/html/changelogs/hellfirejag-another adpi hotfix.yml new file mode 100644 index 00000000000..c946379c085 --- /dev/null +++ b/html/changelogs/hellfirejag-another adpi hotfix.yml @@ -0,0 +1,5 @@ +author: Hellfirejag +delete-after: True +changes: + - bugfix: "Fixed ADPI only sending messages to the dead." + - bugfix: "Fixed ADPI messages playing excessively quickly in rare extreme circumstances"