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

Stack experience more or less handled. Neutrals get 10K xp every day.

This commit is contained in:
DjWarmonger
2011-02-13 13:11:09 +00:00
parent 252cee96f5
commit a5a493bfc1
4 changed files with 14 additions and 3 deletions

View File

@@ -441,7 +441,7 @@ int CStackInstance::getQuantityID() const
int CStackInstance::getExpRank() const
{
int tier = type->level;
if (isbetw(tier, 1, 7))
if (iswith(tier, 1, 7))
{
for (int i = VLC->creh->expRanks[tier].size()-2; i >-1; --i)//sic!
{ //exp values vary from 1st level to max exp at 11th level