mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
fix gold check for School of War
This commit is contained in:
parent
37d1e1e748
commit
b030a88ca5
@ -1007,7 +1007,9 @@ void CGVisitableOPH::initObj(CRandomGenerator & rand)
|
||||
info.resize(2);
|
||||
info[0].reward.primary[PrimarySkill::ATTACK] = 1;
|
||||
info[1].reward.primary[PrimarySkill::DEFENSE] = 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, 158);
|
||||
onVisited.addTxt(MetaString::ADVOB_TXT, 159);
|
||||
|
Loading…
x
Reference in New Issue
Block a user