only switch if existing target unconscious

This commit is contained in:
Kyep
2018-11-26 15:18:11 -08:00
parent e7ffb9aa49
commit 295532b9ff
@@ -102,8 +102,10 @@
/mob/living/simple_animal/hostile/hellhound/attackby(obj/item/C, mob/user, params)
. = ..()
if(target)
target = user
if(target && isliving(target))
var/mob/living/L = target
if(L.stat != CONSCIOUS)
target = user
/mob/living/simple_animal/hostile/hellhound/proc/special_aoe()
if(world.time < (smoke_lastuse + smoke_freq))