Refacors Electrocution

This commit is contained in:
Fox McCloud
2019-04-10 18:09:14 -04:00
parent 5414aef35d
commit 90c9f3f479
29 changed files with 149 additions and 132 deletions
@@ -1171,6 +1171,6 @@
shock_timer++
if(shock_timer >= rand(5,30)) //Random shocks are wildly unpredictable
shock_timer = 0
M.electrocute_act(rand(5,20), "Teslium in their body", 1, 1) //Override because it's caused from INSIDE of you
M.electrocute_act(rand(5, 20), "Teslium in their body", 1, TRUE) //Override because it's caused from INSIDE of you
playsound(M, "sparks", 50, 1)
return ..()