Malfunction no longer gibs people in clonepods, despite how fun it is.

Defile now indicates tiles that have jaunt prevention removed.
Perfect soul chance increased slightly(still must have a ckey and be alive when the drain starts)
This commit is contained in:
Nerd Lord
2015-10-21 18:36:30 -04:00
parent eb360674e4
commit 990be7a8bb
2 changed files with 7 additions and 5 deletions
@@ -148,11 +148,11 @@
src << "<span class='info'>[target] will not yield much essence. Still, every bit counts.</span>"
if(30 to 70)
src << "<span class='info'>[target] will yield an average amount of essence.</span>"
if(70 to 95)
if(70 to 90)
src << "<span class='info'>Such a feast! [target] will yield much essence to you.</span>"
if(95 to INFINITY)
if(90 to INFINITY)
src << "<span class='boldnotice'>Ah, the perfect soul. [target] will yield massive amounts of essence to you.</span>"
if(do_after(src, 30, 9, 0, target)) //how about now
if(do_after(src, 20, 6, 0, target)) //how about now
if(!target.stat)
src << "<span class='warning'>They are now powerful enough to fight off your draining.</span>"
target << "<span class='boldannounce'>You feel something tugging across your body before subsiding.</span>"
@@ -168,7 +168,7 @@
target.Beam(src,icon_state="drain_life",icon='icons/effects/effects.dmi',time=30)
if(target && in_range(src, target)) //As one cannot prove the existance of ghosts, ghosts cannot prove the existance of the target they were draining.
change_essence_amount(essence_drained, 0, target)
if(essence_drained > 95)
if(essence_drained > 90)
essence_regen_cap += 25
src << "<span class='info'>The perfection of [target]'s soul has increased your maximum essence level. Your new maximum essence is [essence_regen_cap].</span>"
src << "<span class='info'>[target]'s soul has been considerably weakened and will yield no more essence for the time being.</span>"
@@ -110,6 +110,7 @@
spawn(0)
if(T.flags & NOJAUNT)
T.flags -= NOJAUNT
new/obj/effect/overlay/temp/revenant(T)
for(var/mob/living/carbon/human/human in T.contents)
human << "<span class='warning'>You suddenly feel tired.</span>"
human.adjustStaminaLoss(40)
@@ -173,7 +174,8 @@
new/obj/effect/overlay/temp/revenant(mach.loc)
mach.emag_act(null)
else
mach.emp_act(1)
if(istype(mach, /obj/machinery/clonepod)) //I hate everything but mostly the fact there's no better way to do this without just not affecting it at all
mach.emp_act(1)
for(var/mob/living/silicon/robot/S in T.contents) //Only works on cyborgs, not AI
S << "<span class='warning'><b>ERROR $!(@ ERROR )#^! SENSORY OVERLOAD \[$(!@#</b></span>"
S << 'sound/misc/interference.ogg'