You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fheroes2, optimize the hero's path, taking into account the destination reached on the next turn.
In the example, the hero will reach the gems mine the following turn.
For the hero's path, for the current day (green arrows), we can see that the hero's last step is taken horizontally.
On the following turn, we can see that the hero will make a diagonal move to reach the gems mine (the last step to reach the brown cross).
If the proposed path is followed, the next turn the hero will have 1050 movement points left when he reaches the gems mine.
Now, if the path is optimized by making a diagonal move for the hero's last step, the hero will have 1100 movement points left when he reaches the gems mine.
Hi @LeHerosInconnu , does the original game have this logic? If not let's not to micro-optimizations for the sake of a perfect gameplay.
I thought we wanted to make fheroes2 better than the original game.
The player would concentrate on the strategy to be deployed and enjoy the pleasure of playing, rather than being forced to optimize the movement of his heroes with each action to be performed and at the same time increasing the game time and manipulations required to achieve it (for example, splitting the hero's displacement instead of a single and simple action to be performed).
Preliminary checks
Describe the problem requiring a solution
In fheroes2, optimize the hero's path, taking into account the destination reached on the next turn.
In the example, the hero will reach the gems mine the following turn.
For the hero's path, for the current day (green arrows), we can see that the hero's last step is taken horizontally.
On the following turn, we can see that the hero will make a diagonal move to reach the gems mine (the last step to reach the brown cross).
If the proposed path is followed, the next turn the hero will have 1050 movement points left when he reaches the gems mine.
Now, if the path is optimized by making a diagonal move for the hero's last step, the hero will have 1100 movement points left when he reaches the gems mine.
In fheroes2:
Default path, 1050 movement points left.
Optimized path, 1100 movement points left.
Here is the save file:
Path optimize 01.zip
Describe the possible solution
Optimize the hero's path, taking into account the destination reached on the next turn.
Additional info
No response
The text was updated successfully, but these errors were encountered: