Skip to content

[ANNOUNCEMENT] Heroes 3: World Tournament - an add-on for tournament games.

#498
Auto-translated
"pHOMM"
Ivor, good to see you!
You didn't even ask for my help. Well, at least I wrote the scripts for diplomacy... and that's a big help.
Thanks for the build, we'll test it!

By the way, a question arose - prisons are removed, and it turns out the guards remain? Maybe something should be placed instead of the prison? You could randomly generate an artifact from the corresponding class based on the hero's level: 1 treasure for level 1, 5 - minor, 10 major, 20 relic, or from 1-5 treasure, 10 minor, 20 major.

Thanks for your help!
I left your method for buying off neutrals. I fixed the bug with subtracting extra gold by saving the amount before the battle and subtracting it after the bribe. But I left my calculation of the bribe cost so as not to duplicate it.

Prisons are removed because replacing the hero causes the game to crash. I haven't found a way to correctly replace them.
The absence of a prison is still much better than an empty one.

You can replace it with an artifact; write a function for it when you have time.