Restores armor fullblock RNG. (#8726)

Should be a decent fix for the issues with raiders and mercs not having much armor.
This commit is contained in:
Matt Atlas
2020-04-27 11:17:11 +03:00
committed by GitHub
parent ce7df91eca
commit 403e4d06f3
2 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
var/effective_armor = (armor - armour_pen)/100
var/fullblock = (effective_armor*effective_armor) * ARMOR_BLOCK_CHANCE_MULT
if(fullblock >= 1)
if(fullblock >= 1 || prob(fullblock*100))
if(absorb_text)
show_message("<span class='warning'>[absorb_text]</span>")
else