From 037cec508eea1e8b97f52df61ac9600f33b6a350 Mon Sep 17 00:00:00 2001
From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com>
Date: Sun, 19 Jul 2020 21:43:17 +0100
Subject: [PATCH] fixes a math mistake
---
code/datums/wounds/bones.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/datums/wounds/bones.dm b/code/datums/wounds/bones.dm
index 93ca9c5b67..230fc6758f 100644
--- a/code/datums/wounds/bones.dm
+++ b/code/datums/wounds/bones.dm
@@ -390,7 +390,7 @@
if(victim.reagents && victim.reagents.has_reagent(/datum/reagent/determination))
painkiller_bonus += 5
- if(prob(25 + (20 * severity - 2) - painkiller_bonus)) // 25%/45% chance to fail self-applying with severe and critical wounds, modded by painkillers
+ if(prob(25 + (20 * (severity - 2)) - painkiller_bonus)) // 25%/45% chance to fail self-applying with severe and critical wounds, modded by painkillers
victim.visible_message("[victim] fails to finish applying [I] to [victim.p_their()] [limb.name], passing out from the pain!", "You black out from the pain of applying [I] to your [limb.name] before you can finish!")
victim.AdjustUnconscious(5 SECONDS)
return