From 5d3dbb8b6faad2203597665e71df28bf8e875e20 Mon Sep 17 00:00:00 2001 From: Yoshax Date: Sun, 29 May 2016 01:33:48 +0100 Subject: [PATCH] Fixes chromatic slime laser reflection and adjusts a span class --- code/modules/xenobio2/mob/xeno procs.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/xenobio2/mob/xeno procs.dm b/code/modules/xenobio2/mob/xeno procs.dm index 4684d9d9d1..eb237e7a29 100644 --- a/code/modules/xenobio2/mob/xeno procs.dm +++ b/code/modules/xenobio2/mob/xeno procs.dm @@ -137,10 +137,10 @@ Procs for targeting /mob/living/simple_animal/xeno/proc/BuildReagentLists() return -/mob/living/simple_animal/xeno/proc/bulet_act(var/obj/item/projectile/P) +/mob/living/simple_animal/xeno/bullet_act(var/obj/item/projectile/P) //Shamelessly stolen from ablative armor. if((traitdat.traits[TRAIT_XENO_CHROMATIC]) && istype(P, /obj/item/projectile/beam)) - visible_message("") + visible_message(")\The beam reflects off of the [src]!") // Find a turf near or on the original location to bounce to var/new_x = P.starting.x + pick(0, -1, 1, -2, 2) var/new_y = P.starting.y + pick(0, -1, 1, -2, 2) @@ -149,7 +149,8 @@ Procs for targeting // redirect the projectile P.redirect(new_x, new_y, curloc, src) - return + return -1 + else ..()