Illusions from units cannot be created under the effect of anti-magic=(
But perhaps against Haven, only anti-magic is effective; in other cases, buffs are more useful.
However, I would still like to note that strength, luck, and speed are equally effective for both ranged and melee units, and not just the latter.

Барон "Vampires"
Отдай свои прошлые сны,
В сомненьях себя обрети,
В бешеном танце душа кружится!
Не думай, что будет потом,
Здесь и сейчас мы живем,
Стань хоть на миг сам собой, слышишь!