Martha, hello. Why haven't you been around for a few months? I visit the forum at least twice a week due to my duties. It's not very convenient to understand code on a phone; I'll take a look on my computer tomorrow evening.
I'll say this right away: if two heroes with attached combat scripts meet in battle, the combat script of the attacking hero is used.
Auto-translated