Update for PRC8 parity

Update for PRC8 parity.  Full compile.
This commit is contained in:
Jaysyn904
2025-02-08 14:10:00 -05:00
parent 445bed95fa
commit 00d2c183e8
25 changed files with 25 additions and 25 deletions

View File

@@ -65,7 +65,7 @@ void main()
int nLevel = util_GetLevel(oPC);
int nINT = GetAbilityScore(oPC, ABILITY_INTELLIGENCE, TRUE);
int nMaxBankedSkillPoints = max(1, 1+(nINT - 10)/2);
int nMaxBankedSkillPoints = PRCMax(1, 1+(nINT - 10)/2);
if (NWNX_Creature_GetSkillPointsRemaining(oPC) > nMaxBankedSkillPoints)
{
int nXP = GetXP(oPC);