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
This commit is contained in:
uporotiy
2011-04-08 18:37:25 +00:00
parent 63f86a27d0
commit a823bb42cf
4 changed files with 19 additions and 9 deletions
+5 -4
View File
@@ -1,11 +1,12 @@
/obj/spell/disable_tech
name = "Disable Tech"
desc = "This spell disables all weapons, cameras and most other technology in range and doesn't require wizard garb."
desc = "This spell disables all weapons, cameras and most other technology in range."
charge_max = 400
clothes_req = 1
invocation = "NEC CANTIO"
invocation_type = "whisper"
range = 7
invocation_type = "shout"
var/emp_heavy_radius = 5
var/emp_light_radius = 7
/obj/spell/disable_tech/Click()
..()
@@ -15,5 +16,5 @@
invocation()
empulse(src, (range-2), range)
empulse(usr.loc, src.emp_heavy_radius, src.emp_light_radius)
return
+1 -1
View File
@@ -10,7 +10,7 @@
range = -1 //can affect only the user by default, but with var editing can be a teleport other spell
var/smoke_spread = 1 //if set to 0, no smoke spreads when teleporting
/obj/spell/blink/Click()
/obj/spell/teleport/Click()
..()
if(!cast_check())