PGCC_PRC8/_module/nss/vtw_islearned.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

36 lines
1.3 KiB
Plaintext

//::///////////////////////////////////////////////
//:: FileName vtw_islearned
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/11/2005 1:06:57 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, GetPCSpeaker()) >= 1)
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BARD, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_HARPER, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_MONK, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_PALE_MASTER, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_DRAGON_DISCIPLE, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_SORCERER, GetPCSpeaker()) >= 1))
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_WIZARD, GetPCSpeaker()) >= 1))
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE;
}