mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fixed Tree of Knowledge component
This commit is contained in:
parent
3ba8d708f8
commit
ca6947b2cc
@ -426,7 +426,8 @@ void CRewardInfo::loadComponents(std::vector<Component> & comps,
|
||||
comps.push_back(Component(
|
||||
Component::EXPERIENCE, 0, (si32)h->calculateXp(gainedExp), 0));
|
||||
}
|
||||
if (gainedLevels) comps.push_back(Component(Component::EXPERIENCE, 0, gainedLevels, 0));
|
||||
if (gainedLevels)
|
||||
comps.push_back(Component(Component::EXPERIENCE, 1, gainedLevels, 0));
|
||||
|
||||
if (manaDiff) comps.push_back(Component(Component::PRIM_SKILL, 5, manaDiff, 0));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user