mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-14 19:03:21 +00:00
16 lines
426 B
Plaintext
16 lines
426 B
Plaintext
/obj/effect/proc_holder/spell/targeted/emplosion
|
|
name = "Emplosion"
|
|
desc = "This spell emplodes an area."
|
|
|
|
var/emp_heavy = 2
|
|
var/emp_light = 3
|
|
|
|
action_icon_state = "emp"
|
|
sound = "sound/weapons/ZapBang.ogg"
|
|
|
|
/obj/effect/proc_holder/spell/targeted/emplosion/cast(list/targets)
|
|
playsound(get_turf(usr), sound, 50,1)
|
|
for(var/mob/living/target in targets)
|
|
empulse(target.loc, emp_heavy, emp_light)
|
|
|
|
return |