fix bug with nil map
add hate-flags to mobs for testing
change GetTarget func