- mercs increase their stats more actively while at home or at non-player job. as a result - stats gain and even experience level sometimes.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@459 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Lesh
2006-08-22 17:25:28 +00:00
parent f8582530ab
commit 5acef85aee
+4 -2
View File
@@ -1101,8 +1101,9 @@ void HandleUnhiredMercImprovement( MERCPROFILESTRUCT *pProfile )
// if he's working on another job
if (pProfile->bMercStatus == MERC_WORKING_ELSEWHERE)
{
// Lesh: changed chance from 20 to 70
// if he did't do anything interesting today
if (Random(100) < 20)
if (Random(100) < 70)
{
// no chance to change today
return;
@@ -1114,7 +1115,8 @@ void HandleUnhiredMercImprovement( MERCPROFILESTRUCT *pProfile )
// 80 wisdom gives 8 rolls per stat per day, 10 stats, avg success rate 40% = 32pts per day,
// so about 10 working days to hit lvl 2. This seems high, but mercs don't actually "work" that often, and it's twice
// as long to hit level 3. If we go lower, attribs & skills will barely move.
usNumChances = ( pProfile->bWisdom / 10 );
// Lesh: changed wisdom divided by 7 insead of 10
usNumChances = ( pProfile->bWisdom / 7 );
for (ubStat = FIRST_CHANGEABLE_STAT; ubStat <= LAST_CHANGEABLE_STAT; ubStat++)
{
ProfileStatChange( pProfile, ubStat, usNumChances, FALSE );