Legion will now actually legion-ify unconscious humans (#19625)

* Legion will now actually legion-ify humans it attacks

* sleep and die
This commit is contained in:
Joan Lung
2016-08-03 00:44:10 -05:00
committed by KorPhaeron
parent 3a77ae76d9
commit fb26fdf404
@@ -56,12 +56,13 @@ Difficulty: Medium
..()
new/obj/item/device/gps/internal/legion(src)
/mob/living/simple_animal/hostile/megafauna/legion/devour(mob/living/L)
if(ishuman(L))
var/mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion/A = new(loc)
A.infest(L)
else
..()
/mob/living/simple_animal/hostile/megafauna/legion/AttackingTarget()
..()
if(ishuman(target))
var/mob/living/L = target
if(L.stat == UNCONSCIOUS)
var/mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion/A = new(loc)
A.infest(L)
/mob/living/simple_animal/hostile/megafauna/legion/OpenFire(the_target)
if(world.time >= ranged_cooldown && !charging)