ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.71k stars 375 forks source link

Win/lose conditions - one particular hero against another particular hero #8575

Open Stisen1 opened 6 months ago

Stisen1 commented 6 months ago

Preliminary checks

Platform

Windows

Describe the bug

If you win AND loose the scenario conditions, you WIN the map.

In the original game you LOOSE

Save file

Attack the sorceress town with your main hero. Use summon earth elemental in order to win AND loose!

Wizard_s_Land_3_0037.zip

Additional info

No response

Stisen1 commented 6 months ago

Savefile from H2 OG

Win AND lose by resurecting titans, keep them alive until final blow with armageddon! All Dragons need to be dead before you do that of course!

WIZARDS3.zip

oleg-derevenetz commented 6 months ago

In fact, this is an edge case. fheroes2 first checks the condition for winning, and then the condition for losing, the original game apparently does the opposite - at least in this particular case. I mark this issue as a low priority.