mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73486c399b
commit
ed79946ade
@@ -29,7 +29,7 @@
|
||||
to_chat(user, span_danger("\The [L]'s been dead for too long, even this function cannot replace cloning at this point."))
|
||||
return 0
|
||||
to_chat(user, span_notice("You stab \the [L] with a hidden integrated hypo, attempting to bring them back..."))
|
||||
if(istype(L, /mob/living/simple_mob))
|
||||
if(isanimal(L))
|
||||
var/mob/living/simple_mob/SM = L
|
||||
SM.health = SM.getMaxHealth() / 3
|
||||
SM.set_stat(CONSCIOUS)
|
||||
|
||||
Reference in New Issue
Block a user