Fixed rest menu & alignment changer

Fixed rest menu & alignment changer.  Updated release archive.
This commit is contained in:
Jaysyn904
2023-11-17 21:54:26 -05:00
parent f8f1413d0c
commit a203d11310
18 changed files with 18069 additions and 99 deletions

View File

@@ -1,11 +1,16 @@
void main()
{
object oPC = GetPCSpeaker();
object oPC = GetPCSpeaker();
//Tell the OnPlayerRest Event Script we can rest...
SetLocalInt(oPC, "REST_STARTED", 1);
int iHD = GetHitDice(oPC);
//Make the PC start the XP2 Rest system..
AssignCommand(oPC, ActionRest(TRUE));
float fDelay = 10.5 + (IntToFloat(iHD)/2);
//Tell the OnPlayerRest Event Script we can rest...
SetLocalInt(oPC, "REST_STARTED", 1);
//Make the PC start the XP2 Rest system..
AssignCommand(oPC, ActionRest(TRUE));
DelayCommand(fDelay, SetLocalInt(oPC, "REST_STARTED", 0));
}