mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix description of skill-based bonuses
This commit is contained in:
parent
9565cae3cb
commit
5fa69dcf2f
@ -103,7 +103,7 @@ void CSkill::addNewBonus(const std::shared_ptr<Bonus> & b, int level)
|
|||||||
b->source = Bonus::SECONDARY_SKILL;
|
b->source = Bonus::SECONDARY_SKILL;
|
||||||
b->sid = id;
|
b->sid = id;
|
||||||
b->duration = Bonus::PERMANENT;
|
b->duration = Bonus::PERMANENT;
|
||||||
b->description = getNameTextID();
|
b->description = getNameTranslated();
|
||||||
levels[level-1].effects.push_back(b);
|
levels[level-1].effects.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user