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