Antimatter now innacurate without zooming. Sniper projectiles are faster / pass through weak stuff. (#22506)

* I should port the sniper rifle bot from blood blockade battlefront

* fuck that a

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* variable on bullet

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2023-10-03 12:10:55 -04:00
committed by GitHub
parent fe90da76cf
commit 73df3fcf14
5 changed files with 30 additions and 14 deletions
+4 -2
View File
@@ -399,8 +399,10 @@
qdel(src)
/obj/structure/girder/CanPass(atom/movable/mover, turf/target, height=0)
if(height==0)
return 1
if(!height)
return TRUE
if(istype(mover) && mover.checkpass(PASSGIRDER))
return TRUE
if(istype(mover) && mover.checkpass(PASSGRILLE))
return prob(girderpasschance)
else