From 1aad8a1fbb84d03344c31f14720de39b59527945 Mon Sep 17 00:00:00 2001 From: forest2001 Date: Mon, 21 Aug 2023 15:17:48 +0100 Subject: [PATCH] rifle modifier --- code/modules/projectiles/ammo_datums.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/modules/projectiles/ammo_datums.dm b/code/modules/projectiles/ammo_datums.dm index d09c7ad7bb26..3fbe6d24ab0d 100644 --- a/code/modules/projectiles/ammo_datums.dm +++ b/code/modules/projectiles/ammo_datums.dm @@ -2367,7 +2367,13 @@ flags_ammo_behavior = AMMO_IGNORE_RESIST damage = 55 - penetration = 50 + penetration = ARMOR_PENETRATION_TIER_10 + +/datum/ammo/energy/yautja/rifle/bolt/on_hit_mob(mob/hit_mob, obj/item/projectile/hit_projectile) + if(isxeno(hit_mob)) + var/mob/living/carbon/xenomorph/xeno = hit_mob + xeno.apply_damage(damage * 0.75, BURN) + xeno.interference = 30 /* //======