Files
VOREStation/code/datums/spells/disable_tech.dm
uporotiy a823bb42cf Object Spell System v1.04
Fixed a few bugs. v1.1 will involve reworking the classes because disintegrate being only a few var-edits away from heal is silly.
 Admin-controlled objects now pass through dense things if they themselves aren't dense.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1419 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-08 18:37:25 +00:00

20 lines
447 B
Plaintext

/obj/spell/disable_tech
name = "Disable Tech"
desc = "This spell disables all weapons, cameras and most other technology in range."
charge_max = 400
clothes_req = 1
invocation = "NEC CANTIO"
invocation_type = "shout"
var/emp_heavy_radius = 5
var/emp_light_radius = 7
/obj/spell/disable_tech/Click()
..()
if(!cast_check())
return
invocation()
empulse(usr.loc, src.emp_heavy_radius, src.emp_light_radius)
return