TravisGesslein / idleraiders-second-run

Bug-tracking repository for the Idle Raiders re-release (codenamed '2nd run')
4 stars 0 forks source link

Recalculate target on spawn event #815

Open kbsoftwarellc opened 5 years ago

kbsoftwarellc commented 5 years ago

I've had this issue a lot.. I walk on to a map while pushing.. 1 mob on the map far side... then all my raiders walk to that one and the spawn event happens.. and they just walk through like 15 monsters ignoring them trying to get to the one on the other side of the map... and often die

My thought is on farm map respawn event it would force raiders to re-calculate what the closest target is.

kbsoftwarellc commented 5 years ago

I guess more specifically it should calculate nearest target only when it hasn't currently engaged its current target. Otherwise they might be switching targets constantly instead of focusing the mob they were fighting.