mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
cleaned it up a bit
This commit is contained in:
@@ -69,10 +69,8 @@
|
||||
stamina = max(0, stamina - tile_dropoff_s) // as above, but with stamina
|
||||
if(range <= 0 && loc)
|
||||
on_range()
|
||||
if(!damage && !stamina)
|
||||
if(tile_dropoff || tile_dropoff_s) // does the projectile have falloff to start with
|
||||
on_range()
|
||||
|
||||
if(!damage && !stamina && (tile_dropoff || tile_dropoff_s))
|
||||
on_range()
|
||||
|
||||
/obj/item/projectile/proc/on_range() //if we want there to be effects when they reach the end of their range
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user