EN4_PRC8/_module/nss/qp_ta_holyavengr.nss
Jaysyn904 b464d8da05 Initial Commit
Initial Commit [v1.32PRC8]
2025-04-03 13:38:45 -04:00

19 lines
449 B
Plaintext

#include "utl_i_sqluuid"
int StartingConditional()
{
// Get the PC who is involved in this conversation
object oPC = GetPCSpeaker();
int iQuestPoints;
iQuestPoints = SQLocalsUUID_GetInt(oPC,"QuestPoints");
// The PC must be one of the listed classes.
if (GetLevelByClass(CLASS_TYPE_PALADIN, oPC) < 1 && iQuestPoints < 31)
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}