From 149bf70e3e13abf34fb5ade0ee268fd0447bd8db Mon Sep 17 00:00:00 2001 From: Chinsky Date: Fri, 13 Mar 2015 13:16:59 +0300 Subject: [PATCH] Soulstones now require victim to actually be dead or maimed, as message says, instead of just sleeping. Also shades now get their former icon and stuff like ghosts, for maximum spooky. --- code/game/gamemodes/wizard/soulstone.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/wizard/soulstone.dm b/code/game/gamemodes/wizard/soulstone.dm index 678ce725821..9b22d7f6d00 100644 --- a/code/game/gamemodes/wizard/soulstone.dm +++ b/code/game/gamemodes/wizard/soulstone.dm @@ -104,7 +104,7 @@ if(C.imprinted != "empty") U << "\red Capture failed!: \black The soul stone has already been imprinted with [C.imprinted]'s mind!" else - if (T.stat == 0) + if ((T.health + T.halloss) > config.health_threshold_crit) U << "\red Capture failed!: \black Kill or maim the victim first!" else if(T.client == null) @@ -129,6 +129,11 @@ S.canmove = 0//Can't move out of the soul stone S.name = "Shade of [T.real_name]" S.real_name = "Shade of [T.real_name]" + S.icon = T.icon + S.icon_state = T.icon_state + S.overlays = T.overlays + S.color = rgb(254,0,0) + S.alpha = 127 if (T.client) T.client.mob = S S.cancel_camera()