Actually set the correct states based on attacks.