Skip to content

Commit

Permalink
I wasnt the smartest
Browse files Browse the repository at this point in the history
  • Loading branch information
kiVts committed Sep 27, 2023
1 parent 0a596ce commit 08814f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/disease.dm
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ var/list/diseases = typesof(/datum/disease) - /datum/disease
protection += 80 // biosuit is VERY helpfull
else if(istype(victim.head, /obj/item/clothing/head/helmet/space) && istype(victim.wear_suit, /obj/item/clothing/suit/space))
protection += 60 // not as usefull but still very helpfull
protection = clamp(protection, 5, 100)
if(prob(protection)-5)
protection = clamp(protection, 5, 95)
if(prob(protection))
return FALSE
return TRUE

Expand Down

0 comments on commit 08814f0

Please sign in to comment.