From dfc8a1dc738e2709b80d83bd9064642e399b9c02 Mon Sep 17 00:00:00 2001
From: Seris02 <49109742+Seris02@users.noreply.github.com>
Date: Wed, 11 Dec 2019 03:08:52 +0800
Subject: [PATCH] fixes it
if it breaks I blame you again putnam
---
code/modules/mob/living/carbon/human/human_defense.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm
index 05ef815a99..5de6abd31b 100644
--- a/code/modules/mob/living/carbon/human/human_defense.dm
+++ b/code/modules/mob/living/carbon/human/human_defense.dm
@@ -48,7 +48,7 @@
if(mind)
if (mind.martial_art && mind.martial_art.dodge_chance)
if(!lying && dna && !dna.check_mutation(HULK))
- if(mind.martial_art.dodge_chance >= rand(0,100))
+ if(prob(mind.martial_art.dodge_chance))
var/dodgemessage = pick("dodges under the projectile!","dodges to the right of the projectile!","jumps over the projectile!")
visible_message("[src] [dodgemessage]", "You dodge the projectile!")
return -1