mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user