“LEAP” is mapped (hardcoded) to a leap attack function.
5 is the cooldown.
It all happens in monstergenerator.cpp
If you want to add a new attack, you need to add a function for it in monattack.h and .cpp and a mapping in monstergenerator.cpp. That’s all from the code side, rest is just adding it to monsters.