diff --git a/code/game/gamemodes/miniantags/guardian/guardian.dm b/code/game/gamemodes/miniantags/guardian/guardian.dm index 2b3e3bd9149..9be64bfc1d0 100644 --- a/code/game/gamemodes/miniantags/guardian/guardian.dm +++ b/code/game/gamemodes/miniantags/guardian/guardian.dm @@ -46,7 +46,6 @@ /mob/living/simple_animal/hostile/guardian/Life() //Dies if the summoner dies ..() - updatehudhealth() if(summoner) if(summoner.stat == DEAD) src << "Your summoner has died!" @@ -85,7 +84,7 @@ summoner.death() -/mob/living/simple_animal/hostile/guardian/proc/updatehudhealth() +/mob/living/simple_animal/hostile/guardian/handle_hud_icons_health() if(summoner) var/resulthealth if(iscarbon(summoner)) @@ -107,7 +106,6 @@ if(summoner.stat == UNCONSCIOUS) summoner << "Your body can't take the strain of sustaining [src] in this condition, it begins to fall apart!" summoner.adjustCloneLoss(damage/2) - updatehudhealth() /mob/living/simple_animal/hostile/guardian/ex_act(severity, target) switch (severity) @@ -134,7 +132,7 @@ return if(!summoner) return if(loc == summoner) - forceMove(summoner) + forceMove(get_turf(summoner)) src.client.eye = loc cooldown = world.time + 30 @@ -262,7 +260,7 @@ if(toggle) if(ishuman(target) && !summoner) spawn(0) - new /obj/effect/hallucination/delusion(target.loc,target,force_kind="custom",duration=200,skip_nearby=0, custom_icon = src.icon_state, custom_icon_file = src.icon) + new /obj/effect/hallucination/delusion(target.loc, target, force_kind="custom", duration=200, skip_nearby=0, custom_icon = src.icon_state, custom_icon_file = src.icon) else if(prob(45)) if(istype(target, /atom/movable)) diff --git a/code/modules/flufftext/Hallucination.dm b/code/modules/flufftext/Hallucination.dm index 34b74aff54d..d9ad186fed6 100644 --- a/code/modules/flufftext/Hallucination.dm +++ b/code/modules/flufftext/Hallucination.dm @@ -325,10 +325,10 @@ Gunshots/explosions/opening doors/less rare audio (done) /obj/effect/hallucination/delusion var/list/image/delusions = list() -/obj/effect/hallucination/delusion/New(loc,mob/living/carbon/T,force_kind = null , duration = 300,skip_nearby = 1, custom_icon = null, custom_icon_file = null) +/obj/effect/hallucination/delusion/New(loc,mob/living/carbon/T, force_kind = null , duration = 300,skip_nearby = 1, custom_icon = null, custom_icon_file = null) target = T var/image/A = null - var/kind = force_kind ? force_kind : pick("clown","corgi","carp","skeleton","demon") + var/kind = force_kind ? force_kind : pick("clown", "corgi", "carp", "skeleton", "demon") for(var/mob/living/carbon/human/H in living_mob_list) if(H == target) continue