Merge pull request #11284 from Arkatos1/Null_Charge

New Shadowling Ability - Null Charge! (replaces Drain Life)
This commit is contained in:
variableundefined
2019-04-23 21:02:11 +08:00
committed by GitHub
3 changed files with 55 additions and 37 deletions
+5
View File
@@ -1353,6 +1353,11 @@
L.broken(0, 1)
stoplag()
/obj/machinery/power/apc/proc/null_charge()
for(var/obj/machinery/light/L in area)
L.broken(0, 1)
stoplag()
/obj/machinery/power/apc/proc/setsubsystem(val)
if(cell && cell.charge > 0)
return (val==1) ? 0 : val