empulse using range

This commit is contained in:
Timothy Teakettle
2020-09-10 19:52:34 +01:00
parent 348341ed80
commit 58737e42b9
20 changed files with 28 additions and 27 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
desc = "This spell emplodes an area."
charge_max = 250
cooldown_min = 50
var/power = 100 //same as a 50/50 reaction of uranium and iron
var/range = 4 //same as a 50/50 reaction of uranium and iron
action_icon_state = "emp"
sound = 'sound/weapons/zapbang.ogg'
@@ -13,6 +13,6 @@
for(var/mob/living/target in targets)
if(target.anti_magic_check())
continue
empulse(target.loc, power)
empulse_using_range(target.loc, range)
return
return
+1 -1
View File
@@ -96,7 +96,7 @@
include_user = 1
cooldown_min = 200 //50 deciseconds reduction per rank
power = 400
range = 14
sound = 'sound/magic/disable_tech.ogg'
/obj/effect/proc_holder/spell/targeted/turf_teleport/blink