47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName bidocvar
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 11/29/2003 5:32:16 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iRogue = GetLevelByClass(CLASS_TYPE_ROGUE, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SCOUT, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BARD, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_NINJA, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_FACTOTUM, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_ASSASSIN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_ARCTRICK, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_HANDOTWM, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_NIGHTSHADE, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_NINJA_SPY, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHADOWLORD, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHADOW_SUN_NINJA, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHADOW_THIEF_AMN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_UNSEEN_SEER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE, oPC);
|
|
|
|
// Restrict based on the player's class
|
|
/* int iPassed = 0;
|
|
if(GetLevelByClass(CLASS_TYPE_ASSASSIN, GetPCSpeaker()) >= 1)
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BLACKGUARD, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BARD, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_ROGUE, GetPCSpeaker()) >= 1))
|
|
iPassed = 1; */
|
|
if(iRogue == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|