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

@@ -425,7 +425,7 @@ void chr_OnRest(object oPC, int nRestEvent)
}
NWNX_Object_SetCurrentHitPoints(oPC,
min(GetMaxHitPoints(oPC), GetLocalInt(oPC, CHR_REST_VAR_HITPOINTS_BEFORE_REST) + 5 + GetHitDice(oPC)));
PRCMin(GetMaxHitPoints(oPC), GetLocalInt(oPC, CHR_REST_VAR_HITPOINTS_BEFORE_REST) + 5 + GetHitDice(oPC)));
RemoveBlackScreen(oPC);
DeleteLocalInt(oPC, CHR_REST_VAR_REST_CANCELLED_BY_SCRIPT);