Files
CHOMPStation2/code/modules/spells/aoe_turf/disable_tech.dm
CHOMPStation2StaffMirrorBot 65f21fb1d3 [MIRROR] end of file Fix (#10355)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-11 17:58:14 +01:00

26 lines
614 B
Plaintext

/spell/aoe_turf/disable_tech
name = "Disable Tech"
desc = "This spell disables all weapons, cameras and most other technology in range."
charge_max = 400
spell_flags = NEEDSCLOTHES
invocation = "NEC CANTIO"
invocation_type = SpI_SHOUT
selection_type = "range"
range = 0
inner_radius = -1
cooldown_min = 200 //50 deciseconds reduction per rank
var/emp_heavy = 3
var/emp_med = 5
var/emp_light = 8
var/emp_long = 10
hud_state = "wiz_tech"
/spell/aoe_turf/disable_tech/cast(list/targets)
for(var/turf/target in targets)
empulse(get_turf(target), emp_heavy, emp_med, emp_light, emp_long)
return