Melee weapons now actually apply armor penetration. (#11846)

This commit is contained in:
Matt Atlas
2021-05-05 13:56:26 -03:00
committed by GitHub
parent 591c40177d
commit 3dc2cd0909
2 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
damage_flags &= ~DAM_SHARP
damage_flags &= ~DAM_EDGE
apply_damage(effective_force, I.damtype, hit_zone, blocked, used_weapon=I, damage_flags = damage_flags)
apply_damage(effective_force, I.damtype, hit_zone, I, damage_flags, I.armor_penetration)
return TRUE