mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
only switch if existing target unconscious
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user