1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fixed values for some of stack experience bonuses.

TODO: Move 0-level bonuses from CREXPBON.txt to wog mod.
This commit is contained in:
DjWarmonger 2013-10-12 18:23:01 +00:00
parent 585024e763
commit cc505ce935

View File

@ -1015,7 +1015,10 @@ void CCreatureHandler::loadStackExp(Bonus & b, BonusList & bl, CLegacyConfigPars
}
else
{
lastVal = parser.readNumber(); //basic value, not particularly useful but existent
lastVal = parser.readNumber();
if (b.type == Bonus::HATE)
lastVal *= 10; //odd fix
//FIXME: value for zero level should be stored in our config files (independent of stack exp)
for (int i = 1; i < 11; ++i)
{
curVal = parser.readNumber();