mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 11:31:51 +00:00
Fixes turrets and makes mob AI shooting a little smarter.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//Helper proc to check if you can hit them or not.
|
||||
// Helper proc to check if you can hit them or not.
|
||||
// Will return a list of hit mobs/objects.
|
||||
/proc/check_trajectory(atom/target as mob|obj, atom/firer as mob|obj, var/pass_flags=PASSTABLE|PASSGLASS|PASSGRILLE, flags=null)
|
||||
if(!istype(target) || !istype(firer))
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user