1
0
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:
Kris-Ja
2024-03-23 19:57:56 +01:00
parent 6381a6f601
commit 05bbb45824
9 changed files with 13 additions and 13 deletions

View File

@@ -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")