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,36 @@
void main()
{
object oHench;
object oPC;
int iFlag;
int iDifficulty;
int iIndex;
oPC=GetPCSpeaker();
iFlag = 0;
iIndex = 1;
while (iIndex < 5)
{
oHench = GetHenchman(oPC,iIndex);
if (GetTag(oHench) == GetLocalString(oPC,"QuestEscort"))
{
iFlag = 1;
RemoveHenchman(oPC,oHench);
AssignCommand(oHench,ClearAllActions());
}
iIndex++;
}
if (iFlag == 1)
{
iDifficulty = GetLocalInt(oPC,"QuestDifficulty");
iDifficulty++;
SetLocalInt(oPC,"QuestDifficulty",iDifficulty);
}
ExecuteScript("qst_checkdone",OBJECT_SELF);
}