Files
CHOMPStation2/code/modules/spells/aoe_turf/disable_tech.dm
2017-03-05 12:22:45 -06:00

25 lines
613 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