spiritual magic was also part of the treatise as shown here
"""""""""""""""Sakyant has been existing before Sukhothai but evidence became visible in the era of King Naresuan the Great because it was a period of losing out the land whereby soldiers and ordinary people tried to find protective talisman to guard themselves, even the King himself who had been clean from the tattoo but existed in the part of Buddhist Supreme Patriarch, called Somdej Prawannarat, at Wat Pah Kaew who took care of checking the auspicious time for sacred rites and rituals in that age, including accommodating the treatise on war strategy fortune (Pichai Songkram), auspices for battling, beating enemy camps/quarters, as well as conducting numerous sacred worships to earn the victory and fortifying the fortune of Pichai Songkram that lasts until today.
Sakyant was evidently revealed during the post era of losing Krungsri Ayudhaya, i.e. Bang Rajan period, whereby the peasants did their best to protect their homeland with the help of Pra-Acharn Dhammachote, from the monastic side. He is a monk who is a giver, sacrifices in every battling with Burma he blessed and granted talisman, ta-grood (a tiny rolled metal amulet inscribed with magic words), amulets to all classes of villagers and most of them also had Sakyant, apply magic oil to be tough and invulnerable. This made the Burmese army leaders surprised how come such a small group of Bang Rajan peasants was brave to fight against the big force of Burma soldiers.
Sakyant in the era of Krung Ratanakosin emerged in the Royal family of Krom Luang Chomporn (note that Krom Luang is Prince of the third class) or known as Sadej Tia. Krom Luang Chomporn was the great student of Luang Pu Sook from Wat Pak Klong Makharmtao. He studied astrology, magic spell, and magic cure/treatment until he became highly skillful and able to cast a spell on things as he wished, such as changing a leaf to become a hornet, changing a human to become a crocodile and also changing the destiny according to the hoary practice.""""""""""""""""""