Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
39
_module/nss/qst_c_findonmob.nss
Normal file
39
_module/nss/qst_c_findonmob.nss
Normal file
@@ -0,0 +1,39 @@
|
||||
#include "sql_db_partywide"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
int iQuest;
|
||||
int iStep;
|
||||
int iVariance;
|
||||
int iOrb;
|
||||
int iOverallQuest;
|
||||
object oPC;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
iQuest = GetLocalInt(oPC,"Quest");
|
||||
iStep = GetLocalInt(oPC,"QuestStep");
|
||||
iVariance = GetLocalInt(oPC,"QuestVariance");
|
||||
iOrb = GetLocalInt(oPC,"OrbQuest");
|
||||
iOverallQuest = SQLocalsUUID_GetInt(oPC,"OverallQuest");
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
/* Old code but couldn't figure out why just variance 0 and 2 so changed to all
|
||||
if (iQuest == 7 && iStep == 1 && (iVariance == 0 || iVariance == 2))
|
||||
iResult = TRUE;
|
||||
*/
|
||||
if (iQuest == 7 && iStep == 1)
|
||||
iResult = TRUE;
|
||||
|
||||
if (iQuest == 5 && iOrb == 1)
|
||||
iResult = TRUE;
|
||||
|
||||
if (iQuest == 11 && iOverallQuest == 1)
|
||||
iResult = TRUE;
|
||||
|
||||
if (iQuest == 13 && iStep == 1)
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
Reference in New Issue
Block a user