prioritize attak move over idle
added testcase for pruning