19 lines
449 B
Plaintext
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;
|
|
}
|