WoR_PRC8/_module/nss/quest_pal_b.nss

28 lines
789 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
//::///////////////////////////////////////////////
//:: FileName quest_rang_b
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 2003-10-01 6:10:27 PM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_PALADIN, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
// Make sure the PC speaker has these items in their inventory
if(!HasItem(GetPCSpeaker(), "RHUN_PAL_QS"))
return FALSE;
if((!HasItem(GetPCSpeaker(), "RHUN_RECALL_5")) == FALSE)
return FALSE;
return TRUE;
}