32 lines
878 B
Plaintext
32 lines
878 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName quest_rang_a
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 2003-10-01 5:59:38 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_tool"
|
|
#include "prc_inc_spells"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iMonk = GetLevelByClass(CLASS_TYPE_MONK, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SWORDSAGE, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SOHEI, oPC);
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(iMonk >= 1)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
// Make sure the PC speaker has these items in their inventory
|
|
if((!HasItem(GetPCSpeaker(), "RHUN_RECALL_4")) == FALSE)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|