From a4a30122d6ba79f244d3764f131d2195413dc167 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 21 Feb 2023 06:09:34 +0100 Subject: [PATCH] [MIRROR] [NO GBP] Fixes oculater not working... woops [MDB IGNORE] (#19466) * [NO GBP] Fixes oculater not working... woops (#73533) ## About The Pull Request I may or may not have neglected the fact that oculater can't be very low purity anymore due to my own revamp prior. So uh, this makes it work like most inverse chemicals, getting better the higher the purity is. ## Why It's Good For The Game Bug fix good. ## Changelog :cl: fix: Oculater works again. /:cl: * [NO GBP] Fixes oculater not working... woops --------- Co-authored-by: RikuTheKiller <88713943+RikuTheKiller@users.noreply.github.com> --- .../reagents/impure_reagents/impure_medicine_reagents.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/reagents/impure_reagents/impure_medicine_reagents.dm b/code/modules/reagents/chemistry/reagents/impure_reagents/impure_medicine_reagents.dm index 751e53763d5..71ae5e291e6 100644 --- a/code/modules/reagents/chemistry/reagents/impure_reagents/impure_medicine_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/impure_reagents/impure_medicine_reagents.dm @@ -777,7 +777,7 @@ Basically, we fill the time between now and 2s from now with hands based off the /datum/reagent/inverse/oculine/on_mob_life(mob/living/carbon/affected_mob, delta_time, times_fired) if(headache) return ..() - if(DT_PROB(100*(1-creation_purity), delta_time)) + if(DT_PROB(100 * creation_purity, delta_time)) affected_mob.become_blind(IMPURE_OCULINE) to_chat(affected_mob, span_danger("You suddenly develop a pounding headache as your vision fluxuates.")) headache = TRUE