Merge pull request #4153 from Neerti/10/24/2017_apc_lives_matter

Removes passive APC destruction from hacked SMES
This commit is contained in:
Anewbe
2017-10-25 21:55:59 -05:00
committed by GitHub
+2 -2
View File
@@ -85,7 +85,7 @@
// Proc: process()
// Parameters: None
// Description: Uses parent process, but if grounding wire is cut causes sparks to fly around.
// This also causes the SMES to quickly discharge, and has small chance of damaging output APCs.
// This also causes the SMES to quickly discharge, and has small chance of breaking lights connected to APCs in the powernet.
/obj/machinery/power/smes/buildable/process()
if(!grounding && (Percentage() > 5))
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
@@ -93,7 +93,7 @@
s.start()
charge -= (output_level_max * SMESRATE)
if(prob(1)) // Small chance of overload occuring since grounding is disabled.
apcs_overload(5,10)
apcs_overload(0,10)
..()