From 216e7071419792f0271d2223a8a47f82a7d3c99f Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Mon, 26 Mar 2012 18:14:49 +0100 Subject: [PATCH] TG: Simple animals (Ian, Shades, etc) no longer suffer stuns/stuttering from projectiles (because it would never wear off) On the other hand, simple animals now take damage from harmful projectiles (bullets, lasers). Because of their low amount of health and lack of armour, this means lasers kill most animals in a single shot (I might need to give them some sort of damage reduction so that poor Ian doesn't get killed in one shot every round). r2848 --- code/modules/projectiles/projectile.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm index 0849d9a63fe..940fac041b1 100644 --- a/code/modules/projectiles/projectile.dm +++ b/code/modules/projectiles/projectile.dm @@ -51,6 +51,7 @@ if(blocked >= 2) return 0//Full block if(!isliving(target)) return 0 var/mob/living/L = target + if(istype(L, /mob/living/simple_animal)) return 0 L.apply_effects(stun, weaken, paralyze, irradiate, stutter, eyeblur, drowsy, blocked) return 1