1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

show creature level

This commit is contained in:
Laserlicht
2024-09-17 22:34:09 +02:00
parent 110def5a1e
commit 6aa29ac8ee
3 changed files with 5 additions and 0 deletions

View File

@@ -101,6 +101,9 @@ std::string CGCreature::getPopupText(const CGHeroInstance * hero) const
if (settings["general"]["enableUiEnhancements"].Bool())
{
hoverName += VLC->generaltexth->translate("vcmi.adventureMap.monsterLevel.title");
hoverName += std::to_string(VLC->creatures()->getById(getCreature())->getLevel());
hoverName += VLC->generaltexth->translate("vcmi.adventureMap.monsterThreat.title");
int choice;