The mission script does not control how the DV shifts directly. If the mission is successful, the DV will change by 1 in favour of the player, if the mission is a failure, it will shift by 1 in the opposite direction, if it is a draw, no change. The mission result is controlled by the script, but not the DV change. This of course is when running with the flatfile.
Under SQL its a different story.