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.68k stars 373 forks source link

Meeting screen, hero's necromancy level is incorrectly displayed in the meeting screen with the Spade of Necromancy artifact #8436

Open LeHerosInconnu opened 6 months ago

LeHerosInconnu commented 6 months ago

Preliminary checks

Describe the problem requiring a solution

In fheroes2, the hero's necromancy level is incorrectly displayed in the meeting screen with the Spade of Necromancy artifact (on the small necromacy icon).

In fheroes2:

Spade necro skill 02

The number "2" is indicated, whereas it would be preferable to indicate "2+1".

So, display:

"2+1", or "2 + 1" for more visual clarity

Instead of:

"2"

I haven't tested this with the Shrine building of the Necromancer's castle, which also brings an extra 10% (one more level) when built. The maximum indicated should be "3+7", which corresponds to a maximum of 100% of "enlisted" creatures in skeleton form (including Spade of Necromancy and Shrines).

In fheroes2:

Spade necro skill 01

https://github.com/ihhub/fheroes2/assets/43583994/441ec987-99df-4ebd-9caf-6e6dde4441de

Here is the save file: Spade necro skill 01.zip

Describe the possible solution

In fheroes2:

Spade necro skill 02

The number "2" is indicated, whereas it would be preferable to indicate "2+1".

So, display:

"2+1", or "2 + 1" for more visual clarity

Instead of:

"2"

Additional info

No response

oleg-derevenetz commented 6 months ago

As far as I understand, there is simply not enough space for a long line, because the skull itself takes up a lot of space vertically - except for variant with superimposing the line on the skull itself, which will look sloppy.