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.
This commit is contained in:
Chinsky
2015-03-13 13:16:59 +03:00
parent 6e0a39ec63
commit 149bf70e3e
+6 -1
View File
@@ -104,7 +104,7 @@
if(C.imprinted != "empty")
U << "\red <b>Capture failed!</b>: \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 <b>Capture failed!</b>: \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()