mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
introduce getModScope
method toEntity
class and subclasses
This commit is contained in:
@ -64,6 +64,11 @@ std::string CSkill::getJsonKey() const
|
||||
return modScope + ':' + identifier;
|
||||
}
|
||||
|
||||
std::string CSkill::getModScope() const
|
||||
{
|
||||
return modScope;
|
||||
}
|
||||
|
||||
std::string CSkill::getDescriptionTextID(int level) const
|
||||
{
|
||||
TextIdentifier id("skill", modScope, identifier, "description", NSecondarySkill::levels[level]);
|
||||
|
Reference in New Issue
Block a user