38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName bo_chk_thieves
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 2/19/2006 1:00:40 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iRogue = GetLevelByClass(CLASS_TYPE_ROGUE, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SCOUT, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_NINJA, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_FACTOTUM, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE, oPC);
|
|
|
|
int iBardic = GetLevelByClass(CLASS_TYPE_BARD, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_VIRTUOSO, oPC);
|
|
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(iRogue >= 1)
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (iBardic >= 1))
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
|
|
return TRUE;
|
|
}
|
|
|