mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Switches out the three billion args of electrocute act for flags (#46564)
* Switches out the three billion args of electrocute act for flags * Adds autodoc to electrocute flags, sets the boolean I removed and tries to fix the ed209 file * tries to fix ed209 again * Fixes 209 hopefully * Finally fixes that darn file * one final one to fix the diff * Or i guess i'll just do it myself
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
if(!shockcd)
|
||||
if(ismob(user))
|
||||
var/mob/living/M = user
|
||||
M.electrocute_act(15,"Energy Barrier", safety=1)
|
||||
M.electrocute_act(15,"Energy Barrier", flags = SHOCK_NOGLOVES)
|
||||
shockcd = TRUE
|
||||
addtimer(CALLBACK(src, .proc/cooldown), 5)
|
||||
|
||||
@@ -180,6 +180,6 @@
|
||||
return
|
||||
|
||||
var/mob/living/M = AM
|
||||
M.electrocute_act(15,"Energy Barrier", safety=1)
|
||||
M.electrocute_act(15,"Energy Barrier", flags = SHOCK_NOGLOVES)
|
||||
shockcd = TRUE
|
||||
addtimer(CALLBACK(src, .proc/cooldown), 5)
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
var/stun_time = 100
|
||||
|
||||
/obj/structure/trap/stun/trap_effect(mob/living/L)
|
||||
L.electrocute_act(30, src, safety=1) // electrocute act does a message.
|
||||
L.electrocute_act(30, src, flags = SHOCK_NOGLOVES) // electrocute act does a message.
|
||||
L.Paralyze(stun_time)
|
||||
|
||||
/obj/structure/trap/stun/hunter
|
||||
|
||||
Reference in New Issue
Block a user