Moved pet target checking to the attack command, which is more live like

Also, probably a little better than attacking then backing off :P