From 1aad8a1fbb84d03344c31f14720de39b59527945 Mon Sep 17 00:00:00 2001 From: forest2001 Date: Mon, 21 Aug 2023 15:17:48 +0100 Subject: [PATCH 1/2] 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 /* //====== From 62dc699916d393d791dafc4e85419bab67794315 Mon Sep 17 00:00:00 2001 From: forest2001 Date: Wed, 13 Sep 2023 20:25:08 +0100 Subject: [PATCH 2/2] fi --- code/modules/projectiles/ammo_datums.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/projectiles/ammo_datums.dm b/code/modules/projectiles/ammo_datums.dm index 23c80d809ace..1bb1083a9d4f 100644 --- a/code/modules/projectiles/ammo_datums.dm +++ b/code/modules/projectiles/ammo_datums.dm @@ -2477,7 +2477,7 @@ damage = 55 penetration = ARMOR_PENETRATION_TIER_10 -/datum/ammo/energy/yautja/rifle/bolt/on_hit_mob(mob/hit_mob, obj/item/projectile/hit_projectile) +/datum/ammo/energy/yautja/rifle/bolt/on_hit_mob(mob/hit_mob, obj/projectile/hit_projectile) if(isxeno(hit_mob)) var/mob/living/carbon/xenomorph/xeno = hit_mob xeno.apply_damage(damage * 0.75, BURN)