mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Fix: the game had inconsistent handling of maximum XP level. At some points it was 9, at others it was 10. Now it is 10 throughout the code.
New parameters in DifficultySettings.xml: - LevelModifierLowLimit - LevelModifierHighLimit - AllowUnrestrictedXPLevels git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8052 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -796,7 +796,7 @@ void RandomizeMerc(UINT8 profile_id, MERCPROFILESTRUCT* merc, BOOL random_gear_k
|
||||
memset(merc->bSkillTraits, 0, sizeof(merc->bSkillTraits));
|
||||
|
||||
//determine character level and points (absolute maximum = 666 points)
|
||||
merc->bExpLevel = Random(9) + 1;
|
||||
merc->bExpLevel = Random(10) + 1;
|
||||
INT16 points = 300 + (merc->bExpLevel * 10) + Random(20);
|
||||
|
||||
//determine roles and traits
|
||||
|
||||
Reference in New Issue
Block a user