From 3e5520a7ed38437e1ce7402b787d66276fbdfb46 Mon Sep 17 00:00:00 2001 From: diegoflores31 Date: Mon, 16 Oct 2023 17:26:56 -0500 Subject: [PATCH] disabler --- code/modules/projectiles/ammo_datums.dm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/code/modules/projectiles/ammo_datums.dm b/code/modules/projectiles/ammo_datums.dm index 783b982f10bd..a8a4d63d1014 100644 --- a/code/modules/projectiles/ammo_datums.dm +++ b/code/modules/projectiles/ammo_datums.dm @@ -2274,10 +2274,17 @@ shell_speed = AMMO_SPEED_TIER_1 // Slightly faster hit_effect_color = "#FFFF00" -/datum/ammo/energy/taser/on_hit_mob(mob/M, obj/projectile/P) - if(ishuman(M)) - var/mob/living/carbon/human/H = M - H.disable_special_items() // Disables scout cloak +/datum/ammo/energy/taser/on_hit_mob(mob/morbius, obj/projectile/P) + if(ishuman(morbius)) + var/mob/living/carbon/human/humanus = morbius + humanus.disable_special_items() // Disables scout cloak + if(!isyautja(humanus) && !issynth(humanus)) + humanus.make_jittery(40) + + if(isxeno(morbius)) + var/mob/living/carbon/xenomorph/xenoids = morbius + xenoids.apply_effect(2, SLOW) + xenoids.xeno_jitter(1 SECONDS) /datum/ammo/energy/taser/precise name = "precise taser bolt"