MakeHeroReturnToTavernAfterDeath
Hero name
Parameter that allows ("true") the hero to return to the tavern after defeat, or prevents it ("nil").
Parameter that determines whether the hero stays in the tavern for an unlimited time, waiting for the player to hire him again (if it is not equal to 0).
For two heroes, the third parameter is 1, and for the other two, it is not specified. (I assumed that there are 2 places in the tavern).
Added 17 minutes later
Third parameter:
1, if for an unlimited time,
0, if only until the end of the week.