mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-17 20:44:33 +00:00
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
20 lines
447 B
Plaintext
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 |