Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
#include "utl_i_sqluuid"
void main()
{
int iRandom;
int iMax;
int iLastQuest;
iMax = 13;
iRandom = Random(iMax)+1;
iLastQuest = GetLocalInt(GetPCSpeaker(),"LastQuest");
if (iRandom == iLastQuest)
{
iRandom++;
if (iRandom > iMax)
iRandom = 1;
}
//Lvl 40 characters should get the main questline until finished.
if (SQLocalsUUID_GetInt(GetPCSpeaker(),"OverallQuest") < 4 && GetHitDice(GetPCSpeaker()) > 39)
iRandom =11;
SetLocalInt(OBJECT_SELF,"RandomStep",iRandom);
}