mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 17:06:35 +01:00
hotfix to material armor (#5449)

This commit is contained in:
@@ -160,8 +160,7 @@ Protectiveness | Armor %
|
||||
var/result = 1 - MATERIAL_ARMOR_COEFFICENT * amount / (1 + MATERIAL_ARMOR_COEFFICENT * abs(amount))
|
||||
result = result * 100
|
||||
result = abs(result - 100)
|
||||
return round(result)
|
||||
|
||||
return round(result) * 0.01
|
||||
|
||||
/obj/item/clothing/proc/update_armor()
|
||||
if(material)
|
||||
|
||||
Reference in New Issue
Block a user