Nerfs telekinesis (#18177)

* tk nerfed from .3 to 3 seconds

* Update telekinesis.dm

* removes those (), I didn't need em
This commit is contained in:
GDN
2022-07-03 13:25:09 +01:00
committed by GitHub
parent bfdce2966a
commit da94f63251
+5 -3
View File
@@ -4,7 +4,7 @@
This needs more thinking out, but I might as well.
*/
#define TK_MAXRANGE 15
#define TK_COOLDOWN 1.5 SECONDS
/*
Telekinetic attack:
@@ -101,10 +101,10 @@
afterattack(target, user)
return TRUE
/obj/item/tk_grab/afterattack(atom/target , mob/living/user, proximity, params)//TODO: go over this
/obj/item/tk_grab/afterattack(atom/target , mob/living/user, proximity, params)
if(!target || !user)
return
if(last_throw+3 > world.time)
if(last_throw + TK_COOLDOWN > world.time)
return
if(!host || host != user)
qdel(src)
@@ -197,3 +197,5 @@
overlays.Cut()
if(focus && focus.icon && focus.icon_state)
overlays += icon(focus.icon,focus.icon_state)
#undef TK_COOLDOWN