mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
change MANA_PER_KNOWLEGDE to percentage
This commit is contained in:
@@ -78,7 +78,7 @@ BonusParams::BonusParams(std::string deprecatedTypeStr, std::string deprecatedSu
|
||||
type = BonusType::SIGHT_RADIUS;
|
||||
else if(deprecatedSubtype == SecondarySkill::INTELLIGENCE || deprecatedSubtypeStr == "skill.intelligence")
|
||||
{
|
||||
type = BonusType::MANA_PER_KNOWLEDGE;
|
||||
type = BonusType::MANA_PER_KNOWLEDGE_PERCENTAGE;
|
||||
valueType = BonusValueType::PERCENT_TO_BASE;
|
||||
}
|
||||
else if(deprecatedSubtype == SecondarySkill::SORCERY || deprecatedSubtypeStr == "skill.sorcery")
|
||||
|
||||
Reference in New Issue
Block a user