Added 13 hours and 59 minutes ago
so, the most important question for today remains:
And how to handle attaching a battlescript to a hero? The thing is, I would like to be able to recruit such a hero, let's say, in a tavern, but in this case, he appears on the map without the attached script and loses his functions.
Is there a function that, if such a hero appears on the map, automatically attaches the battlescript to him? Or is there another way?