diff --git a/code/game/machinery/_machinery.dm b/code/game/machinery/_machinery.dm index e178829d87..2eaff7da1a 100644 --- a/code/game/machinery/_machinery.dm +++ b/code/game/machinery/_machinery.dm @@ -534,7 +534,7 @@ Class Procs: else if(zap_flags & ZAP_OBJ_DAMAGE) take_damage(power/2000, BURN, "energy") if(prob(40)) - emp_act(EMP_LIGHT) + emp_act(50) /obj/machinery/Exited(atom/movable/AM, atom/newloc) . = ..() diff --git a/code/game/objects/empulse.dm b/code/game/objects/empulse.dm index 273eb00a0d..18180ed09c 100644 --- a/code/game/objects/empulse.dm +++ b/code/game/objects/empulse.dm @@ -14,7 +14,7 @@ if(power > 100) new /obj/effect/temp_visual/emp/pulse(epicenter) - for(var/A in spiral_range(light_range, epicenter)) + for(var/A in spiral_range(max_distance, epicenter)) var/atom/T = A var/distance = get_dist(epicenter, T) var/severity = 100 diff --git a/code/modules/antagonists/eldritch_cult/eldritch_magic.dm b/code/modules/antagonists/eldritch_cult/eldritch_magic.dm index 799667999e..44171ca758 100644 --- a/code/modules/antagonists/eldritch_cult/eldritch_magic.dm +++ b/code/modules/antagonists/eldritch_cult/eldritch_magic.dm @@ -424,8 +424,7 @@ range = -1 include_user = TRUE charge_max = 300 - emp_heavy = 6 - emp_light = 10 + power = 400 sound = 'sound/effects/lingscreech.ogg' /obj/effect/proc_holder/spell/aoe_turf/fire_cascade diff --git a/code/modules/mining/equipment/wormhole_jaunter.dm b/code/modules/mining/equipment/wormhole_jaunter.dm index ed97665603..9c503279d4 100644 --- a/code/modules/mining/equipment/wormhole_jaunter.dm +++ b/code/modules/mining/equipment/wormhole_jaunter.dm @@ -68,14 +68,11 @@ var/mob/M = loc if(istype(M)) - var/triggered = FALSE if(M.get_item_by_slot(SLOT_BELT) == src) if(prob(severity)) - - if(triggered) - M.visible_message("[src] overloads and activates!") - SSblackbox.record_feedback("tally", "jaunter", 1, "EMP") // EMP accidental activation - activate(M) + M.visible_message("[src] overloads and activates!") + SSblackbox.record_feedback("tally", "jaunter", 1, "EMP") // EMP accidental activation + activate(M) /obj/item/wormhole_jaunter/proc/chasm_react(mob/source, datum/component/chasm/C) to_chat(source, "Your [name] activates, saving you from the chasm!") diff --git a/code/modules/spells/spell_types/wizard.dm b/code/modules/spells/spell_types/wizard.dm index 14f359ef81..c95a801f0c 100644 --- a/code/modules/spells/spell_types/wizard.dm +++ b/code/modules/spells/spell_types/wizard.dm @@ -96,8 +96,7 @@ include_user = 1 cooldown_min = 200 //50 deciseconds reduction per rank - emp_heavy = 6 - emp_light = 10 + power = 400 sound = 'sound/magic/disable_tech.ogg' /obj/effect/proc_holder/spell/targeted/turf_teleport/blink