fheroes2
fheroes2 copied to clipboard
Adventure map, Town Portal and Town Gate spells should be displayed in the magic book when the hero is in a boat
Preliminary checks
- [X] I've checked that there aren't other open issues on the same topic.
- [X] I've checked that this issue is reproducible on the latest snapshot build.
Platform
Windows
Describe the bug
In fheroes2, the Town Portal and Town Gate spells should be displayed in the magic book when the hero is in a boat. This is the case in the original game.
In original game:
In fheroes2:
Save file
Here is the test scenario file: 0 9956e.zip
Additional info
Version 0.9.19
And how should those spells behave when you're in a boat @LeHerosInconnu? I think that we are currently hiding those spells because the hero is not allowed to use then while in a boat.
Hello @felix642,
And how should those spells behave when you're in a boat @LeHerosInconnu? I think that we are currently hiding those spells because the hero is not allowed to use then while in a boat.
In the original game, when the hero tries to cast one of the Town Portal or Town Gate spells while in a boat, this message is displayed:
In fheroes2, when the hero at land tries to cast the Summon Boat spell while is he not adjacent to sea, this message is displayed:
In fheroes2, when the hero tries to cast the Summon Boat spell when he is already in a boat, this message is displayed:
In fheroes2, when the hero tries to cast one of the spells Town Portal or Town Gate while he is in a boat, this message could be displayed:
"This spell can be casted only on land."
There is also a discussion for spells that cannot be cast for any reason, the text to be grayed out in the magic book with an explanation in the spell information window displayed with the right click: https://github.com/ihhub/fheroes2/discussions/4845.
I'd like the take a stab at this one.