36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
int iBard = GetLevelByClass(CLASS_TYPE_BARD, oPC)
|
||
|
+ GetLevelByClass(CLASS_TYPE_DIRGESINGER, oPC)
|
||
|
+ GetLevelByClass(CLASS_TYPE_DRAGONSONG_LYRIST, oPC)
|
||
|
+ GetLevelByClass(CLASS_TYPE_SUBLIME_CHORD, oPC)
|
||
|
+ GetLevelByClass(CLASS_TYPE_VIRTUOSO, oPC);
|
||
|
|
||
|
// Restrict based on the player's class
|
||
|
int iPassed = 0;
|
||
|
if(iBard >= 1)
|
||
|
iPassed = 1;
|
||
|
if(iPassed == 0)
|
||
|
return FALSE;
|
||
|
|
||
|
// Make sure the PC speaker has these items in their inventory
|
||
|
if(!HasItem(GetPCSpeaker(), "RHUN_BARDQS1"))
|
||
|
return FALSE;
|
||
|
if((!HasItem(GetPCSpeaker(), "RHUN_RECALL_2")) == FALSE)
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE;
|
||
|
}
|