There are more chances of winning a battle by luck then by any tantra or mantra. This is what Guru Nanak writes in babur Bani
Whomsoever the Creator would confound, He first forfeiteth his virtue. Countless pirs tried their miraculous powers to halt the Mir (Babar) as they heard of his approach. He burned ancient seats and houses strongly built and cast into dust princes after severing their heads. Yet no Mughal became blind and no magic of the pirs worked.