From 8b5aaeb3b9f84d36ab1d6bf98b74ee5490ab5962 Mon Sep 17 00:00:00 2001 From: "sieve32@gmail.com" Date: Sun, 7 Oct 2012 19:54:50 +0000 Subject: [PATCH] -Added AdjustX()'s to simple_animal/life() so they won't be stunned 5ever Fixes Issue 982 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4825 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/simple_animal/life.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/living/simple_animal/life.dm b/code/modules/mob/living/simple_animal/life.dm index 0a1085afb7..6d4fbfcbf5 100644 --- a/code/modules/mob/living/simple_animal/life.dm +++ b/code/modules/mob/living/simple_animal/life.dm @@ -84,6 +84,13 @@ if(health > maxHealth) health = maxHealth + if(stunned) + AdjustStunned(-1) + if(weakened) + AdjustWeakened(-1) + if(paralysis) + AdjustParalysis(-1) + //Movement if(!client && !stop_automated_movement) if(isturf(src.loc) && !resting && !buckled && canmove) //This is so it only moves if it's not inside a closet, gentics machine, etc.