|
1- You can check map coord validity via DMAP files which contain all of that information.
2- A* works just fine. You'll have to write your own version of the algorythm though to take into account being able to move more than 1 space at a time (jumps) and the dmap validity.
3- Generally you pull the closest monster, if it's in attack range you attack, if it's within jump range you jump, if not you path to the monster, if there's no mobs you just pathfind to next point in your current bot route
4- You insert to dictionary when they are spawned, remove when they go off screenor die and update them when they walk
|