Shadowling update 4

This commit is contained in:
Xhuis
2015-08-26 19:31:50 -04:00
parent 6dc1fce042
commit df9e581df0
8 changed files with 169 additions and 50 deletions
+16
View File
@@ -23,6 +23,7 @@
user << "<span class='warning'>You are unable to locate anything on [target]'s brain.</span>"
return 1
sleep(30)
user.visible_message("[user] begins removing something from [target]'s head.</span>", \
"<span class='notice'>You begin carefully extracting the tumor...</span>")
if(!do_mob(user, target, 50))
@@ -34,6 +35,21 @@
else
user.visible_message("<span class='warning'>[user] screws up!</span>")
return 0
if(target.dna.species.id == "l_shadowling")
target << "<span class='shadowling'><b><i>NOT LIKE THIS!</i></b></span>"
user.visible_message("<span class='warning'><b>[target] suddenly slams upward and knocks down [user]!</span>", \
"<span class='userdanger'>[target] suddenly bolts up and slams you with tremendous force!")
if(iscarbon(user))
var/mob/living/carbon/C = user
C.Weaken(6)
C.apply_damage(20, "brute", "chest")
else if(issilicon(user))
var/mob/living/silicon/S = user
S.Weaken(8)
S.apply_damage(20, "brute")
playsound(S, 'sound/effects/bang.ogg', 50, 1)
return
user.visible_message("<span class='notice'>[user] carefully extracts the tumor from [target]'s brain!</span>", \
"<span class='notice'>You extract the black tumor from [target]'s head. It quickly shrivels and burns away.</span>")
ticker.mode.remove_thrall(target.mind,0)