UPD: Problem solved. After poking around in the mod, I figured out which lines are responsible for what and attached the archdevil's TP effect (the vampire TP doesn't look great due to the long cast time); I can send it over if anyone needs it.
P.S. Since I've started, a new problem has arisen - I want to add a new ability - something like the deadly strike from Heroes 3 (double damage) where additional fire damage is dealt (the animation can be taken from the demon lord's "hellfire"). Looking for someone who can help me figure this out. Thanks in advance.