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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user