Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
18
_module/nss/qp_ta_holyavengr.nss
Normal file
18
_module/nss/qp_ta_holyavengr.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user