Added cumulative brainloss for borer infestations.

This commit is contained in:
Zuhayr
2013-08-10 01:20:36 -07:00
parent 4e5a17b94a
commit 23947fd2c8
2 changed files with 14 additions and 4 deletions

View File

@@ -50,8 +50,17 @@
..()
if(host)
if(!stat && !host.stat && chemicals < 250)
chemicals++
if(!stat && !host.stat)
if(chemicals < 250)
chemicals++
if(controlling)
if(rand(0,3))
host.adjustBrainLoss(rand(1,2))
if(prob(host.brainloss))
host.say("*"[pick("blink","blink_r","choke","aflap","drool","twitch","twitch_s","gasp")])
//if(host.brainloss > 100)
/mob/living/simple_animal/borer/New()
..()
@@ -124,7 +133,7 @@
src << "You begin delicately adjusting your connection to the host brain..."
spawn(100)
spawn(300+(host.brainloss*5))
if(!host || !src) return

View File

@@ -614,11 +614,12 @@
H << "\red <B>You begin doggedly resisting the parasite's control (this will take approximately sixty seconds).</B>"
B.host << "\red <B>You feel the captive mind of [src] begin to resist your control.</B>"
spawn(rand(400,500))
spawn(rand(350,450)+B.host.brainloss)
if(!B || !B.controlling)
return
B.host.adjustBrainLoss(rand(5,10))
H << "\red <B>With an immense exertion of will, you regain control of your body!</B>"
B.host << "\red <B>You feel control of the host brain ripped from your grasp, and retract your probosci before the wild neural impulses can damage you.</b>"
B.controlling = 0