Use isOpponent() instead of testing manually.