Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
16
_module/nss/qst_evilqstfull.nss
Normal file
16
_module/nss/qst_evilqstfull.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oPC;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
iResult = FALSE;
|
||||
|
||||
if (GetLocalInt(OBJECT_SELF,"TotalQuests") == 0)
|
||||
SetLocalInt(OBJECT_SELF,"TotalQuests",Random(3)+2);
|
||||
|
||||
if (GetLocalInt(oPC,GetTag(OBJECT_SELF)) < GetLocalInt(OBJECT_SELF,"TotalQuests"))
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
Reference in New Issue
Block a user