mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Merge pull request #554 from dydzio0614/MagicSchoolFix
Fix magic school gold payment (bug #3043)
This commit is contained in:
commit
8b6316c8ee
@ -988,7 +988,9 @@ void CGVisitableOPH::initObj(CRandomGenerator & rand)
|
||||
info.resize(2);
|
||||
info[0].reward.primary[PrimarySkill::SPELL_POWER] = 1;
|
||||
info[1].reward.primary[PrimarySkill::KNOWLEDGE] = 1;
|
||||
info[0].limiter.resources[Res::GOLD] = 1000;
|
||||
info[0].reward.resources[Res::GOLD] = -1000;
|
||||
info[1].limiter.resources[Res::GOLD] = 1000;
|
||||
info[1].reward.resources[Res::GOLD] = -1000;
|
||||
onSelect.addTxt(MetaString::ADVOB_TXT, 71);
|
||||
onVisited.addTxt(MetaString::ADVOB_TXT, 72);
|
||||
|
Loading…
Reference in New Issue
Block a user