Reworks empulse and emp_act

This commit is contained in:
Anewbe
2017-03-05 12:22:45 -06:00
parent 3f9d6d8b50
commit 19710d9bd8
42 changed files with 274 additions and 83 deletions

View File

@@ -11,13 +11,15 @@
cooldown_min = 200 //50 deciseconds reduction per rank
var/emp_heavy = 6
var/emp_light = 10
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_light)
empulse(get_turf(target), emp_heavy, emp_med, emp_light, emp_long)
return

View File

@@ -432,4 +432,4 @@
/obj/item/weapon/spellbook/oneuse/charge/recoil(mob/user as mob)
..()
user <<"<span class='warning'>[src] suddenly feels very warm!</span>"
empulse(src, 1, 1)
empulse(src, 1, 1, 1, 1)