hisss, nein! This breaks robots! You might want to call a method from the player or something like:

player.move_after_attack(origin, target)

then have the input in that method for human players. Remember, raw_input/input doesn't work for bots.