1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Change skill bonuses description to use name instead of identifier

This commit is contained in:
godric3
2018-10-29 20:53:13 +01:00
parent 0f1e853b4a
commit c8ba3de821

View File

@@ -46,7 +46,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 = identifier; b->description = name;
levels[level-1].effects.push_back(b); levels[level-1].effects.push_back(b);
} }