mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Standardizes projectile speed (#19308)
This commit is contained in:
committed by
jknpj
parent
08c2700f6f
commit
ee0f43d80c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user