Saber SMG update, add armour piercing variable

This commit is contained in:
Markolie
2015-09-21 22:50:07 +02:00
parent cc641cb477
commit ea305d3ffa
11 changed files with 76 additions and 7 deletions
@@ -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") // For normal attack damage
armor_block = H.run_armor_check(affecting, "melee","","",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")