Author Dave Rudden intended for the characters in the story to represent the archetypes of "the Doctor" and "the Master" rather than any specific incarnations. However, the Fifth Doctor's appearance is confirmed by the art illustration, and, as Rudden has acknowledged, the description of the Master as having a goatee and "sharp, angular features" matches the Roger Delgado incarnation of the Master.[1]
Continuity
The Master, while posing as "the Doctor", uses the phrase, "please attend carefully", (TV: Logopolis) a phrase he had been thinking of using on a previous occasion. (COMIC: The Heralds of Destruction)
According to one account, the Master had the appearance of Roger Delgado while on Gallifrey. According to another, he had Anthony Ainley's likeness. According to another one, the one with James Dreyfus's appearance was the incarnation who ran away from Gallifrey.
While fighting to extend his life at the end of his regeneration cycle, many bodies were possessed by the Beevers incarnation, but all kept somehow reverting to his real being until he finally regenerated into the MacQueen one. Hence, these sections cannot be strictly chronological