Generate an optimal cast order for a given encounter duration and number of targets, for a game like everquest 2 (eq2).