From 30a35695094570ac87c330e9dd64ddfa8bc63569 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Tue, 5 Mar 2019 20:43:47 +0100 Subject: [PATCH] Fixing Frostbite jelly atmos accidentally made them suicide heat while cooling the area --- code/game/objects/items/devices/suit_cooling.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/devices/suit_cooling.dm b/code/game/objects/items/devices/suit_cooling.dm index 86332035a9..34a39dcb1f 100644 --- a/code/game/objects/items/devices/suit_cooling.dm +++ b/code/game/objects/items/devices/suit_cooling.dm @@ -242,17 +242,17 @@ retaliate=1 name = "Frostbite Jelly" //might make a blue icon someday, not priority this is debug stuff - var/cooling = -5 //variable cooling + var/cooling = -500 //variable cooling var/isCooling = 1 cold_damage_per_tick = 0 - maxbodytemp = 1000 + maxbodytemp = 2000 /mob/living/simple_animal/hostile/jelly/cold/proc/toggle_cooling() isCooling=!isCooling /mob/living/simple_animal/hostile/jelly/cold/proc/handle_cooling(var/datum/gas_mixture/environment) var/datum/gas_mixture/gas - gas = environment.remove(0.25 * environment.total_moles) + gas = environment.remove(0.5 * environment.total_moles) if(gas) gas.add_thermal_energy(cooling) environment.merge(gas) @@ -262,7 +262,7 @@ var/datum/gas_mixture/environment = src.loc.return_air() if(icon_state != icon_dead && isCooling) handle_cooling(environment) - src.bodytemperature -= cooling + src.bodytemperature += cooling if(src.bodytemperature<=-500) isCooling = 0 if(src.bodytemperature>=-499)