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).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2848 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
kortgstation@gmail.com
2011-12-29 00:24:34 +00:00
parent 346e19f4e4
commit cb44f5d724
2 changed files with 6 additions and 0 deletions

View File

@@ -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