makes tesla not favor the east as much i think idk tbh fam ttyl

posi vibes
This commit is contained in:
Iamgoofball
2017-01-24 10:54:02 -08:00
committed by GitHub
parent ac961bb078
commit 7448cb495b
+1 -3
View File
@@ -81,10 +81,8 @@ var/list/blacklisted_tesla_types = typecacheof(list(/obj/machinery/atmospherics,
/obj/singularity/energy_ball/proc/move_the_basket_ball(var/move_amount)
//we face the last thing we zapped, so this lets us favor that direction a bit
var/first_move = dir
for(var/i in 0 to move_amount)
var/move_dir = pick(alldirs + first_move) //give the first move direction a bit of favoring.
var/move_dir = pick(alldirs)
if(target && prob(60))
move_dir = get_dir(src,target)
var/turf/T = get_step(src, move_dir)