killmeplease
Mk Z on Steam
Hello!
Its appeared that i need to edit this function in order to scale some unit's levels progress with a map size.
But what i've found there:
seems that it calls for python function. i searched civ folder for python files that contain getExperienceNeeded string but i've found nothing. and comments confuse me strongly: "Use python to determine pillage amounts"
What in the hell "pillage amounts" is? and how its related to experience?
Please help!

Its appeared that i need to edit this function in order to scale some unit's levels progress with a map size.
But what i've found there:
Code:
int CvUnit::experienceNeeded() const
{
// Use python to determine pillage amounts...
int iExperienceNeeded;
long lExperienceNeeded;
lExperienceNeeded = 0;
iExperienceNeeded = 0;
CyArgsList argsList;
argsList.add(getLevel()); // pass in the units level
argsList.add(getOwnerINLINE()); // pass in the units
gDLL->getPythonIFace()->callFunction(PYGameModule, "getExperienceNeeded", argsList.makeFunctionArgs(),&lExperienceNeeded);
iExperienceNeeded = (int)lExperienceNeeded;
return iExperienceNeeded;
}

Please help!
