Added Attack Order

added an attack order function that gets called when determining speed