Skip to content

Commit

Permalink
Important too
Browse files Browse the repository at this point in the history
  • Loading branch information
kiVts committed Sep 26, 2023
1 parent 2901094 commit 53b7aba
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, 0, 100)
if(prob(protection))
protection = clamp(protection, 5, 100)
if(prob(protection)-5)
return FALSE
return TRUE

Expand Down

0 comments on commit 53b7aba

Please sign in to comment.