1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Merge pull request #4812 from SoundSSGood/secSkillPlace

[Hota] SeafaringAcademy. Initial PR
This commit is contained in:
Ivan Savenko
2024-10-30 13:33:39 +02:00
committed by GitHub
39 changed files with 417 additions and 370 deletions

View File

@ -45,7 +45,12 @@ int32_t CSkill::getIndex() const
int32_t CSkill::getIconIndex() const
{
return getIndex(); //TODO: actual value with skill level
return getIndex() * 3 + 3; // Base master level
}
int32_t CSkill::getIconIndex(uint8_t skillMasterLevel) const
{
return getIconIndex() + skillMasterLevel;
}
std::string CSkill::getNameTextID() const