Sleeping Carp and Cain & Abel no longer tell you about armor penetration when you reflect projectiles with them (#93275)

## About The Pull Request

Projectile refactor pulled armor check above the pre-hit comsig, this
fixes that. No need to check armor before you're hit when you
potentially will not be.

## Changelog
🆑
fix: Sleeping Carp and Cain & Abel no longer tell you about armor
penetration when you reflect projectiles with them
/🆑
This commit is contained in:
SmArtKar
2025-10-12 05:39:43 +02:00
committed by GitHub
parent b47de18bfb
commit 4d648d016c
19 changed files with 81 additions and 85 deletions
@@ -37,9 +37,9 @@
r_hand = /obj/item/knife/combat/survival
var/projectile_deflect_chance = 0
/mob/living/basic/trooper/syndicate/melee/bullet_act(obj/projectile/projectile)
/mob/living/basic/trooper/syndicate/melee/projectile_hit(obj/projectile/hitting_projectile, def_zone, piercing_hit, blocked)
if(prob(projectile_deflect_chance))
visible_message(span_danger("[src] blocks [projectile] with its shield!"))
visible_message(span_danger("[src] blocks [hitting_projectile] with its shield!"))
return BULLET_ACT_BLOCK
return ..()