mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
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:
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user