Update armour penetration checks

This commit is contained in:
Markolie
2015-09-21 22:54:26 +02:00
parent ea305d3ffa
commit f7234374b5
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@
var/mob/living/carbon/human/H = target
var/headarmor = 0 // Target's head armour
armor_block = H.run_armor_check(affecting, "melee","","",armour_penetration) // For normal attack damage
armor_block = H.run_armor_check(affecting, "melee", armour_penetration = armour_penetration) // For normal attack damage
//If they have a hat/helmet and the user is targeting their head.
if(istype(H.head, /obj/item/clothing/head) && affecting == "head")