Standardizes projectile speed (#19308)

This commit is contained in:
I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE
2018-08-14 08:43:25 -03:00
committed by jknpj
parent 08c2700f6f
commit ee0f43d80c
10 changed files with 25 additions and 57 deletions

View File

@@ -61,11 +61,11 @@
anchored = 1
grillepasschance = 0
mouse_opacity = 1
projectile_speed = 1.33
var/clongSound = 'sound/effects/bang.ogg'
/obj/item/projectile/immovablerod/New(atom/start, atom/end)
..()
step_delay = round(0.5, world.tick_lag)
if(end)
throw_at(end)
@@ -110,8 +110,6 @@
qdel(src)
/obj/item/projectile/immovablerod/bresenham_step(var/distA, var/distB, var/dA, var/dB)
if(step_delay)
sleep(step_delay)
if(error < 0)
var/atom/newloc = get_step(src, dB)
if(!newloc)