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