WoR_PRC8/_module/nss/quest_barb_b.nss

31 lines
906 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"
#include "prc_inc_spells"
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_BARBARIAN, GetPCSpeaker()) >= 1)
iPassed = 1;
if(GetLevelByClass(CLASS_TYPE_TOTEMIST, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
// Make sure the PC speaker has these items in their inventory
if(!HasItem(GetPCSpeaker(), "RHUN_BARBHTQ"))
return FALSE;
if((!HasItem(GetPCSpeaker(), "RHUN_RECALL_7")) == FALSE)
return FALSE;
return TRUE;
}