Imo, a rather ambiguous interpretation.
I suggest the following idea:
An attacking hero who used magic in the first round of battle is prohibited from retreating until the opponent's turn begins, and when using direct damage magic, retreating is prohibited in the first round.