mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
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:
@@ -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
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user