Some fixes for the anomalous crystal
This commit is contained in:
@@ -357,6 +357,7 @@
|
||||
updatehealth() //then we check if the mob should wake up.
|
||||
update_canmove()
|
||||
update_sight()
|
||||
clear_alert("oxy")
|
||||
reload_fullscreen()
|
||||
. = 1
|
||||
|
||||
|
||||
@@ -542,8 +542,7 @@ Difficulty: Very Hard
|
||||
|
||||
/obj/machinery/anomalous_crystal/emitter/Initialize()
|
||||
. = ..()
|
||||
generated_projectile = pick(/obj/item/projectile/magic/aoe/fireball/infernal,/obj/item/projectile/magic/aoe/lightning,/obj/item/projectile/magic/spellblade,
|
||||
/obj/item/projectile/bullet/meteorshot, /obj/item/projectile/beam/xray, /obj/item/projectile/colossus)
|
||||
generated_projectile = pick(/obj/item/projectile/colossus)
|
||||
|
||||
var/proj_name = initial(generated_projectile.name)
|
||||
observer_desc = "This crystal generates \a [proj_name] when activated."
|
||||
@@ -582,6 +581,8 @@ Difficulty: Very Hard
|
||||
var/mob/living/carbon/human/H = i
|
||||
if(H.stat == DEAD)
|
||||
H.set_species(/datum/species/shadow, 1)
|
||||
H.regenerate_limbs()
|
||||
H.regenerate_organs()
|
||||
H.revive(1,0)
|
||||
H.disabilities |= NOCLONE //Free revives, but significantly limits your options for reviving except via the crystal
|
||||
H.grab_ghost(force = TRUE)
|
||||
@@ -734,7 +735,7 @@ Difficulty: Very Hard
|
||||
|
||||
/obj/structure/closet/stasis/process()
|
||||
if(holder_animal)
|
||||
if(holder_animal.stat == DEAD && !QDELETED(holder_animal))
|
||||
if(holder_animal.stat == DEAD)
|
||||
dump_contents()
|
||||
holder_animal.gib()
|
||||
return
|
||||
@@ -762,7 +763,7 @@ Difficulty: Very Hard
|
||||
L.disabilities &= ~MUTE
|
||||
L.status_flags &= ~GODMODE
|
||||
L.notransform = 0
|
||||
if(holder_animal && !QDELETED(holder_animal))
|
||||
if(holder_animal)
|
||||
holder_animal.mind.transfer_to(L)
|
||||
L.mind.RemoveSpell(/obj/effect/proc_holder/spell/targeted/exit_possession)
|
||||
if(kill || !isanimal(loc))
|
||||
|
||||
Reference in New Issue
Block a user