From a38ccf078b1f179114bdb87873d3c79d797f39bd Mon Sep 17 00:00:00 2001 From: deathride58 Date: Sun, 10 Dec 2017 16:59:46 -0500 Subject: [PATCH] Update borer.dm --- code/game/gamemodes/miniantags/borer/borer.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/gamemodes/miniantags/borer/borer.dm b/code/game/gamemodes/miniantags/borer/borer.dm index f80a5e3402..4bcbaa455e 100644 --- a/code/game/gamemodes/miniantags/borer/borer.dm +++ b/code/game/gamemodes/miniantags/borer/borer.dm @@ -40,7 +40,7 @@ to_chat(src, "You begin doggedly resisting the parasite's control (this will take approximately 40 seconds).") to_chat(B.victim, "You feel the captive mind of [src] begin to resist your control.") - var/delay = rand(150,250) + B.victim.brainloss + var/delay = rand(150,250) + B.victim.getBrainLoss() addtimer(CALLBACK(src, .proc/return_control, src.loc), delay) /mob/living/captive_brain/proc/return_control(mob/living/simple_animal/borer/B) @@ -315,7 +315,7 @@ GLOBAL_VAR_INIT(total_borer_hosts_needed, 10) if(prob(5)) victim.adjustBrainLoss(rand(1,2)) - if(prob(victim.brainloss/10)) + if(prob(victim.getBrainLoss()/10)) victim.say("*[pick(list("blink","blink_r","choke","aflap","drool","twitch","twitch_s","gasp"))]") /mob/living/simple_animal/borer/proc/wakeup() @@ -669,7 +669,7 @@ GLOBAL_VAR_INIT(total_borer_hosts_needed, 10) bonding = TRUE - var/delay = 200+(victim.brainloss*5) + var/delay = 200+(victim.getBrainLoss()*5) addtimer(CALLBACK(src, .proc/assume_control), delay) /mob/living/simple_animal/borer/proc/assume_control()