Adds armor_penetration values to energy weapons

This commit is contained in:
mwerezak
2015-06-26 23:33:43 -04:00
parent 2e8f927085
commit 76b6b90299
2 changed files with 6 additions and 1 deletions
@@ -11,6 +11,9 @@
2 - fullblock
*/
/mob/living/proc/run_armor_check(var/def_zone = null, var/attack_flag = "melee", var/armour_pen = 0, var/absorb_text = null, var/soften_text = null)
if(armour_pen >= 100)
return 0 //might as well just skip the processing
var/armor = getarmor(def_zone, attack_flag)
var/absorb = 0